Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 24325 invoked from network); 23 Jun 2008 10:40:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jun 2008 10:40:55 -0000 Received: (qmail 16624 invoked by uid 500); 23 Jun 2008 10:40:53 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 16290 invoked by uid 500); 23 Jun 2008 10:40:52 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 16279 invoked by uid 99); 23 Jun 2008 10:40:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2008 03:40:52 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [213.9.79.54] (HELO box7954.elkhouse.de) (213.9.79.54) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2008 10:40:00 +0000 Received: from [212.126.219.82] (helo=[192.168.1.46]) by box7954.elkhouse.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KAisS-0000o7-MV for user@ant.apache.org; Mon, 23 Jun 2008 12:02:25 +0200 Subject: Advanced includes/excludes for javac From: Roman Kennke To: user@ant.apache.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-BWJMDme3tcILHCeHb7Io" Date: Mon, 23 Jun 2008 12:40:14 +0200 Message-Id: <1214217614.1136.10.camel@moonlight> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 X-Virus-Checked: Checked by ClamAV on apache.org --=-BWJMDme3tcILHCeHb7Io Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi there, I have a problem with the javac task that I cannot solve, maybe somebody can help me. Let's say I have a directory layout like this: src/proj1/Class1.java =EF=BB=BFsrc/proj1/Class2.java =EF=BB=BFsrc/proj2/Class1.java =EF=BB=BFsrc/proj2/Class2.java Now I want to compile Class1 from proj1 and Class2 from proj2 and exclude the other two. Also, I need to compile those in one go because they depend on each other. I didn't find a way to implement this using the srcdir attribute, or nested src tags. Any ideas? Cheers, Roman --=20 http://kennke.org/blog/ --=-BWJMDme3tcILHCeHb7Io Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIX32Ou8ApkxNPXNERAmbbAKDk+Kcw1K3c2DMFxSJCAnZZdyPWIgCePAhC c8ecK+TAlI7v00KHdFU/8oY= =np+7 -----END PGP SIGNATURE----- --=-BWJMDme3tcILHCeHb7Io--