[Geoserver-devel] build failure on clean trunk checkout

Setting up a clean checkout[1] to review process work.

Failure looks straight forward:

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

Unable to locate configuration: /Users/jody/java/geoserver/trunk/src/web/app/minimal

The indicated directory does not exist; I assume this refers to a “default” for the geoserver data directory that I have not set.
Jody Garnett

[1] http://docs.geoserver.org/latest/en/developer/quickstart/index.html

THis is because (i assume) you are building from a fresh git clone. Which means you don’t get any svn:externals resolved, like the one to minimal in src/web/app. I usually just create these links manually.

On Wed, May 4, 2011 at 5:50 AM, Jody Garnett <jody.garnett@anonymised.com> wrote:

Setting up a clean checkout[1] to review process work.

Failure looks straight forward:

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

Unable to locate configuration: /Users/jody/java/geoserver/trunk/src/web/app/minimal

The indicated directory does not exist; I assume this refers to a “default” for the geoserver data directory that I have not set.
Jody Garnett

[1] http://docs.geoserver.org/latest/en/developer/quickstart/index.html


WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Apparently a lack of svn externals when using git to checkout.


Jody Garnett

On Wednesday, 4 May 2011 at 9:50 PM, Jody Garnett wrote:

Setting up a clean checkout[1] to review process work.

Failure looks straight forward:

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

Unable to locate configuration: /Users/jody/java/geoserver/trunk/src/web/app/minimal

The indicated directory does not exist; I assume this refers to a “default” for the geoserver data directory that I have not set.
Jody Garnett

[1] http://docs.geoserver.org/latest/en/developer/quickstart/index.html

Under Linux I use a script to make symlinks. This is much better than svn, because update is faster (one update not five).

If you are using Linux, your convenience, here is my script (which I run from the base working directory [carefully unwrap any lines!]):

$ cat bin/fix-geoserver-links
#!/bin/sh

ln -sfn ../../../data/minimal src/web/app/minimal
ln -sfn ../../../../../../../../../../src/web/core/src/main/java/org/geoserver/web/css src/web/app/src/test/java/org/geoserver/wicket/test/css
ln -sfn ../../../../../../../../../../src/web/core/src/main/java/org/geoserver/web/img src/web/app/src/test/java/org/geoserver/wicket/test/img
ln -sfn ../../data/citewfs-1.1/styles data/citewfs-1.1-h2/styles

Does Win7 support some sort of symlink?

On 04/05/11 22:21, Jody Garnett wrote:

Apparently a lack of svn externals when using git to checkout.

--
Jody Garnett

On Wednesday, 4 May 2011 at 9:50 PM, Jody Garnett wrote:

Setting up a clean checkout[1] to review process work.

Failure looks straight forward:

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

Unable to locate configuration: /Users/jody/java/geoserver/trunk/src/web/app/minimal

The indicated directory does not exist; I assume this refers to a "default" for the geoserver data directory that I have not set.
Jody Garnett

[1] http://docs.geoserver.org/latest/en/developer/quickstart/index.html

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

I was on mac; the single sys link for web/app minimal was enough to get me going.


Jody Garnett

On Thursday, 5 May 2011 at 12:31 PM, Ben Caradoc-Davies wrote:

Under Linux I use a script to make symlinks. This is much better than
svn, because update is faster (one update not five).

If you are using Linux, your convenience, here is my script (which I run
from the base working directory [carefully unwrap any lines!]):

$ cat bin/fix-geoserver-links
#!/bin/sh

ln -sfn …/…/…/data/minimal src/web/app/minimal
ln -sfn
…/…/…/…/…/…/…/…/…/…/src/web/core/src/main/java/org/geoserver/web/css
src/web/app/src/test/java/org/geoserver/wicket/test/css
ln -sfn
…/…/…/…/…/…/…/…/…/…/src/web/core/src/main/java/org/geoserver/web/img
src/web/app/src/test/java/org/geoserver/wicket/test/img
ln -sfn …/…/data/citewfs-1.1/styles data/citewfs-1.1-h2/styles

Does Win7 support some sort of symlink?

On 04/05/11 22:21, Jody Garnett wrote:

Apparently a lack of svn externals when using git to checkout.


Jody Garnett

On Wednesday, 4 May 2011 at 9:50 PM, Jody Garnett wrote:

Setting up a clean checkout[1] to review process work.

Failure looks straight forward:

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

Unable to locate configuration: /Users/jody/java/geoserver/trunk/src/web/app/minimal

The indicated directory does not exist; I assume this refers to a “default” for the geoserver data directory that I have not set.
Jody Garnett

[1] http://docs.geoserver.org/latest/en/developer/quickstart/index.html


Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre