Hi Andy,
Templates are stored in the database. If building from source you still need to run the Gast tool at least once to create the database schema and populate key tables. There is an Ant script in the installer directory you can run to create the install jar file.
Not sure why you would copy bin, csw or gast to Tomcat (web is required). Richard Walker has created some documentation you might find useful, see http://trac.osgeo.org/geonetwork/wiki/HowToRunUnderTomcat .
Regards,
Steve
-----Original Message-----
From: geonetwork-devel-bounces@lists.sourceforge.net [mailto:geonetwork-devel-bounces@lists.sourceforge.net] On Behalf Of Andrew Chamberlain
Sent: Saturday, 16 August 2008 1:06
To: geonetwork-devel@anonymised.comourceforge.net
Subject: [GeoNetwork-devel] Empty Template List on Admin->New XML
Hi All,
Just wondering if anyone can help…
Why is it that when I install a packaged, stable version of GeoNework (ie. using “java -jar geonetwork-install-2.2.0.jar
”), everything is dandy and I get a populated list of templates in the “New Metadata” admin page … but when I build from SVN and copy the created directories (ie. bin
, csw
, gast
, web,
etc.) to Tomcat, the same “Template” list is empty?
The reason I’m trying to build from SVN is to make use of the recently added support for entering ISO 19119 data.
Perhaps I need to build an installer jar file (e.g. geonetwork-install-2.3.0.jar)
which I run using “java -jar …” ?
Any advice or recommendations would be very much appreciated.
Many thanks,
Andy