ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/proposal/xdocs build.xml
Date Thu, 05 Sep 2002 20:58:08 GMT
stevel      2002/09/05 13:58:08

  Modified:    proposal/xdocs build.xml
  Log:
  little trick to allow <ant> callers to spec a classpath for their own stuff, cos I
am trying to invoke this from axis, with mixed results.
  
  Revision  Changes    Path
  1.12      +4 -2      jakarta-ant/proposal/xdocs/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/xdocs/build.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- build.xml	15 Jul 2002 15:57:12 -0000	1.11
  +++ build.xml	5 Sep 2002 20:58:08 -0000	1.12
  @@ -34,6 +34,7 @@
     <target name="init">
       <mkdir dir="${build.dir}" />
       <mkdir dir="${gen.dir}" />
  +    <property name="xdoclet.extra.classpath" value="" />
   
       <!-- hack, this should be outside a target but ${build.dir} gets stripped ?? -->
       <path id="xdoclet.classpath">
  @@ -42,9 +43,10 @@
   
         <!-- javadoc is needed -->
         <pathelement path="${java.class.path}"/>
  -      <pathelement path="${ant.home}/lib/ant.jar"/>
  -        <pathelement path="${ant.home}/lib/optional.jar"/>
  +      <pathelement location="${ant.home}/lib/ant.jar"/>
  +      <pathelement location="${ant.home}/lib/optional.jar"/>
         <pathelement location="${build.dir}"/>
  +      <pathelement path="${xdoclet.extra.classpath}" />
       </path>
   
       <property name="the.classpath" refid="xdoclet.classpath"/>
  
  
  

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


Mime
View raw message