mcconnell 2003/02/13 21:25:56
Modified: lifecycle build.xml
Log:
Removed broken checkstyle-report task.
Revision Changes Path
1.6 +9 -29 avalon-sandbox/lifecycle/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/avalon-sandbox/lifecycle/build.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- build.xml 13 Feb 2003 18:21:06 -0000 1.5
+++ build.xml 14 Feb 2003 05:25:56 -0000 1.6
@@ -197,8 +197,6 @@
<target name="test-reports" depends="test" description="Generate Reports for
the unit tests">
- <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkBSF"/>
-
<mkdir dir="${build.reports}/junit"/>
<junitreport todir="${build.reports}/junit">
@@ -233,28 +231,22 @@
</checkstyle>
</target>
- <target name="checkstyle-report" depends="checkstyle" if="do.checkstyle"
- description="Generate Checkstyle Report">
- <mkdir dir="${build.reports}"/>
- <property name="checkstyle.pathhack" location="."/>
- <style style="${tools.dir}/etc/checkstyle-frames.xsl"
in="${build.dir}/checkstyle-results.xml"
- out="${build.reports}/delete-me.html.html">
- <param name="pathhack" expression="${checkstyle.pathhack}"/>
- </style>
- </target>
-
- <!-- Creates the distribution -->
- <target name="dist"
- depends="dist-jar, test-reports, checkstyle-report, javadocs"
- description="Generates a distribution (jar + javadocs + unit tests +
checkstyle reports)">
+ <!-- Creates the distribution -->
+ <target name="dist"
+ depends="dist-jar, javadocs"
+ description="Generates a distribution (jar + javadocs + src )">
<copy file="${build.conf}/LICENSE.txt" todir="${dist.dir}"/>
<copy file="../KEYS" todir="${dist.dir}"/>
- <zip zipfile="${dist.dir}/src.zip" compress="false">
+ <zip zipfile="${dist.dir}/src.zip" compress="true">
<zipfileset dir="src/java"/>
</zip>
+ <zip zipfile="${dist.dir}/docs.zip" compress="true">
+ <zipfileset dir="build/docs"/>
+ </zip>
+
<mkdir dir="${dist.base}"/>
<zip zipfile="${dist.base}/${dist.name}.zip" compress="true">
@@ -313,17 +305,5 @@
<target name="real-clean" depends="clean" description="Cleans up the project,
including distributions">
<delete dir="${dist.base}" />
</target>
-
- <!--
- Misc. utilities.
- -->
-
- <target name="patch">
- <replace dir="src" summary="true"
- token="org.apache.avalon.lifecycle.lifecycle"
- value="org.apache.avalon.lifecycle" >
- <include name="**/*.*"/>
- </replace>
- </target>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]