dev

[Prev] Thread [Next]  |  [Prev] Date [Next]

svn commit: r788390 - /tomcat/trunk/modules/tomcat-lite/build.xml costin Thu Jun 25 09:00:52 2009

Author: costin
Date: Thu Jun 25 15:22:55 2009
New Revision: 788390

URL: http://svn.apache.org/viewvc?rev=788390&view=rev
Log:
Adjust Main

Modified:
    tomcat/trunk/modules/tomcat-lite/build.xml

Modified: tomcat/trunk/modules/tomcat-lite/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/tomcat-lite/build.xml?rev=788390&r1=788389&r2=788390&view=diff
==============================================================================
--- tomcat/trunk/modules/tomcat-lite/build.xml (original)
+++ tomcat/trunk/modules/tomcat-lite/build.xml Thu Jun 25 15:22:55 2009
@@ -11,6 +11,7 @@
     
     <property name="classes" value="${basedir}/output/tomcat-lite/classes" />
     <property name="jar.dir" value="${basedir}/output/tomcat-lite/" />
+    <property name="MAIN" value="org.apache.tomcat.integration.simple.Main"/>
 
     <target name="compile">
         <mkdir dir="${classes}" />
@@ -67,7 +68,7 @@
         <mkdir dir="${jar.dir}/jar" />
         <jar destfile="${jar.dir}/jar/tomcat-lite.jar">
             <manifest>
-                  <attribute name="Main-Class" 
value="org.apache.tomcat.lite.cli.Main"/>
+                  <attribute name="Main-Class" value="${MAIN}"/>
               </manifest>
             <fileset dir="${classes}">
                 <include name ="org/apache/tomcat/lite/**" />
@@ -89,7 +90,7 @@
         <!-- All included: javax, jasper, coyote, tomcat-lite -->
         <jar destfile="${jar.dir}/tomcat-lite-all.jar">
             <manifest>
-                  <attribute name="Main-Class" 
value="org.apache.tomcat.lite.cli.Main"/>
+                  <attribute name="Main-Class" value="${MAIN}"/>
               </manifest>
             <fileset dir="${classes}">
             </fileset>
@@ -98,7 +99,7 @@
         <!-- Tomcat lite without jasper -->
         <jar destfile="${jar.dir}/tomcat-lite+javax+coyote.jar">
              <manifest>
-                 <attribute name="Main-Class" 
value="org.apache.tomcat.lite.cli.Main"/>
+                 <attribute name="Main-Class" value="${MAIN}"/>
              </manifest>
              <fileset dir="${classes}">
                  <exclude name ="org/apache/jasper/**" />



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]