From: <mco...@us...> - 2009-02-05 11:06:47
|
Revision: 2076 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=2076&view=rev Author: mcoudert Date: 2009-02-05 11:06:43 +0000 (Thu, 05 Feb 2009) Log Message: ----------- Added needed folders and files to get the csw project working. Modified ant script to compile only geonetwork webapp sources, removed dependency to other webapp. Modified Paths: -------------- sandbox/GeoSource/csw/build.xml Added Paths: ----------- sandbox/GeoSource/csw/bin/ sandbox/GeoSource/csw/bin/gast.bat sandbox/GeoSource/csw/bin/gast.sh sandbox/GeoSource/csw/bin/ico/ sandbox/GeoSource/csw/bin/ico/docs.ico sandbox/GeoSource/csw/bin/ico/gast.ico sandbox/GeoSource/csw/bin/ico/gn.ico sandbox/GeoSource/csw/bin/ico/gnstart.ico sandbox/GeoSource/csw/bin/ico/gnstop.ico sandbox/GeoSource/csw/bin/ico/info.ico sandbox/GeoSource/csw/bin/ico/text.ico sandbox/GeoSource/csw/bin/ico/uninst.ico sandbox/GeoSource/csw/bin/jetty-configure_1_3.dtd sandbox/GeoSource/csw/bin/jetty.xml sandbox/GeoSource/csw/bin/jetty.xml_with_geoserver sandbox/GeoSource/csw/bin/jre/ sandbox/GeoSource/csw/bin/jre/gast-jre.bat sandbox/GeoSource/csw/bin/jre/start-geonetwork-jre.bat sandbox/GeoSource/csw/bin/jre/stop-geonetwork-jre.bat sandbox/GeoSource/csw/bin/start-geonetwork.bat sandbox/GeoSource/csw/bin/start-geonetwork.sh sandbox/GeoSource/csw/bin/stop-geonetwork.bat sandbox/GeoSource/csw/bin/stop-geonetwork.sh sandbox/GeoSource/csw/bin/win/ sandbox/GeoSource/csw/bin/win/start-stdln.html sandbox/GeoSource/csw/gast/data/ sandbox/GeoSource/csw/gast/data/gui.properties sandbox/GeoSource/csw/gast/data/gui.xml sandbox/GeoSource/csw/gast/data/gui_fr.properties sandbox/GeoSource/csw/gast/data/index.html sandbox/GeoSource/csw/gast/images/ sandbox/GeoSource/csw/gast/images/16x16/ sandbox/GeoSource/csw/gast/images/16x16/down.png sandbox/GeoSource/csw/gast/images/16x16/filesave.png sandbox/GeoSource/csw/gast/images/16x16/hdd_unmount.png sandbox/GeoSource/csw/gast/images/16x16/kget.png sandbox/GeoSource/csw/gast/images/16x16/package_settings.png sandbox/GeoSource/csw/gast/images/16x16/reload.png sandbox/GeoSource/csw/gast/images/16x16/reload3.png sandbox/GeoSource/csw/gast/images/16x16/run.png sandbox/GeoSource/csw/gast/images/16x16/up.png sandbox/GeoSource/csw/gast/images/22x22/ sandbox/GeoSource/csw/gast/images/22x22/configure.png sandbox/GeoSource/csw/gast/images/22x22/gear.png sandbox/GeoSource/csw/gast/images/22x22/hdd_unmount.png sandbox/GeoSource/csw/gast/images/22x22/launch.png sandbox/GeoSource/csw/gast/images/22x22/reload.png sandbox/GeoSource/csw/gast/images/22x22/stop.png sandbox/GeoSource/csw/gast/images/22x22/vcs_update.png sandbox/GeoSource/csw/gast/images/dummy.gif sandbox/GeoSource/csw/gast/log/ sandbox/GeoSource/csw/gast/log/log4j.cfg Added: sandbox/GeoSource/csw/bin/gast.bat =================================================================== --- sandbox/GeoSource/csw/bin/gast.bat (rev 0) +++ sandbox/GeoSource/csw/bin/gast.bat 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,2 @@ +cd ..\gast +start javaw %1 -jar gast.jar Added: sandbox/GeoSource/csw/bin/gast.sh =================================================================== --- sandbox/GeoSource/csw/bin/gast.sh (rev 0) +++ sandbox/GeoSource/csw/bin/gast.sh 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,2 @@ +cd ../gast +java $1 -jar gast.jar $2 Added: sandbox/GeoSource/csw/bin/ico/docs.ico =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/bin/ico/docs.ico ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/bin/ico/gast.ico =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/bin/ico/gast.ico ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/bin/ico/gn.ico =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/bin/ico/gn.ico ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/bin/ico/gnstart.ico =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/bin/ico/gnstart.ico ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/bin/ico/gnstop.ico =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/bin/ico/gnstop.ico ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/bin/ico/info.ico =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/bin/ico/info.ico ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/bin/ico/text.ico =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/bin/ico/text.ico ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/bin/ico/uninst.ico =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/bin/ico/uninst.ico ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/bin/jetty-configure_1_3.dtd =================================================================== --- sandbox/GeoSource/csw/bin/jetty-configure_1_3.dtd (rev 0) +++ sandbox/GeoSource/csw/bin/jetty-configure_1_3.dtd 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,212 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> + +<!-- +This is the document type descriptor for the +org.mortbay.util.XmlConfiguration class. It allows a java object to be +configured by with a sequence of Set, Put and Call elements. These tags are +mapped to methods on the object to be configured as follows: + + <Set name="Test">value</Set> == obj.setTest("value"); + <Put name="Test">value</Put> == obj.put("Test","value"); + <Call name="test"><Arg>value</Arg></Call> == obj.test("value"); + +Values themselves may be configured objects that are created with the +<New> tag or returned from a <Call> tag. + +Values are matched to arguments on a best effort approach, but types +my be specified if a match is not achieved. + +$Id: jetty-configure_1_3.dtd,v 1.1 2005/05/17 23:10:45 acarboni Exp $ +--> + +<!ENTITY % CONFIG "Get|Set|Put|Call|New"> +<!ENTITY % VALUE "#PCDATA|Call|New|Get|SystemProperty|Array"> + +<!ENTITY % TYPEATTR "type CDATA #IMPLIED " > <!-- String|Character|Short|Byte|Integer|Long|Boolean|Float|Double|char|short|byte|int|long|boolean|float|double|URL|InetAddress|InetAddrPort| #classname --> +<!ENTITY % IMPLIEDCLASSATTR "class NMTOKEN #IMPLIED" > +<!ENTITY % CLASSATTR "class NMTOKEN #REQUIRED" > +<!ENTITY % NAMEATTR "name NMTOKEN #REQUIRED" > +<!ENTITY % DEFAULTATTR "default CDATA #IMPLIED" > +<!ENTITY % IDATTR "id NMTOKEN #IMPLIED" > +<!ENTITY % REFATTR "ref NMTOKEN #IMPLIED" > +<!-- +Configure Element. +This is the root element that specifies the class of object that +can be configured: + + <Configure class="com.acme.MyClass"> ... </Configure> + +A Configure element can contain Set, Put or Call elements. +--> +<!ELEMENT Configure (%CONFIG;)* > +<!ATTLIST Configure %CLASSATTR; %IDATTR; > + + +<!-- +Set Element. +This element maps to a call to a set method on the current object. +The name and optional type attributes are used to select the set +method. If the name given is xxx, then a setXxx method is used, or +the xxx field is used of setXxx cannot be found. +A Set element can contain value text and/or the value elements Call, +New and SystemProperty. If no value type is specified, then white +space is trimmed out of the value. If it contains multiple value +elements they are added as strings before being converted to any +specified type. + +A Set with a class attribute is treated as a static set method invocation. +--> +<!ELEMENT Set ( %VALUE; )* > +<!ATTLIST Set %NAMEATTR; %TYPEATTR; %IMPLIEDCLASSATTR; > + + +<!-- +Get Element. +This element maps to a call to a get method or field on the current object. +The name attribute is used to select the get method. +If the name given is xxx, then a getXxx method is used, or +the xxx field is used of setXxx cannot be found. +A Get element can contain Set, Put and/or Call elements which act on the object +returned by the get call. + +A Get with a class attribute is treated as a static get method or field. +--> +<!ELEMENT Get (%CONFIG;)*> +<!ATTLIST Get %NAMEATTR; %IMPLIEDCLASSATTR; %IDATTR; > + +<!-- +Put Element. +This element maps to a call to a put method on the current object, +which must implement the Map interface. The name attribute is used +as the put key and the optional type attribute can force the type +of the value. + +A Put element can contain value text and/or the value elements Call, +New and SystemProperty. If no value type is specified, then white +space is trimmed out of the value. If it contains multiple value +elements they are added as strings before being converted to any +specified type. +--> +<!ELEMENT Put ( %VALUE; )* > +<!ATTLIST Put %NAMEATTR; %TYPEATTR; %REFATTR; > + + +<!-- +Call Element. +This element maps to an arbitrary call to a method on the current object, +The name attribute and Arg elements are used to select the method. + +A Call element can contain a sequence of Arg elements followed by +a sequence of Set, Put and/or Call elements which act on any object +returned by the original call: + + <Call name="test"><Arg>value1</Arg><Set name="Test">Value2</Set></Call> + +This is equivalent to: + + Object o2 = o1.test("value1"); + o2.setTest("value2"); + +A Call with a class attribute is treated as a static call. + +--> +<!ELEMENT Call (Arg*,(%CONFIG;)*)> +<!ATTLIST Call %NAMEATTR; %IMPLIEDCLASSATTR; %IDATTR;> + + +<!-- +Arg Element. +This element defines a positional argument for the Call element. +The optional type attribute can force the type of the value. + +An Arg element can contain value text and/or the value elements Call, +New and SystemProperty. If no value type is specified, then white +space is trimmed out of the value. If it contains multiple value +elements they are added as strings before being converted to any +specified type. +--> +<!ELEMENT Arg ( %VALUE; )* > +<!ATTLIST Arg %TYPEATTR; %REFATTR; > + + + +<!-- +New Element. +This element allows the creation of a new object as part of a +value of a Set, Put or Arg element. The class attribute determines +the type of the new object and the contained Arg elements +are used to select the constructor for the new object. + +A New element can contain a sequence of Arg elements followed by +a sequence of Set, Put and/or Call elements which act on the new object: + + <New class="com.acme.MyClass"> + <Arg>value1</Arg><Set name="Test">Value2</Set> + </New> + +This is equivalent to: + + Object o = new com.acme.MyClass("value1"); + o.setTest("value2"); + +--> +<!ELEMENT New (Arg*,(%CONFIG;)*)> +<!ATTLIST New %CLASSATTR; %IDATTR;> + +<!ELEMENT Ref ((%CONFIG;)*)> +<!ATTLIST Ref %IDATTR;> + +<!-- +Array Element. +This element allows the creation of a new array as part of a +value of a Set, Put or Arg element. The type attribute determines +the type of the new array and the contained Item elements +are used for each element of the array + + <Array type="java.lang.String"> + <Item>value0</Arg> + <Item><New class="java.lang.String"><Arg>value1</Arg></New></Item> + </Array> + +This is equivalent to: + String[] a = new String[] { "value0", new String("value1") }; + +--> +<!ELEMENT Array (Item*)> +<!ATTLIST Array %TYPEATTR; %IDATTR; > + + +<!-- +Item Element. +This element defines a positional argument for the Array element. +The optional type attribute can force the type of the value. + +An Item element can contain value text and/or the value elements Call, +New and SystemProperty. If no value type is specified, then white +space is trimmed out of the value. If it contains multiple value +elements they are added as strings before being converted to any +specified type. +--> +<!ELEMENT Item ( %VALUE; )* > +<!ATTLIST Item %TYPEATTR; %IDATTR; > + + +<!-- +System Property Element. +This element allows JVM System properties to be retrieved as +part of the value of a Set, Put or Arg element. +The name attribute specifies the property name and the optional +default argument provides a default value. + + <SystemProperty name="Test" default="value"/> + +This is equivalent to: + + System.getProperty("Test","value"); + +--> +<!ELEMENT SystemProperty EMPTY> +<!ATTLIST SystemProperty %NAMEATTR; %DEFAULTATTR; %IDATTR;> + + + Added: sandbox/GeoSource/csw/bin/jetty.xml =================================================================== --- sandbox/GeoSource/csw/bin/jetty.xml (rev 0) +++ sandbox/GeoSource/csw/bin/jetty.xml 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "jetty-configure_1_3.dtd"> +<Configure class="org.mortbay.jetty.Server"> + + <Call name="addListener"> + <Arg> + <New class="org.mortbay.http.SocketListener"> + <Set name="port">8080</Set> + <Set name="MinThreads">10</Set> + <Set name="MaxThreads">200</Set> + <Set name="MaxIdleTimeMs">30000</Set> + <Set name="lowResources">50</Set> + <Set name="LowResourcePersistTimeMs">2000</Set> + </New> + </Arg> + </Call> + + <!-- ============================================================ --> + + <Set name="WebApplicationConfigurationClassNames"> + <Array type="java.lang.String"> + <Item>org.mortbay.jetty.servlet.XMLConfiguration</Item> + <Item>org.mortbay.jetty.servlet.JettyWebConfiguration</Item> + </Array> + </Set> + + <!-- ============================================================ --> + + <Call name="addWebApplication"> + <Arg>/geonetwork</Arg> + <Arg>../web/geonetwork</Arg> + </Call> + + <!-- ============================================================ --> + + <Call name="addWebApplication"> + <Arg>/geonetwork/docs</Arg> + <Arg>../docs</Arg> + </Call> + + <!-- =============================================================== --> + + <Call name="addWebApplication"> + <Arg>/intermap</Arg> + <Arg>../web/intermap</Arg> + </Call> + + <!-- =============================================================== --> + <!-- + <Call name="addWebApplication"> + <Arg>/geoserver</Arg> + <Arg>../web/geoserver</Arg> + </Call> + --> + <!-- =============================================================== --> + + <Set name="RequestLog"> + <New class="org.mortbay.http.NCSARequestLog"> + <Arg>../jetty/log/yyyy_mm_dd.request.log</Arg> + <Set name="retainDays">90</Set> + <Set name="append">false</Set> + <Set name="extended">false</Set> + <Set name="LogTimeZone">GMT</Set> + </New> + </Set> + +</Configure> Added: sandbox/GeoSource/csw/bin/jetty.xml_with_geoserver =================================================================== --- sandbox/GeoSource/csw/bin/jetty.xml_with_geoserver (rev 0) +++ sandbox/GeoSource/csw/bin/jetty.xml_with_geoserver 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "jetty-configure_1_3.dtd"> +<Configure class="org.mortbay.jetty.Server"> + + <Call name="addListener"> + <Arg> + <New class="org.mortbay.http.SocketListener"> + <Set name="port">8080</Set> + <Set name="MinThreads">10</Set> + <Set name="MaxThreads">200</Set> + <Set name="MaxIdleTimeMs">30000</Set> + <Set name="lowResources">50</Set> + <Set name="LowResourcePersistTimeMs">2000</Set> + </New> + </Arg> + </Call> + + <!-- ============================================================ --> + + <Set name="WebApplicationConfigurationClassNames"> + <Array type="java.lang.String"> + <Item>org.mortbay.jetty.servlet.XMLConfiguration</Item> + <Item>org.mortbay.jetty.servlet.JettyWebConfiguration</Item> + </Array> + </Set> + + <!-- ============================================================ --> + + <Call name="addWebApplication"> + <Arg>/geonetwork</Arg> + <Arg>../web/geonetwork</Arg> + </Call> + + <!-- ============================================================ --> + + <Call name="addWebApplication"> + <Arg>/geonetwork/docs</Arg> + <Arg>../docs</Arg> + </Call> + + <!-- =============================================================== --> + + <Call name="addWebApplication"> + <Arg>/intermap</Arg> + <Arg>../web/intermap</Arg> + </Call> + + <!-- =============================================================== --> + + <Call name="addWebApplication"> + <Arg>/geoserver</Arg> + <Arg>../web/geoserver</Arg> + </Call> + + <!-- =============================================================== --> + + <Set name="RequestLog"> + <New class="org.mortbay.http.NCSARequestLog"> + <Arg>../jetty/log/yyyy_mm_dd.request.log</Arg> + <Set name="retainDays">90</Set> + <Set name="append">false</Set> + <Set name="extended">false</Set> + <Set name="LogTimeZone">GMT</Set> + </New> + </Set> + +</Configure> Added: sandbox/GeoSource/csw/bin/jre/gast-jre.bat =================================================================== --- sandbox/GeoSource/csw/bin/jre/gast-jre.bat (rev 0) +++ sandbox/GeoSource/csw/bin/jre/gast-jre.bat 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,2 @@ +cd ..\gast +..\jre1.5.0_12\bin\java -jar gast.jar Added: sandbox/GeoSource/csw/bin/jre/start-geonetwork-jre.bat =================================================================== --- sandbox/GeoSource/csw/bin/jre/start-geonetwork-jre.bat (rev 0) +++ sandbox/GeoSource/csw/bin/jre/start-geonetwork-jre.bat 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,5 @@ +cd ..\jetty +del log\*request.log* +move log\jeeves.log.* log\archive + +..\jre1.5.0_12\bin\java -Xms48m -Xmx512m -DSTOP.PORT=8079 -jar start.jar ..\bin\jetty.xml \ No newline at end of file Added: sandbox/GeoSource/csw/bin/jre/stop-geonetwork-jre.bat =================================================================== --- sandbox/GeoSource/csw/bin/jre/stop-geonetwork-jre.bat (rev 0) +++ sandbox/GeoSource/csw/bin/jre/stop-geonetwork-jre.bat 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,2 @@ +cd ..\jetty +..\jre1.5.0_12\bin\java -DSTOP.PORT=8079 -jar stop.jar Added: sandbox/GeoSource/csw/bin/start-geonetwork.bat =================================================================== --- sandbox/GeoSource/csw/bin/start-geonetwork.bat (rev 0) +++ sandbox/GeoSource/csw/bin/start-geonetwork.bat 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,14 @@ +cd ..\jetty +del log\*request.log* +move log\geonetwork.log.* log\archive +move log\intermap.log.* log\archive + +rem try changing the Xmx parameter if your machine has little RAM +rem java -Xms48m -Xmx256m -DSTOP.PORT=8079 -jar start.jar ..\bin\jetty.xml + +rem if you want to hide the dos window when GeoNetwork is started, +rem comment out the next line and comment the last line + +java -Xms48m -Xmx512m -DSTOP.PORT=8079 -Djava.awt.headless=true -jar start.jar ..\bin\jetty.xml + +rem start javaw -Xms48m -Xmx512m -DSTOP.PORT=8079 -Djava.awt.headless=true -jar start.jar ..\bin\jetty.xml \ No newline at end of file Added: sandbox/GeoSource/csw/bin/start-geonetwork.sh =================================================================== --- sandbox/GeoSource/csw/bin/start-geonetwork.sh (rev 0) +++ sandbox/GeoSource/csw/bin/start-geonetwork.sh 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,10 @@ +cd ../jetty +rm log/*request.log* +rm log/output.log +mv log/geonetwork.log.* log/archive +mv log/intermap.log.* log/archive + +# try changing the Xmx parameter if your machine has little RAM +#java -Xms48m -Xmx256m -DSTOP.PORT=8079 -Djava.awt.headless=true -jar start.jar ../bin/jetty.xml & + +java -Xms48m -Xmx512m -DSTOP.PORT=8079 -Djava.awt.headless=true -jar start.jar ../bin/jetty.xml > log/output.log 2>&1 & Property changes on: sandbox/GeoSource/csw/bin/start-geonetwork.sh ___________________________________________________________________ Added: svn:executable + * Added: sandbox/GeoSource/csw/bin/stop-geonetwork.bat =================================================================== --- sandbox/GeoSource/csw/bin/stop-geonetwork.bat (rev 0) +++ sandbox/GeoSource/csw/bin/stop-geonetwork.bat 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,2 @@ +cd ..\jetty +java -DSTOP.PORT=8079 -jar stop.jar Added: sandbox/GeoSource/csw/bin/stop-geonetwork.sh =================================================================== --- sandbox/GeoSource/csw/bin/stop-geonetwork.sh (rev 0) +++ sandbox/GeoSource/csw/bin/stop-geonetwork.sh 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,2 @@ +cd ../jetty +java -DSTOP.PORT=8079 -jar stop.jar Property changes on: sandbox/GeoSource/csw/bin/stop-geonetwork.sh ___________________________________________________________________ Added: svn:executable + * Added: sandbox/GeoSource/csw/bin/win/start-stdln.html =================================================================== --- sandbox/GeoSource/csw/bin/win/start-stdln.html (rev 0) +++ sandbox/GeoSource/csw/bin/win/start-stdln.html 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,15 @@ +<HTML> + <HEAD> + <META http-equiv="refresh" content="0; URL=http://localhost:8080/geonetwork/srv/en/main.home"> + <META http-equiv="Pragma" content="no-cache"> + <META http-equiv="Cache-Control" content="no-cache,no-store"> + + <script language="Javascript1.5" type="text/javascript"> + window.location="http://localhost:8080/geonetwork/srv/en/main.home" + </script> + </HEAD> + <BODY BGCOLOR="#FFFFFF"> + <FONT size=-5><A HREF="http://localhost:8080/geonetwork/srv/en/main.home">GeoNetwork desktop</A></FONT> + <p>Make sure you started the server first! (select 'Start server' from the GeoNetwork desktop group in the Start menu)</p> + </BODY> +</HTML> Modified: sandbox/GeoSource/csw/build.xml =================================================================== --- sandbox/GeoSource/csw/build.xml 2009-02-05 07:06:48 UTC (rev 2075) +++ sandbox/GeoSource/csw/build.xml 2009-02-05 11:06:43 UTC (rev 2076) @@ -19,15 +19,17 @@ <!-- =============================================================== --> - <target name="compile" depends="gn, im" /> + <target name="compile" depends="gn" /> <!-- =============================================================== --> <target name="gn"> <delete file="web/geonetwork/WEB-INF/lib/geonetwork.jar" /> <delete file="web/geonetwork/WEB-INF/lib/oaipmh-lib.jar" /> + <!-- <delete file="csw/lib/csw-client.jar" /> <delete file="csw/lib/csw-common.jar" /> + --> <delete file="gast/gast.jar" /> <delete dir =".build" /> <mkdir dir =".build" /> @@ -52,6 +54,7 @@ basedir =".build" includes="org/fao/oaipmh/**" /> + <!-- <jar jarfile ="csw/lib/csw-client.jar" basedir =".build" includes="org/fao/geonet/csw/client/**" /> @@ -59,7 +62,7 @@ <jar jarfile ="csw/lib/csw-common.jar" basedir =".build" includes="org/fao/geonet/csw/common/**" /> - + --> <jar jarfile ="gast/gast.jar" basedir =".build" includes="org/fao/gast/Gast.class, org/fao/gast/boot/**, org/fao/gast/localization/**"> Added: sandbox/GeoSource/csw/gast/data/gui.properties =================================================================== --- sandbox/GeoSource/csw/gast/data/gui.properties (rev 0) +++ sandbox/GeoSource/csw/gast/data/gui.properties 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,97 @@ +1=GeoNetwork must be stopped in order to execute this operation +2=GeoNetwork must be restarted in order to make changes effective +3=GeoNetwork must be running in order to execute this operation +4=Configuration +5=Jetty parameters +6=If you are running GeoNetwork with the integrated Jetty server\ + then you can use this panel to change some parameters, mainly\ + the servlet name and port used to access GeoNetwork. +7=Save +8=Jetty must be restarted in order to make the changes effective. +9=DBMS +10=DBMS configuration +11= This panel allows you to change the DBMS you want to connect to.\ + Here you can change only the configuration. You have also to create\ + the schema and populate the database. You can do that through\ + the 'database/setup' panel. If you select the embedded database\ + and its data files are not there (for example because you just\ + checked out from the subversion repository), the 'save' button \ + will also create them and generate a new random account. +12=Management +13=Import +14=Metadata import +15=This panel lets you reimport a previouly exported set\ + of metadata/data. The import is not destructive, in the\ + sense that new records will be created. So, make sure\ + to have an empty database if you don't want metadata\ + overlap. +16=Uses MEF facilities so GeoNetwork must be running. +17=Export +18=Metadata export +19=This panel lets you export your metadata/data from GeoNetwork\ + into a folder of your file system. There will be one file\ + for each metadata/data in MEF format. +20=Metadata Sync +21=Metadata synchronization +22=Each metadata contains links to the GeoNetwork's server in\ + order to allow resource retrieval. If you change the server's\ + address and port from the web interface, these links will break.\ + This panel simply scans all metadata and fixes these links. +23=Synchronize +24=All local metadata must be scanned and changed so there must not\ + be records under editing. +25=115 to 139 +26=ISO 19115 to 19139 conversion +27=Prior to version 2.1, GeoNetwork managed only the old ISO 19115\ + metadata format (the one with short names). Starting from\ + version 2.1 you can use the new ISO 19139 format, which is\ + the XML encoding of the ISO 19115:2003 spec.\ + This panel lets you convert your old metadata in ISO 19115\ + format to the new one. +28=Convert +29=GeoNetwork could even be running but maybe it is better if it is stopped. +30=Database +31=Setup +32=Database setup +33=Once you have configured your DBMS in the 'configuration/dbms' \ + panel, you have to use this panel to create tables and fill\ + them with initial data. +34=Obviously GeoNetwork cannot be running while the database gets built. +35=Sample data +36=Sample data and metadata +37=There are some sample metadata that you can import into your\ + GeoNetwork after setup. These are provided just to experiment\ + the features and the user interface.\ + You can even import the same metadata several times in order to\ + fill your database for stress tests. +38=Uses MEF facilities so GeoNetwork must be running. +39=Migration +40=Old installation +41=Migrate an old GeoNetwork +42=This panel allows you to migrate metadata from an old GeoNetwork 2.0.x\ + installation. This procedure migrates the database content. After \ + this stage, you will probably need to setup some parameters into \ + the config.xml file (like dataDir). Other parameters (like proxy\ + settings) must be changed using the web interface. Harvested\ + metadata are not migrated. When migrating, both old and new nodes MUST NOT \ + be started. If you use Tomcat and you have used only the geonetwork's \ + 'web' folder you have to select the GeoNetwork's web app folder inside Tomcat. +43=Migrate +44=GeoNetwork must be stopped when the database is being migrated. +45=GeoNetwork must be restarted in order to make the changes effective. +46=Uses MEF facilities so GeoNetwork must be running. +47=Old GeoSource +48=Migrate an old GeoSource +49=This panel allows you to migrate metadata from GeoSource v1.x\ + installation. This procedure migrates the database content. After \ + this stage, you will probably need to setup some parameters into \ + the config.xml file (like dataDir). Other parameters (like proxy\ + settings) must be changed using the web interface. Harvested\ + metadata are not migrated. When migrating, both old and new nodes MUST NOT \ + be started. If you use Tomcat and you have used only the geonetwork's \ + 'web' folder you have to select the GeoNetwork's web app folder inside Tomcat. +50=*** WARNING *** Here you can change your installation's site ID \ + but you should not do this by hand, unless you are migrating \ + from a previous installation +51=Site ID +52=Site ID change \ No newline at end of file Added: sandbox/GeoSource/csw/gast/data/gui.xml =================================================================== --- sandbox/GeoSource/csw/gast/data/gui.xml (rev 0) +++ sandbox/GeoSource/csw/gast/data/gui.xml 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,285 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> + +<gui> + <class package="org.fao.gast.gui.panels"/> + <precon type="stopped"> + <image>22x22/stop.png</image> + <tip>${1}</tip> + </precon> + + <precon type="restart"> + <image>22x22/reload.png</image> + <tip>${2}</tip> + </precon> + + <precon type="running"> + <image>22x22/launch.png</image> + <tip>${3}</tip> + </precon> + + <!-- ========================================================== --> + <!-- Configuration --> + <!-- ========================================================== --> + + <container> + <image>22x22/configure.png</image> + <label>${4}</label> + + <!-- Site ID - - - - - - - - - - - - - - - - - - - - - - - --> + + <form> + <id>siteid</id> + <image>16x16/package_settings.png</image> + <label>${51}</label> + <title>${52}</title> + <class>config.siteid.MainPanel</class> + <description> + ${50} + </description> + + <button> + <image>16x16/filesave.png</image> + <label>Change</label> + <action>change</action> + </button> + + <precon type="stopped"> + GeoNetwork must be stopped + </precon> + </form> + + <!-- Jetty - - - - - - - - - - - - - - - - - - - - - - - - --> + + <form> + <id>jetty</id> + <image>16x16/package_settings.png</image> + <label>Jetty</label> + <title>${5}</title> + <class>config.jetty.MainPanel</class> + <description> + ${6} + </description> + + <button> + <image>16x16/filesave.png</image> + <label>${7}</label> + <action>save</action> + </button> + + <precon type="restart"> + ${8} + </precon> + </form> + + <!-- DBMS - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <form> + <id>dbms</id> + <image>16x16/package_settings.png</image> + <label>${9}</label> + <title>${10}</title> + <class>config.dbms.MainPanel</class> + <description> + ${11} + </description> + + <button> + <image>16x16/filesave.png</image> + <label>${7}</label> + <action>save</action> + </button> + + <precon type="restart"> + ${45} + </precon> + </form> + </container> + + <!-- ========================================================== --> + <!-- Management --> + <!-- ========================================================== --> + + <container> + <image>22x22/gear.png</image> + <label>${12}</label> + + <!-- Import - - - - - - - - - - - - - - - - - - - - - - --> + + <form> + <id>mefimport</id> + <image>16x16/run.png</image> + <label>${13}</label> + <title>${14}</title> + <class>manag.mefimport.MainPanel</class> + <description> + ${15} + </description> + + <button> + <image>16x16/down.png</image> + <label>${13}</label> + <action>import</action> + </button> + + <precon type="running"> + ${16} + </precon> + </form> + + <!-- Export - - - - - - - - - - - - - - - - - - - - - --> + + <form> + <id>mefexportc</id> + <image>16x16/run.png</image> + <label>${17}</label> + <title>${18}</title> + <class>manag.mefexport.MainPanel</class> + <description> + ${19} + </description> + + <button> + <image>16x16/up.png</image> + <label>${17}</label> + <action>export</action> + </button> + + <precon type="running"> + ${46} + </precon> + </form> + + <!-- Metadata Sync - - - - - - - - - - - - - - - - - - - - - - --> + + <form> + <id>mdsync</id> + <image>16x16/run.png</image> + <label>${20}</label> + <title>${21}</title> + <class>manag.mdsync.MainPanel</class> + <description> + ${22} + </description> + + <button> + <image>16x16/run.png</image> + <label>${23}</label> + <action>sync</action> + </button> + + <precon type="stopped"> + ${24} + </precon> + </form> + + <!-- 115 to 139 - - - - - - - - - - - - - - - - - - - - - - --> + + <form> + <id>115to139</id> + <image>16x16/run.png</image> + <label>${25}</label> + <title>${26}</title> + <class>manag.conversion.MainPanel</class> + <description> + ${27} + </description> + + <button> + <image>16x16/run.png</image> + <label>${28}</label> + <action>convert</action> + </button> + + <precon type="stopped"> + ${29} + </precon> + </form> + + </container> + + <!-- ========================================================== --> + <!-- Database --> + <!-- ========================================================== --> + + <container> + <image>22x22/hdd_unmount.png</image> + <label>${30}</label> + + <!-- Setup - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <form> + <id>setup</id> + <image>16x16/hdd_unmount.png</image> + <label>${31}</label> + <title>${32}</title> + <class>database.setup.MainPanel</class> + <description> + ${33} + </description> + + <button> + <image>16x16/run.png</image> + <label>${31}</label> + <action>setup</action> + </button> + + <precon type="stopped"> + ${34} + </precon> + </form> + + <!-- Sample data - - - - - - - - - - - - - - - - - - - - - - - - --> + + <form> + <id>sampleData</id> + <image>16x16/hdd_unmount.png</image> + <label>${35}</label> + <title>${36}</title> + <class>database.sample.MainPanel</class> + <description> + ${37} + </description> + + <button> + <image>16x16/run.png</image> + <label>${13}</label> + <action>import</action> + </button> + + <precon type="running"> + ${38} + </precon> + </form> + </container> + + <!-- ========================================================== --> + <!-- Migration --> + <!-- ========================================================== --> + + <container> + <image>22x22/vcs_update.png</image> + <label>${39}</label> + + <!-- Old GeoNetwork - - - - - - - - - - - - - - - - - - - - - --> + <form> + <id>fromOld</id> + <image>16x16/kget.png</image> + <label>${40}</label> + <title>${41}</title> + <class>migration.oldinst.MainPanel</class> + <description> + ${42} + </description> + + <button> + <image>16x16/kget.png</image> + <label>${43}</label> + <action>migrate</action> + </button> + + <precon type="stopped"> + ${44} + </precon> + </form> + </container> +</gui> Added: sandbox/GeoSource/csw/gast/data/gui_fr.properties =================================================================== --- sandbox/GeoSource/csw/gast/data/gui_fr.properties (rev 0) +++ sandbox/GeoSource/csw/gast/data/gui_fr.properties 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,93 @@ +1=GeoNetwork doit être arrêté en vue d'effectuer cette opération +2=GeoNetwork doit être redémarré afin d'appliquer les changements +3=GeoNetwork doit être en cours d'exécution afin d'exécuter cette opération +4=Configuration +5=Paramètre Jetty +6=Si vous utilisez GeoNetwork avec le serveur intégré Jetty \ +alors vous pouvez utiliser cet assistant pour modifier certains paramètres \ +(i.e. nom du servlet, port HTTP utilisé pour accéder à GeoNetwork). +7=Enregistrer +8=Jetty doit être redémarré afin d'appliquer les changements. +9=Base de données +10=Configuration de la base de données +11=Cet assistant permet de changer la base de données utilisées par GeoNetwork. \ +Pour changer la configuration ou créer \ +le schéma de la base de données, aller dans \ +'base de données/création'. Si vous sélectionnez la base de données embarquée \ +et que les fichiers de données ne sont pas là (par exemple parce que vous venez de \ +récupérer le code à partir du dépôt Subversion), le bouton 'Enregistrer' \ +va les créer et générer un nouveau compte utilisateur. +12=Gestion +13=Importation +14=Importation de métadonnées +15=Cet assistant permet de réimporter un export \ +de métadonnées au format MEF. Les nouveaux jeux de métadonnées seront créés. Donc, assurez-vous \ +d'avoir une base de données vide si vous ne voulez pas avoir des doublons de métadonnées. +16=Utilisations MEF : GeoNetwork doivt être en cours d'exécution. +17=Exportation +18=Exportation de métadonnées +19=Cet assistant permet d'exporter les métadonnées et données de GeoNetwork \ +dans un dossier de votre système de fichiers. L'export crée un fichier \ +pour chaque métadonnées au format MEF. +20=Métadonnées Sync +21=Synchronisation des métadonnées +22=Chaque métadonnée contient des liens vers GeoNetwork \ +afin de permettre la récupération des ressources. Si vous changez l'adresse du serveur \ +et le port de l'interface web, ces liens se brisent. \ +Cet assistant analyse toutes les métadonnées et corrige ces liens. +23=Synchroniser +24=Tous les jeux de métadonnées doivent être scannés et modifiés. \ +Aucune édition ne doit être en cours. +25=115 à 139 +26=Conversion ISO19115 à ISO19139 +27=Avant la version 2.1, GeoNetwork gére uniquement le modèle ISO19115. \ +A partir de la version 2.1, il est possible d'utiliser la norme ISO 19139 qui correspond \ +à l'encodage XML de la norme ISO 19115:2003. \ +Cet assistant permet la conversion des métadonnées ISO19115 \ +en ISO19139. +28=Convertir +29=GeoNetwork pourrait même être en cours d'exécution, mais il est peut-être mieux si elle est arrêtée. +30=Base de données +31=Création +32=Création de la base de données +33=Une fois que la base de données est configurée dans 'configuration/DBMS ',\ +cet assistant permet la création du modèle de données et insérer \ +les données initiales. +34=GeoNetwork ne doit pas être en cours d'exécution lors de la création de la base de données. +35=Exemple +36=Données et métadonnées exemple +37=Des exemples de métadonnées peuvent être importés dans \ +GeoNetwork après installation. Ces exemples sont fournis seulement afin d'expérimenter \ +les caractéristiques de l'interface utilisateur. \ +Il est également possible d'importer les métadonnées à plusieurs reprises afin de \ +remplir une base de données pour des tests de stress. +38=Pour l'utilisation des imports/exports MEF, GeoNetwork doit être en cours d'exécution. +39=Migrations +40=Ancienne installation +41=Migrer une ancienne version +42=cet assistant permet de migrer les métadonnées de GeoNetwork version 2.0.x. \ +Cette procédure migre la base de données. Après \ +ce stade, vous aurez probablement besoin de configurer certains paramètres dans \ +le fichier config.xml (e.g. datadir). D'autres paramètres (e.g. proxy) \ +doivent être changés en utilisant l'interface web dans administration / configuration du système. Les \ +métadonnées moissonnées ne sont pas migrées. Lors de la migration, les noeuds source et destination NE DOIVENT PAS \ +être démarrés. Sous Tomcat, les répertoires \ +'web' doivent être sélectionnés. +43=Migration +44=GeoNetwork doit être arrêté lorsque la base de données est en cours de migration. +45=GeoNetwork doit être redémarré afin d'appliquer les changements. +46=Pour l'utilisation des imports/exports MEF, GeoNetwork doit être en cours d'exécution. +47=Ancien GéoSource +48=Migrer une ancienne version de GéoSource +49=cet assistant permet de migrer les métadonnées de GéoSource version 1.x \ +Cette procédure migre la base de données. Après \ +ce stade, vous aurez probablement besoin de configurer certains paramètres dans \ +le fichier config.xml (e.g. datadir). D'autres paramètres (e.g. proxy) \ +doivent être changés en utilisant l'interface web dans administration / configuration du système. Les \ +métadonnées moissonnées ne sont pas migrées. Lors de la migration, les noeuds source et destination NE DOIVENT PAS \ +être démarrés. Sous Tomcat, les répertoires \ +'web' doivent être sélectionnés. +50=*** Attention *** Cette section permet le changement de l'identifiant du noeud local. \ + Cette action ne doit pas être réalisée manuellement. +51=Identifiant du site +52=Changement de l'identifiant du site \ No newline at end of file Added: sandbox/GeoSource/csw/gast/data/index.html =================================================================== --- sandbox/GeoSource/csw/gast/data/index.html (rev 0) +++ sandbox/GeoSource/csw/gast/data/index.html 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,16 @@ +<html> + <head> + <meta http-equiv="Pragma" content="no-cache"> + <meta http-equiv="Cache-Control" content="no-cache,no-store"> + <link rel="stylesheet" type="text/css" href="geonetwork.css"> + <script language="Javascript1.5" type="text/javascript"> + var search = window.location.search; + window.location="/$SERVLET/srv/en/main.home" + search + </script> + </head> + <body> + <h2>JavaScript warning</h2> + <p>To use GeoNetwork you need to enable JavaScript in your browser</p> + </body> +</html> + Added: sandbox/GeoSource/csw/gast/images/16x16/down.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/16x16/down.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/16x16/filesave.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/16x16/filesave.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/16x16/hdd_unmount.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/16x16/hdd_unmount.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/16x16/kget.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/16x16/kget.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/16x16/package_settings.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/16x16/package_settings.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/16x16/reload.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/16x16/reload.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/16x16/reload3.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/16x16/reload3.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/16x16/run.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/16x16/run.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/16x16/up.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/16x16/up.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/22x22/configure.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/22x22/configure.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/22x22/gear.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/22x22/gear.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/22x22/hdd_unmount.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/22x22/hdd_unmount.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/22x22/launch.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/22x22/launch.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/22x22/reload.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/22x22/reload.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/22x22/stop.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/22x22/stop.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/22x22/vcs_update.png =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/22x22/vcs_update.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/images/dummy.gif =================================================================== (Binary files differ) Property changes on: sandbox/GeoSource/csw/gast/images/dummy.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/GeoSource/csw/gast/log/log4j.cfg =================================================================== --- sandbox/GeoSource/csw/gast/log/log4j.cfg (rev 0) +++ sandbox/GeoSource/csw/gast/log/log4j.cfg 2009-02-05 11:06:43 UTC (rev 2076) @@ -0,0 +1,20 @@ +# Default Logging Configuration +log4j.rootLogger = OFF + +### GAST SETTINGS ######################################################## + +log4j.logger.gast = DEBUG, gast, console + +### GAST APPENDER ############################################################ + +log4j.appender.gast =org.apache.log4j.DailyRollingFileAppender +log4j.appender.gast.DatePattern='.'yyyy-MM-dd +log4j.appender.gast.file = <do not change. changed by gast> +log4j.appender.gast.layout = org.apache.log4j.PatternLayout +log4j.appender.gast.layout.ConversionPattern=%d{ISO8601} %-5p [%c] - %m%n + +### CONSOLE SETTINGS ########################################################### + +log4j.appender.console = org.apache.log4j.ConsoleAppender +log4j.appender.console.layout = org.apache.log4j.PatternLayout +log4j.appender.console.layout.ConversionPattern=%d{ISO8601} %-5p [%c] - %m%n This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |