ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark.rus...@pncbank.com
Subject Re: Need some help with a directory task
Date Mon, 02 Jun 2003 15:23:21 GMT
you need to build a src subelement of javac that includes both of them
<path id="java.src">
  <fileset dir="c:/a" includes="**.*.java"/>
  <fileset dir="C:/b" includes="**/*.java"/>
</path>

<javac destdir=...>
  <src path="java.src"/>
</javac>

Monday, June 02, 2003 10:55 AM
To: user@ant.apache.org
cc:
From: Bertjan Broeksema <b.broeksema@home.nl>
Subject: Need some help with a directory task



I have a litle problem with an ant project.

i've two dirs let's say dir a and dir b. In that dir's are two java file
let's say a.java and b.java like:

c:\
    - a
        -a.java
    - b
        -b.java

My problem is: a.java create's an instance of b.java and vice versa. How do
i compile this with an ant project?

Grtz,

Bertjan

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



Mime
View raw message