velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@optonline.net>
Subject Re: Added a source option to the build.xml file
Date Wed, 21 Feb 2001 22:29:59 GMT
done.

Chris Kimpton wrote:
> 
> Hi,
> 
> I find having this target in the build.xml is useful for applications who
> use these kind of tools;
> 
> H:\cvslocal\jakarta\jakarta-velocity\build>cvs diff -u
> ? velocity.log
> cvs server: Diffing .
> Index: build-velocity.xml
> ===================================================================
> RCS file: /home/cvspublic/jakarta-velocity/build/build-velocity.xml,v
> retrieving revision 1.28
> diff -u -r1.28 build-velocity.xml
> --- build-velocity.xml  2001/02/12 03:12:53     1.28
> +++ build-velocity.xml  2001/02/21 21:05:15
> @@ -237,6 +237,17 @@
> 
>    </target>
> 
> +  <!--
> ================================================================== -->
> +  <!-- jars the source
>           -->
> +  <!--
> ================================================================== -->
> +  <target name="jarsrc"
> +          depends="prepare"
> +          description="--> generates the velocity.src.jar file containing
> source only">
> +      <jar jarfile="${build.dir}/${final.name}.src.jar"
> +          basedir="${build.src}"
> +          excludes="**/package.html"/>
> +  </target>
> +
>    <!--
> =================================================================== -->
>    <!-- Compiles the example
>      -->
>    <!--
> =================================================================== -->
> 
> HTH
> Chris

-- 
Geir Magnusson Jr.                               geirm@optonline.com

Developing for the web?  See http://jakarta.apache.org/velocity/

Mime
View raw message