Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 32233 invoked from network); 5 Oct 2007 13:35:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Oct 2007 13:35:17 -0000 Received: (qmail 70496 invoked by uid 500); 5 Oct 2007 13:35:02 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 70467 invoked by uid 500); 5 Oct 2007 13:35:02 -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 70455 invoked by uid 99); 5 Oct 2007 13:35:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2007 06:35:02 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Sumit.Srivastava@ubs.com designates 151.191.175.212 as permitted sender) Received: from [151.191.175.212] (HELO dmz-vsgate1.stm.ibb.ubs.com) (151.191.175.212) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2007 13:35:01 +0000 Received: from dmz-vsgate1.stm.ibb.ubs.com (localhost [127.0.0.1]) by dmz-vsgate1.stm.ibb.ubs.com (Postfix) with ESMTP id C5D104A702 for ; Fri, 5 Oct 2007 09:34:09 -0400 (EDT) Received: by dmz-vsgate1.stm.ibb.ubs.com (Postfix, from userid 103) id A11E14A423; Fri, 5 Oct 2007 09:34:09 -0400 (EDT) Received: from sstm6034pmh.stm.swissbank.com (unknown [10.246.160.34]) by dmz-vsgate1.stm.ibb.ubs.com (Postfix) with ESMTP id 617794A702 for ; Fri, 5 Oct 2007 09:34:09 -0400 (EDT) Received: from NNYC0237PAP.ubsw.net (nnyc0237pap.nyc.swissbank.com [161.15.71.91]) by sstm6034pmh.stm.swissbank.com (Postfix) with ESMTP id 5BE3A187F for ; Fri, 5 Oct 2007 09:34:09 -0400 (EDT) Received: from NSTMC102PEX1.ubsw.net ([151.191.77.245]) by NNYC0237PAP.ubsw.net with Microsoft SMTPSVC(6.0.3790.1830); Fri, 5 Oct 2007 09:34:09 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: How to include multiple source directories in "compile" target Date: Fri, 5 Oct 2007 09:34:08 -0400 Message-ID: In-Reply-To: <3f126fb10710050620j7ed4a49bw1e394a0030ac3758@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to include multiple source directories in "compile" target Thread-Index: AcgHUpGPR3dLrxblR6OqQhjUz0fq9wAAXKzw References: <3f126fb10710050620j7ed4a49bw1e394a0030ac3758@mail.gmail.com> From: To: X-OriginalArrivalTime: 05 Oct 2007 13:34:09.0332 (UTC) FILETIME=[68954740:01C80754] Content-Type: multipart/mixed; boundary="retimiled-emim-mijooneldraneldeen" X-UBS-Disclaimer: Version $Revision: 1.29 (postfix edition)$ X-Virus-Checked: Checked by ClamAV on apache.org --retimiled-emim-mijooneldraneldeen Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C80754.6866B743" This is a multi-part message in MIME format. ------_=_NextPart_001_01C80754.6866B743 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Define two more properties like =20 src.java.company.transact =3D src/java/com/company/transact/ src.java.company.deals =3D src/java/com/company/deals And include in the target as=20 Warm Regards, Sumit Srivastava Voice : (203) 719 - 5894 Email :Sumit.Srivastava@ubs.com Chat :srivassb To go far, explore first what is near.. -----Original Message----- From: Alexis Votta [mailto:alexisvotta@gmail.com]=20 Sent: Friday, October 05, 2007 9:20 AM To: user@ant.apache.org Subject: How to include multiple source directories in "compile" target I have a compile target like the following. In 'build.properties' file, src.dir is defined to be:- src.dir =3D src/java The problem with this will include all sources under src/java. I want to do something like this:- Compile all sources in (1) "src/java/com/company/deals" (2) "src/java/com/company/transact/" There are many other folders under "src/java/com/company" which I do not want to compile for this target. So, please suggest how this can be done. Any help would be highly appreciated. - Alexis --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ------_=_NextPart_001_01C80754.6866B743 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable RE: How to include multiple source directories in = "compile" target

Hi,
Define two more = properties like 

src.java.company.transact =3D = src/java/com/company/transact/
src.java.company.deals =3D = src/java/com/company/deals

And include in the = target as

   = <javac srcdir=3D"${src.dir};
        =         ${src.java.company.transact};
        =         ${src.java.company.deals};"
         = destdir=3D"${build.classes.dir}"
    source=3D"${java.source}" = target=3D"{javac.target}">
      <compilerarg = line=3D"${javac.compilerargs}"/>




Warm = Regards,
Sumit = Srivastava
Voice : (203) 719 = - 5894
Email = :Sumit.Srivastava@ubs.com
Chat  = :srivassb

To go far, explore = first what is near..

-----Original = Message-----
From: Alexis = Votta [mailto:alexisvotta@gmail.com]
Sent: Friday, = October 05, 2007 9:20 AM
To: = user@ant.apache.org
Subject: How to = include multiple source directories in "compile" = target

I have a compile = target like the following.

  = <property file=3D"build.properties"/>

  <target = name=3D"compile">
    <mkdir = dir=3D"${build.classes.dir}"/>
    <javac = srcdir=3D"${src.dir}" = destdir=3D"${build.classes.dir}"
    source=3D"${java.source}" = target=3D"{javac.target}">
      <compilerarg = line=3D"${javac.compilerargs}"/>
    </javac>
  = </target>

In = 'build.properties' file, src.dir is defined to be:-

src.dir =3D = src/java

The problem with = this will include all sources under src/java. I want to do something = like this:-

Compile all = sources in (1) "src/java/com/company/deals" (2) = "src/java/com/company/transact/"

There are many = other folders under "src/java/com/company" which I do not want = to compile for this target. So, please suggest how this can be done. Any = help would be highly appreciated.

- = Alexis

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

------_=_NextPart_001_01C80754.6866B743-- --retimiled-emim-mijooneldraneldeen Content-Type: text/plain; charset=us-ascii; name="disclaim.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-Description: Legal Disclaimer Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mails are not encrypted and cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. --retimiled-emim-mijooneldraneldeen Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --retimiled-emim-mijooneldraneldeen--