avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur build.xml
Date Tue, 26 Feb 2002 07:31:54 GMT
donaldp     02/02/25 23:31:54

  Modified:    .        build.xml
  Log:
  Add a target to generate an i18n jar
  
  Revision  Changes    Path
  1.106     +25 -2     jakarta-avalon-excalibur/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/build.xml,v
  retrieving revision 1.105
  retrieving revision 1.106
  diff -u -r1.105 -r1.106
  --- build.xml	25 Feb 2002 16:13:36 -0000	1.105
  +++ build.xml	26 Feb 2002 07:31:54 -0000	1.106
  @@ -26,7 +26,7 @@
       (and without typing -D each time he compiles it)
     -->
     <property file="build.properties"/>
  -  <property file="./.ant.properties"/> <!-- The build.properties version is preferred
-->
  +  <property file=".ant.properties"/> <!-- The build.properties version is preferred
-->
     <property file="${user.home}/.ant.properties"/>
   
     <property name="name" value="excalibur"/>
  @@ -451,9 +451,32 @@
   
     <target name="jar-clutil" depends="compile-clutil">
       <mkdir dir="${build.lib}"/>
  -    <jar file="${build.lib}/clutil.jar" basedir="${build.classes}" compress="${compress.jars}">
  +    <jar jarfile="${build.lib}/clutil.jar" basedir="${build.classes}" compress="${compress.jars}">
         <include name="org/apache/avalon/excalibur/cli/*" />
         <exclude name="org/apache/avalon/excalibur/cli/test/*" />
  +    </jar>
  +  </target>
  +
  +    <!-- Creates the clutil.jar file -->
  +  <target name="compile-i18n" depends="prepare">
  +
  +    <mkdir dir="${build.classes}"/>
  +
  +    <javac srcdir="${java.dir}"
  +           destdir="${build.classes}"
  +           debug="${build.debug}"
  +           optimize="${build.optimize}"
  +           deprecation="${build.deprecation}"
  +           target="1.2">
  +      <include name="org/apache/avalon/excalibur/i18n/*" />
  +    </javac>
  +  </target>
  +
  +  <target name="jar-i18n" depends="compile-i18n">
  +    <mkdir dir="${build.lib}"/>
  +    <jar jarfile="${build.lib}/excalibur-i18n.jar" basedir="${build.classes}" compress="${compress.jars}">
  +      <include name="org/apache/avalon/excalibur/i18n/*" />
  +      <exclude name="org/apache/avalon/excalibur/i18n/test/*" />
       </jar>
     </target>
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message