[Geoserver-devel] 1.5.x build failure

1.5.x fails to build (mnv install, after svn update and mvn clean),
apparently some local windows rubbish made it into subversion... See
last line of mvn output below.

Compiling 1 source file
to /usr/local/src/geoserver/branch_1.5.x/geoserver/web/target/test-classes
[INFO] [surefire:test] [INFO] Surefire report
directory: /usr/local/src/geoserver/branch_1.5.x/geoserver/web/target/surefire-reports
[INFO] [jar:jar] [INFO] Building
jar: /usr/local/src/geoserver/branch_1.5.x/geoserver/web/target/web-1.5.0-RC1.jar
[INFO] [config:config {execution: configPackage}]

config:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR [INFO]
------------------------------------------------------------------------
[INFO] Failed to execute: Executing Ant script: /config.build.xml
[config]: Failed to execute.

Unable to locate configuration:
D:\Java\Geoserver\gs1.5\configuration/release

Vincent Schut ha scritto:

1.5.x fails to build (mnv install, after svn update and mvn clean),
apparently some local windows rubbish made it into subversion... See
last line of mvn output below.

Compiling 1 source file
to /usr/local/src/geoserver/branch_1.5.x/geoserver/web/target/test-classes
[INFO] [surefire:test] [INFO] Surefire report
directory: /usr/local/src/geoserver/branch_1.5.x/geoserver/web/target/surefire-reports
[INFO] [jar:jar] [INFO] Building
jar: /usr/local/src/geoserver/branch_1.5.x/geoserver/web/target/web-1.5.0-RC1.jar
[INFO] [config:config {execution: configPackage}]

config:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR [INFO]
------------------------------------------------------------------------
[INFO] Failed to execute: Executing Ant script: /config.build.xml
[config]: Failed to execute.

Unable to locate configuration:
D:\Java\Geoserver\gs1.5\configuration/release

Release? Sorry, what build parameter did you use?
To get something like this I have to run mvn install with parameters:
mvn install -DconfigDirectory=../../configuration -DconfigId=release

but in my case it wo.... no, it does not... ah, I see, there's an
error in the web module POM... fixed, should work now
Cheers
Andrea

On Tue, 13 Feb 2007 12:33:49 +0100
Andrea Aime <aaime@anonymised.com> wrote:

Vincent Schut ha scritto:
> 1.5.x fails to build (mnv install, after svn update and mvn clean),
> apparently some local windows rubbish made it into subversion... See
> last line of mvn output below.
>
> Compiling 1 source file
> to /usr/local/src/geoserver/branch_1.5.x/geoserver/web/target/test-classes
> [INFO] [surefire:test] [INFO] Surefire report
> directory: /usr/local/src/geoserver/branch_1.5.x/geoserver/web/target/surefire-reports
> [INFO] [jar:jar] [INFO] Building
> jar: /usr/local/src/geoserver/branch_1.5.x/geoserver/web/target/web-1.5.0-RC1.jar
> [INFO] [config:config {execution: configPackage}]
>
> config:
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to execute: Executing Ant script: /config.build.xml
> [config]: Failed to execute.
>
> Unable to locate configuration:
> D:\Java\Geoserver\gs1.5\configuration/release

Release? Sorry, what build parameter did you use?
To get something like this I have to run mvn install with parameters:
mvn install -DconfigDirectory=../../configuration -DconfigId=release

but in my case it wo.... no, it does not... ah, I see, there's an
error in the web module POM... fixed, should work now
Cheers
Andrea

Cheers for fixing :slight_smile:
I never use some release parameter, should I? I usually just do mvn
install, and then deploy the war file on my tomcat server, where I have
defined a data_dir so all the config etc. remains fine. Hmm, now that I
think of it, would the minimal release make my war file smaller? That
would shorten the downtime while redeploying the app in tomcat, because
the uploading takes a significant amount of time. Of course, I could
upload by hand first and then deploy from the server, too...

Vincent Schut ha scritto:

On Tue, 13 Feb 2007 12:33:49 +0100
Andrea Aime <aaime@anonymised.com> wrote:

Vincent Schut ha scritto:

Cheers for fixing :slight_smile:
I never use some release parameter, should I? I usually just do mvn
install, and then deploy the war file on my tomcat server, where I have
defined a data_dir so all the config etc. remains fine. Hmm, now that I
think of it, would the minimal release make my war file smaller? T

Sorry, I did not notice that the config id parameter was changed as well. The default was minimal already, I fixed this too.
Cheers
Andrea