You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by co...@apache.org on 2002/08/31 01:09:23 UTC

cvs commit: jakarta-ant/proposal/embed build.xml

costin      2002/08/30 16:09:23

  Modified:    proposal/embed build.xml
  Log:
  Added support for velocity and jexl.
  
  I'm just playing around to see how the API works, I'll try to move
  all those deps out of embed later.
  
  Revision  Changes    Path
  1.2       +22 -6     jakarta-ant/proposal/embed/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/embed/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	26 Jul 2002 16:46:14 -0000	1.1
  +++ build.xml	30 Aug 2002 23:09:23 -0000	1.2
  @@ -1,21 +1,37 @@
   <project name="embed" default="main" basedir=".">
  -  <property name="ant.src" location="../.." />
  -  <property name="commons.src" location="${ant.src}/../jakarta-commons" />
  +  <property file="${user.home}/build.properties" />
   
  -  <property name="embed.build" location="build" />
  +  <property name="base.path" location="/usr/share/java"/>
  +  <property name="ant.src" location="../.."/>
  +  <property name="commons.src" location="${ant.src}/../jakarta-commons"/>
  +  <property name="sandbox.src" location="${ant.src}/../jakarta-commons-sandbox"/>
  +
  +  <property name="embed.build" location="build"/>
     <property name="debug" value="true"/>
  -  
  -  <property name="jxpath.jar" location="${commons.src}/jxpath/dist/commons-jxpath.jar" />
  +
  +  <!-- Those 2 should be moved to JXPath and velocity. -->  
  +  <property name="commons-logging.jar" location="${commons.src}/logging/dist/commons-logging.jar" /> 
  +  <property name="jxpath.jar" location="${commons.src}/jxpath/dist/commons-jxpath.jar" /> 
  +  <property name="velocity.jar" location="${base.path}/velocity/velocity-20020220.jar" />
  +  <property name="velocity-dep.jar" location="${base.path}/velocity/velocity-dep-20020220.jar" />
  +  <property name="discovery.jar" location="${commons.src}/discovery/dist/commons-discovery.jar" />
  +  <property name="jexl.jar" location="${sandbox.src}/jexl/dist/commons-jexl.jar" />
  +
  +  <property name="commons-discovery.jar" location="${commons.src}/discovery/commons-discovery.jar" />
  +
       
     <target name="main">
       <mkdir dir="build/classes" />
  -  
       <javac srcdir="src/java"  
              debug="${debug}"
              destdir="${embed.build}/classes" >
         <include name="**" />
         <classpath>
  +        <!-- all this will move to their package -->
           <pathelement location="${jxpath.jar}" />
  +        <pathelement location="${velocity.jar}" />
  +        <pathelement location="${jexl.jar}" />
  +        <pathelement location="${discovery.jar}" />
         </classpath>
       </javac>
   
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>