Harry,
Install it in a directory without spaces in the path and you should be fine.
Cheers,
Simon
Harry Lim wrote:
Hi Simon,
thanks for your helpful insight.
When I try to run ant installer in the installer folder (after I have built the whole project, so a dist folder exists), it stops by giving me a java.io.FileNotFoundException for dist\.props\installer-config.xml (The system cannot find the path specified).
However, when I run 'ant installer' on the root folder where BlueNet code is, it takes about 30 seconds, and creates a geonetwork-install-2.2.0-0.jar in the root\dist\geonetwork-2.2.0 folder.
I double click this executable jar, and the installation progresses. I get an error during one of the stages (java.net.URISyntaxException: Illegal character in path at index 18: file:///C:/Program Files/BlueNet_MEST_1.1_011108/web/geonetwork/xml/schemas/iso19139/index-fields.xsl ). I then attempt to connect GAST by going in to the bin folder and starting the GAST batch file. It works, and the database is created. I get the same error (as in the installation) when I try to create sample data.
I then setup the path and docbase variables in Tomcat's server.xml and access localhost:8080/geonetwork with my browser, and nothing appears there. The same errors java.net.URISyntaxException is seen all over the the geonetwork.log .
I have attached my geonetwork.log file and hope somebody can help me?
Regards,
Harry
------------------------------------------------------------------------
*From:* Simon Pigot <Simon.Pigot@anonymised.com>
*To:* HarryLim <hlim42@anonymised.com>
*Cc:* geonetwork-devel@lists.sourceforge.net
*Sent:* Monday, November 24, 2008 9:34:19 PM
*Subject:* Re: [GeoNetwork-devel] BlueNet compilation and GAST issues
Harry,
A simple option is to build the jar installer using ant install and run the installer (everything will be in the right place then) or readup on previous posts by Stephen Davies to this group on the intention of the war target in the ant build file.
Cheers,
Simon
HarryLim wrote:
> Hi everyone,
> I have recently downloaded the source code from the BlueNet sandbox on
> Geonetwork SVN, from
> GeoNetwork - Geographic Metadata Catalog download | SourceForge.net
> using TortoiseSVN. I am using Eclipse on Windows XP as my development
> environment.
>
> The code compiled with no issues, but when I run the GAST batch file,
> located in the \bin folder, it tells me that it cant find the gast.jar file,
> which according to the batch file should be in \root\gast. I put the
> gast.jar file there (by copying it from the \root\dist\lib folder) but it
> doesnt do anything.
> Please advise if I am missing something, or a better course of handling this
> issue.
>
> Regards,
> Harry
>