You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by dee factorial <de...@gmail.com> on 2006/11/13 19:20:15 UTC

Jetspeed build source repository errors

I have been trying to build the Jespeed 2  from the source repository. I
have run into a dead end.
First I cleaned my previous tries to build.
1.droped the database.
2.recreated the database.
3.deleted the wars and expanded wars in the tomcat dir
4.deleted the checked out cvs source.

Then I started the build process over
1. I checked out the source using subversion for eclipse.
2. I ran the maven initMavenPlugin command, Build Successfull
3. I ran the maven allClean allBuild command, Build Successfull
4. I ran the maven j2:quickStart command, Build Failed

This is where I have problems.

The error is:
BUILD FAILED
File...... C:\Documents and Settings\Administrator\.maven\cache\maven-
jetspeed2-plugin-2.1-dev\plugin.jelly
Element... copy
Line...... 526
Column.... 28
Warning: Could not find file C:\Documents and
Settings\Administrator\.maven\repository\portal\wars\rhythmicearth-1.0.warto
copy.

Somehow it seems as though the allBuild command didn't complete correctly.
I checked to see if the rhythmicearth-1.0.war was in that folder and it
wasn't so I tried to see if I could find the rhythmicearth-1.0.war anywhere.
it isn't on my system. Then I check the target dir where the build process
built a lot of the files, there is a jetspeed.war file located in the target
dir. Since that was the only war that I could find I thought it might be the
one so I copied and renamed it to that dir and finished the build process
but when it deployed jetspeed on tomcat, I got a Jetspeed initialization
error. I checked the jetspeed.properties file and it didn't have any of the
properties that were specific to my build. so I know that isn't the war that
was meant to be deployed.

is there something thing that I'm missing? did I clean the build properly ?
is there a resource that will instruct me on how to clean the build process
?
Things that I do know work are that it adds data to my database correctly.

For reference on the particulars of my situation:
Maven 1.0.2
Tomcat 5.5
Subclipse 1.1.8 for eclipse 3.2
JDK 1.5.0.9
Ant 1.6.5

build.properties file
basedir = E:/portal-dev/jetspeed-2
maven.repo.remote = http://www.bluesunrise.com/maven/,
http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
http://cvs.apache.org/repository

org.apache.jetspeed.project.home = E:/portal-dev/jetspeed-2
org.apache.jetspeed.portal.home = ${org.apache.jetspeed.project.home}

# required portal configuration properties
# org.apache.jetspeed.portal.home           = E:/portal2
org.apache.jetspeed.portal.groupId        = portal
org.apache.jetspeed.portal.artifactId     = rhythmicearth
org.apache.jetspeed.portal.name           = rhythmicearth
org.apache.jetspeed.portal.currentVersion = 1.0
#jetspeed.version=2.1-dev

org.apache.jetspeed.genapp.home= E:/portal-dev/jetspeed-2
org.apache.jetspeed.genapp.groupId=portal
org.apache.jetspeed.genapp.name=rhythmicearth
org.apache.jetspeed.genapp.currentVersion=1.0

# required application server properties
org.apache.jetspeed.server.home                      = C:/Program Files
(x86)/Apache Software Foundation/Tomcat 5.5
org.apache.jetspeed.server.shared                    = ${
org.apache.jetspeed.server.home}/shared/lib/
org.apache.jetspeed.deploy.war.dir                   = ${
org.apache.jetspeed.server.home}/webapps/
org.apache.jetspeed.services.autodeployment.user     = j2deployer
org.apache.jetspeed.services.autodeployment.password = j2deployer
org.apache.jetspeed.catalina.version.major           = 5.5



# -------------------------------------------------------------------------
# configure MySQL Test DB (only needed when running unit tests)
# -------------------------------------------------------------------------
org.apache.jetspeed.test.database.default.name=postgres
org.apache.jetspeed.test.database.url =jdbc:postgresql://localhost/jetspeed
org.apache.jetspeed.test.database.user =jetspeeduser
org.apache.jetspeed.test.database.password =jetspeedpassword
org.apache.jetspeed.test.database.driver =org.postgresql.Driver
org.apache.jetspeed.test.database.drivers.path =C:/Program Files
(x86)/PostgreSQL/8.1/jdbc/postgresql-8.1-405.jdbc2ee.jar

Re: Jetspeed build source repository errors

Posted by Philip Mark Donaghy <ph...@gmail.com>.
I am guessing that your problems are related to one or both of these settings,

org.apache.jetspeed.portal.currentVersion = 1.0
org.apache.jetspeed.genapp.currentVersion=1.0

The svn version is 2.1-dev and this may be picking up some oldies in
the maven repository.

Then try removing your postgres configuration and build with the
default derby config. That may tell you something.

