poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ye...@apache.org
Subject svn commit: r712389 - /poi/trunk/build.xml
Date Sat, 08 Nov 2008 13:21:43 GMT
Author: yegor
Date: Sat Nov  8 05:21:42 2008
New Revision: 712389

URL: http://svn.apache.org/viewvc?rev=712389&view=rev
Log:
minor improvements in build.xml, also fixed indents

Modified:
    poi/trunk/build.xml

Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=712389&r1=712388&r2=712389&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Sat Nov  8 05:21:42 2008
@@ -197,7 +197,7 @@
 
     <path id="ooxml.classpath">
         <path refid="main.classpath"/>
-        <path refid="scratchpad.classpath"/>
+        <pathelement location="${main.output.dir}"/>
         <pathelement location="${scratchpad.output.dir}"/>
         <fileset dir="${ooxml.lib}">
 			<include name="*.jar" />
@@ -1121,7 +1121,7 @@
       description="Generates POI's website's contents"/>
 
 
-    <target name="maven-dist" depends="jar,jar-ooxml" description="Builds the POM files
for a maven distribution, and copies these and the jars to the appropriate locations">
+    <target name="maven-dist" depends="jar" description="Builds the POM files for a maven
distribution, and copies these and the jars to the appropriate locations">
 		<!-- Copy the jar files into the maven jar directory -->
 		<!-- Same jars as for the main release, only lacking the datestamp -->
 		<copy
@@ -1263,10 +1263,10 @@
 		</copy>
 	</target>
 
-  <target name="jar" depends="compile, compile-version, jar-ooxml" description="Creates
jar files for distribution">
+  <target name="jar" depends="compile, compile-version" description="Creates jar files
for distribution">
         <jar destfile="${dist.dir}/${jar.name}-${version.id}-${DSTAMP}.jar">
-			<fileset dir="${main.output.dir}" />
-			<fileset dir="legal/" />
+			      <fileset dir="${main.output.dir}" />
+			      <fileset dir="legal/" />
             <manifest>
                 <attribute name="Built-By" value="${user.name}"/>
                 <attribute name="Specification-Title" value="Apache POI"/>
@@ -1278,8 +1278,8 @@
             </manifest>        
         </jar>
         <jar destfile="${dist.dir}/${jar.name}-contrib-${version.id}-${DSTAMP}.jar">
-			<fileset dir="${contrib.output.dir}" />
-			<fileset dir="legal/" />
+			      <fileset dir="${contrib.output.dir}" />
+			      <fileset dir="legal/" />
             <manifest>
                 <attribute name="Built-By" value="${user.name}"/>
                 <attribute name="Specification-Title" value="Apache POI"/>
@@ -1291,8 +1291,8 @@
             </manifest>        
         </jar>
         <jar destfile="${dist.dir}/${jar.name}-scratchpad-${version.id}-${DSTAMP}.jar">
-			<fileset dir="${scratchpad.output.dir}" />
-			<fileset dir="legal/" />
+      			<fileset dir="${scratchpad.output.dir}" />
+      			<fileset dir="legal/" />
             <manifest>
                 <attribute name="Built-By" value="${user.name}"/>
                 <attribute name="Specification-Title" value="Apache POI"/>
@@ -1303,11 +1303,9 @@
                 <attribute name="Implementation-Vendor" value="Apache"/>
             </manifest>        
         </jar>
-    </target>
-    <target name="jar-ooxml" depends="compile-ooxml" description="Creates the ooxml jar
files for distribution">
         <jar destfile="${dist.dir}/${jar.name}-ooxml-${version.id}-${DSTAMP}.jar">
-			<fileset dir="${ooxml.output.dir}" />
-			<fileset dir="legal/" />
+            <fileset dir="${ooxml.output.dir}" />
+            <fileset dir="legal/" />
             <manifest>
                 <attribute name="Built-By" value="${user.name}"/>
                 <attribute name="Specification-Title" value="Apache POI"/>
@@ -1320,10 +1318,10 @@
         </jar>
     </target>
 
-  <target name="dist" depends="clean, fail-unless-tools-are-available, compile, site,
jar, jar-ooxml"
+  <target name="dist" depends="clean, fail-unless-tools-are-available, compile, site,
jar"
     description="Creates the entire distribution into build/dist, from scratch">
 
-	<property name="zipdir" value="${jar.name}-${version.id}" />
+	  <property name="zipdir" value="${jar.name}-${version.id}" />
 
     <zip destfile="${dist.dir}/${jar.name}-bin-${version.id}-${DSTAMP}.zip">
       <zipfileset dir="legal/" prefix="${zipdir}" />



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


Mime
View raw message