You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rd...@apache.org on 2009/02/12 21:18:18 UTC
svn commit: r743865 - in /james/jsieve/trunk: build.xml mailet/build.xml
main/build.xml util/build.xml
Author: rdonkin
Date: Thu Feb 12 20:18:18 2009
New Revision: 743865
URL: http://svn.apache.org/viewvc?rev=743865&view=rev
Log:
Move usage into macro. JSIEVE-45
Modified:
james/jsieve/trunk/build.xml
james/jsieve/trunk/mailet/build.xml
james/jsieve/trunk/main/build.xml
james/jsieve/trunk/util/build.xml
Modified: james/jsieve/trunk/build.xml
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/build.xml?rev=743865&r1=743864&r2=743865&view=diff
==============================================================================
--- james/jsieve/trunk/build.xml (original)
+++ james/jsieve/trunk/build.xml Thu Feb 12 20:18:18 2009
@@ -27,6 +27,17 @@
<project name='jsieve-master' default="main" basedir=".">
+ <macrodef name='Usage'>
+ <sequential>
+ <echo message="" />
+ <echo message="" />
+ <echo message="Apache JSieve" />
+ <exec executable="ant" dir="${basedir}">
+ <arg value="-projecthelp"/>
+ </exec>
+ </sequential>
+ </macrodef>
+
<macrodef name='CheckMailConditions'>
<sequential>
<available classname="javax.mail.Message" property="is.available.javamail" classpathref="project.test.class.path" />
Modified: james/jsieve/trunk/mailet/build.xml
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/mailet/build.xml?rev=743865&r1=743864&r2=743865&view=diff
==============================================================================
--- james/jsieve/trunk/mailet/build.xml (original)
+++ james/jsieve/trunk/mailet/build.xml Thu Feb 12 20:18:18 2009
@@ -26,6 +26,7 @@
-->
<project name='jsieve-mailet' default="main" basedir=".">
+
<!--
Give user a chance to override without editing this file
(and without typing -D each time he compiles it)
@@ -127,24 +128,7 @@
===================================================================
-->
<target name="usage">
- <echo message="" />
- <echo message="" />
- <echo message="jSieve Build file" />
- <echo message="-------------------------------------------------------------" />
- <echo message="" />
- <echo message=" available targets are:" />
- <echo message="" />
- <echo message=" dist-lite --> generates unpacked distribution (default)" />
- <echo message=" run-tests --> tests the jarred classes" />
- <echo message=" compile --> compiles the source code" />
- <echo message=" dist --> generates all the jSieve distributions, packed" />
- <echo message=" clean --> cleans up the directory" />
- <echo message=" javadocs --> creates the Javadoc" />
- <echo message="" />
- <echo message=" See the comments inside the build.xml file for more details."/>
- <echo message="-------------------------------------------------------------"/>
- <echo message=""/>
- <echo message=""/>
+ <Usage/>
</target>
</project>
Modified: james/jsieve/trunk/main/build.xml
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/main/build.xml?rev=743865&r1=743864&r2=743865&view=diff
==============================================================================
--- james/jsieve/trunk/main/build.xml (original)
+++ james/jsieve/trunk/main/build.xml Thu Feb 12 20:18:18 2009
@@ -26,6 +26,7 @@
-->
<project name='jsieve-main' default="main" basedir=".">
+
<!--
Give user a chance to override without editing this file
(and without typing -D each time he compiles it)
@@ -66,7 +67,7 @@
Main target
===================================================================
-->
- <target name="main" depends="run-tests" />
+ <target name="main" depends="run-tests" description='foo'/>
<!--
===================================================================
Prepare target
@@ -185,24 +186,7 @@
===================================================================
-->
<target name="usage">
- <echo message="" />
- <echo message="" />
- <echo message="jSieve Build file" />
- <echo message="-------------------------------------------------------------" />
- <echo message="" />
- <echo message=" available targets are:" />
- <echo message="" />
- <echo message=" dist-lite --> generates unpacked distribution (default)" />
- <echo message=" run-tests --> tests the jarred classes" />
- <echo message=" compile --> compiles the source code" />
- <echo message=" dist --> generates all the jSieve distributions, packed" />
- <echo message=" clean --> cleans up the directory" />
- <echo message=" javadocs --> creates the Javadoc" />
- <echo message="" />
- <echo message=" See the comments inside the build.xml file for more details."/>
- <echo message="-------------------------------------------------------------"/>
- <echo message=""/>
- <echo message=""/>
+ <Usage/>
</target>
</project>
Modified: james/jsieve/trunk/util/build.xml
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/util/build.xml?rev=743865&r1=743864&r2=743865&view=diff
==============================================================================
--- james/jsieve/trunk/util/build.xml (original)
+++ james/jsieve/trunk/util/build.xml Thu Feb 12 20:18:18 2009
@@ -26,6 +26,7 @@
-->
<project name='jsieve-util' default="main" basedir=".">
+
<!--
Give user a chance to override without editing this file
(and without typing -D each time he compiles it)
@@ -126,24 +127,7 @@
===================================================================
-->
<target name="usage">
- <echo message="" />
- <echo message="" />
- <echo message="jSieve Build file" />
- <echo message="-------------------------------------------------------------" />
- <echo message="" />
- <echo message=" available targets are:" />
- <echo message="" />
- <echo message=" dist-lite --> generates unpacked distribution (default)" />
- <echo message=" run-tests --> tests the jarred classes" />
- <echo message=" compile --> compiles the source code" />
- <echo message=" dist --> generates all the jSieve distributions, packed" />
- <echo message=" clean --> cleans up the directory" />
- <echo message=" javadocs --> creates the Javadoc" />
- <echo message=""/>
- <echo message=" See the comments inside the build.xml file for more details."/>
- <echo message="-------------------------------------------------------------"/>
- <echo message=""/>
- <echo message=""/>
+ <Usage/>
</target>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org