You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/05/23 07:03:11 UTC

svn commit: r177921 - in /lenya/trunk/src/targets: compile-build.xml properties-build.xml

Author: gregor
Date: Sun May 22 22:03:11 2005
New Revision: 177921

URL: http://svn.apache.org/viewcvs?rev=177921&view=rev
Log:
Added package target and enabled deprecation warnings

Modified:
    lenya/trunk/src/targets/compile-build.xml
    lenya/trunk/src/targets/properties-build.xml

Modified: lenya/trunk/src/targets/compile-build.xml
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/targets/compile-build.xml?rev=177921&r1=177920&r2=177921&view=diff
==============================================================================
--- lenya/trunk/src/targets/compile-build.xml (original)
+++ lenya/trunk/src/targets/compile-build.xml Sun May 22 22:03:11 2005
@@ -41,21 +41,13 @@
     </javac>
   </target>
 
-  <!-- The compilation target with deprecation on -->
-  <target name="deprecation" depends="prepare-src"
-          description="Compile the sources with deprecation messages">
-    <mkdir dir="${build.webapp}/WEB-INF/classes"/>
-    <javac destdir="${build.webapp}/WEB-INF/classes"
-           debug="${debug}"
-           optimize="${optimize}"
-           deprecation="on"
-           target="${target.vm}"
-           nowarn="off"
-           source="1.4">
-      <src path="${java.dir}"/>
-      <src path="${build.src}"/>
-      <classpath refid="classpath"/>
-    </javac>
-  </target>
+	<!-- package lenya -->
+	  <target name="package" depends="compile">
+	    <jar jarfile="${build.dir}/${fullname}.jar" index="true">
+	      <fileset dir="${build.webapp}/WEB-INF/classes">
+	         <exclude name="**/Manifest.mf"/>
+	      </fileset>
+	    </jar>
+	  </target>
 
 </project>

Modified: lenya/trunk/src/targets/properties-build.xml
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/targets/properties-build.xml?rev=177921&r1=177920&r2=177921&view=diff
==============================================================================
--- lenya/trunk/src/targets/properties-build.xml (original)
+++ lenya/trunk/src/targets/properties-build.xml Sun May 22 22:03:11 2005
@@ -46,13 +46,11 @@
 
   <property name="debug"          value="on"/>
   <property name="optimize"       value="on"/>
-  <property name="deprecation"    value="off"/>
-  <property name="nowarn"         value="on"/>
+  <property name="deprecation"    value="on"/>
+  <property name="nowarn"         value="off"/>
   <property name="target.vm"      value="1.4"/>
 
   <property name="packages"      value="*.*"/>
-
-  <property name="today"         value="${TODAY}"/>
 
   <!-- The libraries we use and which are not already included in the cocoon package -->
   <property name="lib.dir" value="lib"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org