SF.net SVN: geonetwork:[1409] sandbox/geonetworkui/BlueNetMEST/build.xml

View: New views
1 Messages — Rating Filter:   Alert me  

SF.net SVN: geonetwork:[1409] sandbox/geonetworkui/BlueNetMEST/build.xml

by rdewit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Revision: 1409
          http://geonetwork.svn.sourceforge.net/geonetwork/?rev=1409&view=rev
Author:   rdewit
Date:     2008-07-17 08:01:18 +0000 (Thu, 17 Jul 2008)

Log Message:
-----------
Moved the copying of jar files to the web directory (geonetwork.jar, etc) to a separate target as Stephen Davies suggested.
The target for this is: jar-web.

Modified Paths:
--------------
    sandbox/geonetworkui/BlueNetMEST/build.xml

Modified: sandbox/geonetworkui/BlueNetMEST/build.xml
===================================================================
--- sandbox/geonetworkui/BlueNetMEST/build.xml 2008-07-17 07:54:44 UTC (rev 1408)
+++ sandbox/geonetworkui/BlueNetMEST/build.xml 2008-07-17 08:01:18 UTC (rev 1409)
@@ -142,19 +142,9 @@
                         </manifest>
                 </jar>
               
-                <!-- Copy these jar files to web/geonetwork/WEB-INF/lib as well -->
-                <copy todir="${lib.gn}" overwrite="yes">
-                  <fileset dir="${dist.lib}">
-                    <include name="geonetwork.jar"/>
-                    <include name="oaipmh-lib.jar"/>
-                    <include name="csw-client.jar"/>
-                    <include name="csw-common.jar"/>
-                    <include name="gast.jar"/>
-                  </fileset>
-                </copy>
-              
         </target>
 
+
         <!-- =============================================================== -->
 
         <!-- Package Intermap libraries -->
@@ -166,12 +156,6 @@
                         <metainf dir="src" includes="services/javax.xml.transform.TransformerFactory"/>
                 </jar>
 
-                <!-- Copy these jar files to web/intermap/WEB-INF/lib as well -->
-                <copy todir="${lib.im}" overwrite="yes">
-                  <fileset dir="${dist.lib}">
-                    <include name="intermap.jar"/>
-                  </fileset>
-                </copy>
         </target>
 
         <!-- =============================================================== -->
@@ -228,8 +212,33 @@
 
         </target>
 
+        <!-- Convenience target: copies (possibly) newly created jar files
+             to web/.../WEB-INF/lib directory
+        -->
+        <target name="jar-web" depends="jar">
+                <!-- Copy these jar files to web/geonetwork/WEB-INF/lib as well -->
+                <copy todir="${lib.gn}" overwrite="yes">
+                  <fileset dir="${dist.lib}">
+                    <include name="geonetwork.jar"/>
+                    <include name="oaipmh-lib.jar"/>
+                    <include name="csw-client.jar"/>
+                    <include name="csw-common.jar"/>
+                    <include name="gast.jar"/>
+                  </fileset>
+                </copy>
+              
+                <!-- Copy these jar files to web/intermap/WEB-INF/lib as well -->
+                <copy todir="${lib.im}" overwrite="yes">
+                  <fileset dir="${dist.lib}">
+                    <include name="intermap.jar"/>
+                  </fileset>
+                </copy>
+        </target>
+
         <!-- =============================================================== -->
 
+        <!-- =============================================================== -->
+
         <!-- Create GeoNetwork Javadoc -->
         <target name="javadoc-gn" depends="init">
               


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
GeoNetwork-commit mailing list
GeoNetwork-commit@...
https://lists.sourceforge.net/lists/listinfo/geonetwork-commit
LightInTheBox - Buy quality products at wholesale price