db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r216286 - /incubator/derby/code/trunk/build.xml
Date Wed, 13 Jul 2005 23:47:39 GMT
Author: djd
Date: Wed Jul 13 16:47:37 2005
New Revision: 216286

URL: http://svn.apache.org/viewcvs?rev=216286&view=rev
Log:
DERBY-419 - Support direct execution of derbynet.jar using the -jar option of the VM.
Add manifest entries to derbynet.jar.

Modified:
    incubator/derby/code/trunk/build.xml

Modified: incubator/derby/code/trunk/build.xml
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/build.xml?rev=216286&r1=216285&r2=216286&view=diff
==============================================================================
--- incubator/derby/code/trunk/build.xml (original)
+++ incubator/derby/code/trunk/build.xml Wed Jul 13 16:47:37 2005
@@ -756,6 +756,7 @@
 
     <jar destfile="${derby.jar.dir}/derby.jar" 
          update="true"
+         filesonly="true"
          compress="true">
       <fileset dir="${out.dir}"
                includes="org/apache/derby/loc/m?_en.properties,
@@ -901,6 +902,11 @@
     <copy todir="${derby.jar.dir}/lists/META-INF">
       <fileset dir="${basedir}" includes="LICENSE*,NOTICE*,COPYRIGHT*"/>
     </copy>
+  	
+    <manifest file="${derby.jar.dir}/lists/smfnet.mf">
+      <attribute name="Main-Class" value="org.apache.derby.drda.NetworkServerControl"/>
+      <attribute name="Class-Path" value="derby.jar"/>
+    </manifest> 
 
     <delete file="${derby.jar.dir}/derbynet.jar"/>
     <jar destfile="${derby.jar.dir}/derbynet.jar"
@@ -911,7 +917,8 @@
     <jar destfile="${derby.jar.dir}/derbynet.jar"
          compress="true"
          filesonly="true"
-         update="true">
+         update="true"
+    	 manifest="${derby.jar.dir}/lists/smfnet.mf">
       <fileset dir="${out.dir}"
                includes="org/apache/derby/loc/drda/**,
                          org/apache/derby/info/net.properties"/>



Mime
View raw message