ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Jensen" <JJEN...@agribank.com>
Subject Building a source reference
Date Tue, 01 Oct 2002 17:57:50 GMT
Hi,

In the snippet below, what is the solution to get "src.java"
shared/accessible in each target (<pathconvert> has to run only in a
target, right?!)?

And perhaps there is a better approach all around for javac & javadoc
to access the same source info with the "test" dir included only when
specified to...?


  <fileset id="src.java.files" dir="csourceweb">
    <include name="source/**/*.java"/>
    <include name="test/**/*.java" if="compile.tests"/>
  </fileset>
  
  <pathconvert property="src.java" pathsep=","
refid="src.java.files"/>

<target ...
  <javac ...>
    <src refid="src.java">

<target ...
  <javadoc ...>
    <sourcepath refid="src.java">


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


Mime
View raw message