Author: norman
Date: Mon Oct 9 04:07:45 2006
New Revision: 454340
URL: http://svn.apache.org/viewvc?view=rev&rev=454340
Log:
add right main method to build.xml
Modified:
james/jspf/trunk/build.xml
Modified: james/jspf/trunk/build.xml
URL:
http://svn.apache.org/viewvc/james/jspf/trunk/build.xml?view=diff&rev=454340&r1=454339&r2=454340
==============================================================================
--- james/jspf/trunk/build.xml (original)
+++ james/jspf/trunk/build.xml Mon Oct 9 04:07:45 2006
@@ -31,7 +31,11 @@
</copy>
</target>
<target name="jar" depends="compile,test" description="Clean the JAR">
- <jar jarfile="${maven.build.directory}/${maven.build.final.name}.jar"
basedir="${maven.build.output}" excludes="**/package.html"/>
+ <jar jarfile="${maven.build.directory}/${maven.build.final.name}.jar"
basedir="${maven.build.output}" excludes="**/package.html">
+ <manifest>
+ <attribute name="Main-class"
value="org.apache.james.jspf.impl.SPFQuery"/>
+ </manifest>
+ </jar>
</target>
<target name="compile-tests" depends="junit-present, compile"
description="Compile the test code" if="junit.present">
<mkdir dir="${maven.test.output}"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]