commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r928417 - /commons/proper/daemon/trunk/src/samples/build.xml
Date Sun, 28 Mar 2010 14:45:41 GMT
Author: sebb
Date: Sun Mar 28 14:45:41 2010
New Revision: 928417

URL: http://svn.apache.org/viewvc?rev=928417&view=rev
Log:
ProcrunService:
- ensure jar is cleaned
- add Main-Class to jar

Modified:
    commons/proper/daemon/trunk/src/samples/build.xml

Modified: commons/proper/daemon/trunk/src/samples/build.xml
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/samples/build.xml?rev=928417&r1=928416&r2=928417&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/samples/build.xml (original)
+++ commons/proper/daemon/trunk/src/samples/build.xml Sun Mar 28 14:45:41 2010
@@ -31,7 +31,7 @@
   <target name="clean" description="Remove output files">
     <delete quiet="true">
       <fileset dir="${build.home}"/>
-      <fileset dir="${dist.home}" includes="SimpleDaemon.jar service.jar aloneservice.jar"/>
+      <fileset dir="${dist.home}" includes="SimpleDaemon.jar service.jar aloneservice.jar
ProcrunService.jar"/>
     </delete>
   </target>
   
@@ -85,6 +85,9 @@
       <metainf dir="../..">
         <include name="NOTICE.txt"/>
         <include name="LICENSE.txt"/>
+        <manifest>
+           <attribute name="Main-Class" value="ProcrunService"/>
+        </manifest>
       </metainf>
       <fileset dir="${build.home}/classes">
         <include name="ProcrunService.class" />



Mime
View raw message