portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error! why?
Date Thu, 30 Jul 2009 14:48:14 GMT

    [ https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737121#action_12737121

Woonsan Ko commented on JS2-1047:

Hi Hongkunan, 

I'm sorry for the wrong information. I didn't mention j2-admin SNAPSHOT dependency as well.
I don't know the reason why it fails exactly, but I'm just suspicious on snapshot updatePolicy
of the repositories.

Anyway, here's my execution steps to build the installer from the trunk:

1. Check out two projects:

$ svn checkout http://svn.apache.org/repos/asf/portals/jetspeed-2/portal/trunk jetspeed-2
$ svn checkout http://svn.apache.org/repos/asf/portals/jetspeed-2/applications/j2-admin/trunk

2. Edit jetspeed-2/pom.xml and j2-admin/pom.xml.

Open each pom.xml and add the following fragment inside every <repository> tag:


For example, I added the above fragment in one <repository> tag of jetspeed-2/pom.xml
like the following:

      <name>Apache Portals Staging Repository For Pluto 2.0.0</name>

3. Now build all.

$ cd jetspeed-2
$ mvn install
$ cd ../j2-admin
$ mvn install
$ cd ../jetspeed-2/jetspeed-installer
$ mvn org.apache.portals.jetspeed-2:jetspeed-mvn-maven-plugin:mvn -Dtarget=installer-demo

If it succeeds, you can find the installer jar file here: jetspeed-2/jetspeed-installer/target/jetspeed-installer-demo-2.2.1-SNAPSHOT.jar.

The above build steps work for me, but if anybody can point out the exact reason and suggest
the best practice with the current jetspeed-trunk development, it would be appreciated. (I
don't think it's good to edit those poms locally.)
Thank you so much for your spending time for this.

Kind regards,


> install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?
> --------------------------------------------------------------------------------
>                 Key: JS2-1047
>                 URL: https://issues.apache.org/jira/browse/JS2-1047
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>         Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
>            Reporter: hongkunan
>            Assignee: Woonsan Ko
>             Fix For: 2.2.1
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database
use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> 	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}"
src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no"

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message