Philip

On 11/13/06, dee factorial <de...@gmail.com> wrote:
> I have been trying to build the Jespeed 2  from the source repository. I
> have run into a dead end.
> First I cleaned my previous tries to build.
> 1.droped the database.
> 2.recreated the database.
> 3.deleted the wars and expanded wars in the tomcat dir
> 4.deleted the checked out cvs source.
>
> Then I started the build process over
> 1. I checked out the source using subversion for eclipse.
> 2. I ran the maven initMavenPlugin command, Build Successfull
> 3. I ran the maven allClean allBuild command, Build Successfull
> 4. I ran the maven j2:quickStart command, Build Failed
>
> This is where I have problems.
>
> The error is:
> BUILD FAILED
> File...... C:\Documents and
> Settings\Administrator\.maven\cache\maven-jetspeed2-plugin-2.1-dev\plugin.jelly
> Element... copy
> Line...... 526
> Column.... 28
> Warning: Could not find file C:\Documents and
> Settings\Administrator\.maven\repository\portal\wars\rhythmicearth-1.0.war
> to copy.
>
> Somehow it seems as though the allBuild command didn't complete correctly.
> I checked to see if the rhythmicearth-1.0.war was in that folder and it
> wasn't so I tried to see if I could find the rhythmicearth-1.0.war anywhere.
> it isn't on my system. Then I check the target dir where the build process
> built a lot of the files, there is a jetspeed.war file located in the target
> dir. Since that was the only war that I could find I thought it might be the
> one so I copied and renamed it to that dir and finished the build process
> but when it deployed jetspeed on tomcat, I got a Jetspeed initialization
> error. I checked the jetspeed.properties file and it didn't have any of the
> properties that were specific to my build. so I know that isn't the war that
> was meant to be deployed.
>
> is there something thing that I'm missing? did I clean the build properly ?
> is there a resource that will instruct me on how to clean the build process
> ?
> Things that I do know work are that it adds data to my database correctly.
>
> For reference on the particulars of my situation:
> Maven 1.0.2
> Tomcat 5.5
> Subclipse 1.1.8 for eclipse 3.2
> JDK 1.5.0.9
> Ant 1.6.5
>
> build.properties file
> basedir = E:/portal-dev/jetspeed-2
> maven.repo.remote = http://www.bluesunrise.com/maven/,
> http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
> http://cvs.apache.org/repository
>
> org.apache.jetspeed.project.home = E:/portal-dev/jetspeed-2
> org.apache.jetspeed.portal.home =
> ${org.apache.jetspeed.project.home}
> # required portal configuration properties
> # org.apache.jetspeed.portal.home           = E:/portal2
> org.apache.jetspeed.portal.groupId        = portal
> org.apache.jetspeed.portal.artifactId     = rhythmicearth
> org.apache.jetspeed.portal.name           = rhythmicearth
> org.apache.jetspeed.portal.currentVersion = 1.0
> #jetspeed.version=2.1-dev
>
> org.apache.jetspeed.genapp.home= E:/portal-dev/jetspeed-2
> org.apache.jetspeed.genapp.groupId=portal
> org.apache.jetspeed.genapp.name=rhythmicearth
> org.apache.jetspeed.genapp.currentVersion=1.0
>
> # required application server properties
> org.apache.jetspeed.server.home                      = C:/Program Files
> (x86)/Apache Software Foundation/Tomcat 5.5
> org.apache.jetspeed.server.shared                     =
> ${org.apache.jetspeed.server.home}/shared/lib/
> org.apache.jetspeed.deploy.war.dir                   =
> ${org.apache.jetspeed.server.home}/webapps/
> org.apache.jetspeed.services.autodeployment.user      =
> j2deployer
> org.apache.jetspeed.services.autodeployment.password =
> j2deployer
> org.apache.jetspeed.catalina.version.major           = 5.5
>
>
>
> #
> -------------------------------------------------------------------------
> # configure MySQL Test DB (only needed when running unit tests)
> #
> -------------------------------------------------------------------------
> org.apache.jetspeed.test.database.default.name=postgres
> org.apache.jetspeed.test.database.url
> =jdbc:postgresql://localhost/jetspeed
> org.apache.jetspeed.test.database.user =jetspeeduser
> org.apache.jetspeed.test.database.password
> =jetspeedpassword
> org.apache.jetspeed.test.database.driver
> =org.postgresql.Driver
> org.apache.jetspeed.test.database.drivers.path =C:/Program
> Files
> (x86)/PostgreSQL/8.1/jdbc/postgresql-8.1-405.jdbc2ee.jar
>
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail:
> jetspeed-user-help@portals.apache.org
>
>
>


-- 
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

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