Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 93567 invoked by uid 500); 15 Mar 2001 20:10:34 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Delivered-To: moderator for ant-user@jakarta.apache.org Received: (qmail 26088 invoked from network); 15 Mar 2001 19:34:28 -0000 Message-ID: <5FD0054E9FEFD311BF5A00062939971201160A2B@mars.sideware.com> From: Brooks Duncan To: "'ant-user@jakarta.apache.org'" Subject: Ant not building all files Date: Thu, 15 Mar 2001 11:38:30 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0AD87.833988F0" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0AD87.833988F0 Content-Type: text/plain; charset="ISO-8859-1" Hi there, I have a situation where we have a bunch of Java files in packages, and to compile for our jar file, we would do something like this: javac com\blah\blah\Blah.java , and that will compile Blah.java and any source files under it that Blah.java references (obviously). However, when I use Ant with this in my buildfile: It will ONLY compile Blah.java .. it doesn't seem to be compiling all the other files "under it", or if it is it's not moving them to the destdir. Can anyone give me an idea on how to do what I want? Compiling just the srcdir to force it to compile EVERYTHING isn't an option, because there are other files under com/blah/blah that are not used for this particular JAR file. Brooks Duncan ------_=_NextPart_001_01C0AD87.833988F0 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Ant not building all files

Hi there,

I have a situation where we have a bunch of Java = files in packages, and to compile for our jar file, we would do = something like this:

javac com\blah\blah\Blah.java , and that will compile = Blah.java and any source files under it that Blah.java references = (obviously).

However, when I use Ant with this in my = buildfile:

<javac srcdir=3D"." = destdir=3D"${myBuildDir}">
   <classpath>
    <pathelement = path=3D"." />
    <pathelement = path=3D"${Env.EIS_HOME}/lib/jsdt.jar" />
   </classpath>
     <include = name=3D"com\blah\blah\Blah.java" />
    </javac>

It will ONLY compile Blah.java .. it doesn't seem to = be compiling all the other files "under it", or if it is it's = not moving them to the destdir.

Can anyone give me an idea on how to do what I = want?  Compiling just the srcdir to force it to compile EVERYTHING = isn't an option, because there are other files under com/blah/blah that = are not used for this particular JAR file.

Brooks Duncan

------_=_NextPart_001_01C0AD87.833988F0--