From antlaurawalker@example.com Wed May 01 08:07:28 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 66091 invoked from network); 1 May 2002 08:07:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 08:07:28 -0000 Received: (qmail 17240 invoked by uid 97); 1 May 2002 08:07:31 -0000 Delivered-To: laurawalker@example.com Received: (qmail 17164 invoked by alias); 1 May 2002 08:07:31 -0000 Delivered-To: laurawalker@example.com Received: (qmail 17150 invoked by uid 97); 1 May 2002 08:07:31 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 17126 invoked by uid 98); 1 May 2002 08:07:30 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <0aa601c1f0e7$3e620f50$693213ac@isehara5> From: "sato" <laurawalker@example.com> To: "Ant Users List" <laurawalker@example.com> References: <72D488FDEADFD41185C100D0B781F93A01059468@INDIA> Subject: Re: I need help Date: Wed, 1 May 2002 17:07:31 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thank you so much for your reply, Sujan. That was not "error" but "duplicate classes" what it says about when you run ANT is this. [javac] /xxx/hoge/PROJECT F/packageName/updateMemberBean.java:16: duplicate clas s: PACKAGE A.updateMemberBean [javac] public class updateMemberBean implements SessionBean { [javac] It seems that ANT check out every PROJECT under /xxx/hoge directory when ANT compile PROJECTS which is on build.xml. I would think this is why "duplicate class" . In Project F we have same kinds of classes . that's why I do not want to compile PROJECT F even I get all PROJECTs I do not want to compile PROJECT F Thanks ----- Original Message ----- From: "Sujan Digumarti" <laurawalker@example.com> To: "'Ant Users List'" <laurawalker@example.com> Sent: Wednesday, May 01, 2002 3:49 PM Subject: RE: I need help > Send the exact error to understand your problem better. > Also use the -verbose option to see whats going on. > -----Original Message----- > From: sato [mailto:laurawalker@example.com] > Sent: Wednesday, May 01, 2002 12:19 PM > To: Ant Users List > Subject: I need help > > > hello people, > I have been using ANT for about one week, pretty much begginer, and > I could not find out how to compile certain projects on the same directory > for some projects I do not want to compile some projects after I get a bunch > of projects > using ant CVS. > I meant that I would like to compile PROJECT A PROJECT B PROJECT C PROJECT > E. > but not I do not want to compile PROJECT F, just leave it. > I did not mention PROJECT F in build.xml but ANT check out PROJECT F and get > me error > which says "Duplication error". > Anybody knows how to fix this? > Please help me this. > > > > Here is directory trees of mine : > /xxx/hoge/ PROJECT A > PROJECT B > PROJECT C > PROJECT D > PROJECT E > PROJECT F > > Here is a build.xml source about compiling part: > <target name="build_all"> > <ant dir="/xxx/hoge" antfile="projectA/build.xml"/> > <ant dir="/xxx/hoge" antfile="projectB/build.xml"/> > <ant dir="/xxx/hoge" antfile="projectC/build.xml"/> > <ant dir="/xxx/hoge" antfile="projectD/build.xml"/> > <ant dir="/xxx/hoge" antfile="projectE/build.xml"/> > </target> > > thank you for your kind. > > > > -- > To unsubscribe, e-mail: <mailto:laurawalker@example.com> > For additional commands, e-mail: <mailto:laurawalker@example.com> > > -- > To unsubscribe, e-mail: <mailto:laurawalker@example.com> > For additional commands, e-mail: <mailto:laurawalker@example.com> > > -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Wed May 01 08:34:29 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 74927 invoked from network); 1 May 2002 08:34:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 08:34:29 -0000 Received: (qmail 28 invoked by uid 97); 1 May 2002 08:34:34 -0000 Delivered-To: laurawalker@example.com Received: (qmail 29946 invoked by alias); 1 May 2002 08:34:33 -0000 Delivered-To: laurawalker@example.com Received: (qmail 29932 invoked by uid 97); 1 May 2002 08:34:33 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 29920 invoked by uid 98); 1 May 2002 08:34:32 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <72D488FDEADFD41185C100D0B781F93A0105946A@INDIA> From: Sujan Digumarti <laurawalker@example.com> To: 'Ant Users List' <laurawalker@example.com> Subject: RE: I need help Date: Wed, 1 May 2002 14:01:23 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The duplicate class problem occurs if the same java file is lying at two different places in the source directory. If your not calling the build.xml in PROJECT F, then the files inside that shouldn't get compiled. I think there is a problem with build.xml files you are using for the other projects, just check to see you are not explicitly compiling PROJECT F files. Rgds, Sujan -----Original Message----- From: sato [mailto:laurawalker@example.com] Sent: Wednesday, May 01, 2002 1:38 PM To: Ant Users List Subject: Re: I need help Thank you so much for your reply, Sujan. That was not "error" but "duplicate classes" what it says about when you run ANT is this. [javac] /xxx/hoge/PROJECT F/packageName/updateMemberBean.java:16: duplicate clas s: PACKAGE A.updateMemberBean [javac] public class updateMemberBean implements SessionBean { [javac] It seems that ANT check out every PROJECT under /xxx/hoge directory when ANT compile PROJECTS which is on build.xml. I would think this is why "duplicate class" . In Project F we have same kinds of classes . that's why I do not want to compile PROJECT F even I get all PROJECTs I do not want to compile PROJECT F Thanks ----- Original Message ----- From: "Sujan Digumarti" <laurawalker@example.com> To: "'Ant Users List'" <laurawalker@example.com> Sent: Wednesday, May 01, 2002 3:49 PM Subject: RE: I need help > Send the exact error to understand your problem better. > Also use the -verbose option to see whats going on. > -----Original Message----- > From: sato [mailto:laurawalker@example.com] > Sent: Wednesday, May 01, 2002 12:19 PM > To: Ant Users List > Subject: I need help > > > hello people, > I have been using ANT for about one week, pretty much begginer, and > I could not find out how to compile certain projects on the same directory > for some projects I do not want to compile some projects after I get a bunch > of projects > using ant CVS. > I meant that I would like to compile PROJECT A PROJECT B PROJECT C PROJECT > E. > but not I do not want to compile PROJECT F, just leave it. > I did not mention PROJECT F in build.xml but ANT check out PROJECT F and get > me error > which says "Duplication error". > Anybody knows how to fix this? > Please help me this. > > > > Here is directory trees of mine : > /xxx/hoge/ PROJECT A > PROJECT B > PROJECT C > PROJECT D > PROJECT E > PROJECT F > > Here is a build.xml source about compiling part: > <target name="build_all"> > <ant dir="/xxx/hoge" antfile="projectA/build.xml"/> > <ant dir="/xxx/hoge" antfile="projectB/build.xml"/> > <ant dir="/xxx/hoge" antfile="projectC/build.xml"/> > <ant dir="/xxx/hoge" antfile="projectD/build.xml"/> > <ant dir="/xxx/hoge" antfile="projectE/build.xml"/> > </target> > > thank you for your kind. > > > > -- > To unsubscribe, e-mail: <mailto:laurawalker@example.com> > For additional commands, e-mail: <mailto:laurawalker@example.com> > > -- > To unsubscribe, e-mail: <mailto:laurawalker@example.com> > For additional commands, e-mail: <mailto:laurawalker@example.com> > > -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Wed May 01 17:07:59 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 93871 invoked from network); 1 May 2002 17:07:59 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 17:07:59 -0000 Received: (qmail 19186 invoked by uid 97); 1 May 2002 17:07:52 -0000 Delivered-To: laurawalker@example.com Received: (qmail 19005 invoked by alias); 1 May 2002 17:07:51 -0000 Delivered-To: laurawalker@example.com Received: (qmail 18984 invoked by uid 97); 1 May 2002 17:07:50 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 18919 invoked by uid 98); 1 May 2002 17:07:49 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <laurawalker@example.com> From: "Mike Shoemaker" <laurawalker@example.com> To: <laurawalker@example.com> References: <002701c1f0a9$a8aace30$8c9b2fd8@sjain> Subject: Re: accessing environment variables Date: Wed, 1 May 2002 12:07:41 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Make sure you don't have two instances of ant installed on your box and the old path comes before the new one. Mike ----- Original Message ----- From: "Sharad Jain" <laurawalker@example.com> To: <laurawalker@example.com> Sent: Tuesday, April 30, 2002 7:46 PM Subject: RE: accessing environment variables Oops, Its a typo. I verified that I am using "environment". Although, to my surprise, the version of ant is 1.2. I tried downloading latest 1.4.1 from apache website. But even the 1.4.1 binary says version 1.2 when I try "ant -version" !! I tried downloading nightly build for 1.5alpha but still the same. Am I missing something here ... ? Thanks for help, -sjain ****************************************************** spelling? Are you sure you are spelling it "environment" and not "enviromnent" Not clear from your email. Also check the version reported by Ant when using -verbose flag. Conor > -----Original Message----- > From: Sharad Jain [mailto:laurawalker@example.com] > Sent: Tuesday, 30 April 2002 2:30 PM > To: laurawalker@example.com > Subject: accessing environment variables > > > I am using ant-1.4.1. > When I try, > > <project ....> > <property enviromnent="env"/> > </project> > > why does it complain, <property> doesn't support > the "environment" attribute ? > > Any idea ? > > -sjain > -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Wed May 01 17:10:59 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 94834 invoked from network); 1 May 2002 17:10:59 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 17:10:59 -0000 Received: (qmail 22912 invoked by uid 97); 1 May 2002 17:10:54 -0000 Delivered-To: laurawalker@example.com Received: (qmail 22838 invoked by alias); 1 May 2002 17:10:53 -0000 Delivered-To: laurawalker@example.com Received: (qmail 22824 invoked by uid 97); 1 May 2002 17:10:53 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 22797 invoked by uid 98); 1 May 2002 17:10:52 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <025601c1f133$a5f04e60$1219570f@ranier> From: "Steve Loughran" <laurawalker@example.com> To: "Ant Users List" <laurawalker@example.com> References: <72D488FDEADFD41185C100D0B781F93A01059468@INDIA> <0aa601c1f0e7$3e620f50$693213ac@isehara5> Subject: Re: I need help Date: Wed, 1 May 2002 10:14:27 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "sato" <laurawalker@example.com> To: "Ant Users List" <laurawalker@example.com> Sent: Wednesday, May 01, 2002 1:07 AM Subject: Re: I need help > Thank you so much for your reply, Sujan. > That was not "error" but "duplicate classes" > what it says about when you run ANT is this. > [javac] /xxx/hoge/PROJECT F/packageName/updateMemberBean.java:16: > duplicate clas > s: PACKAGE A.updateMemberBean > [javac] public class updateMemberBean implements SessionBean { > [javac] > > It seems that ANT check out every PROJECT under /xxx/hoge directory > when ANT compile PROJECTS which is on build.xml. > I would think this is why "duplicate class" . > In Project F we have same kinds of classes . that's why I do not want to > compile PROJECT F > even I get all PROJECTs I do not want to compile PROJECT F > > Thanks > > > Here is a build.xml source about compiling part: > > <target name="build_all"> > > <ant dir="/xxx/hoge" antfile="projectA/build.xml"/> > > <ant dir="/xxx/hoge" antfile="projectB/build.xml"/> > > <ant dir="/xxx/hoge" antfile="projectC/build.xml"/> > > <ant dir="/xxx/hoge" antfile="projectD/build.xml"/> > > <ant dir="/xxx/hoge" antfile="projectE/build.xml"/> > > </target> > > you arent using the ant call right. You are starting the sub project build files in your base directory, so it is pulling in projectF stuff Use <ant dir="projectA"/> -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Wed May 01 17:19:37 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 274 invoked from network); 1 May 2002 17:19:36 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 17:19:36 -0000 Received: (qmail 9858 invoked by uid 97); 1 May 2002 17:19:29 -0000 Delivered-To: laurawalker@example.com Received: (qmail 9775 invoked by alias); 1 May 2002 17:19:29 -0000 Delivered-To: laurawalker@example.com Received: (qmail 9761 invoked by uid 97); 1 May 2002 17:19:29 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 9749 invoked by uid 98); 1 May 2002 17:19:28 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <laurawalker@example.com> Date: Wed, 01 May 2002 13:19:49 -0500 From: Ruben Thomas Yanas <laurawalker@example.com> X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: Ant Users List <laurawalker@example.com> Subject: Re: Modern compiler - classic compiler References: <laurawalker@example.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N That seemed to fix it. Thank you so much. Jay Riddell wrote: > I *think* this is caused by not having $JAVA_HOME/lib/tools.jar > in the Classpath. > > On 4/30/02 12:51 PM, "Ruben Thomas Yanas" <laurawalker@example.com> wrote: > > > > > In trying to build the j2ee tutorial, I am getting > > an error. On a Windows 200 platform I have JBoss > > with Tomcat, and the JDK SDK 1.3.1. With Ant 1.4.1 > > > > I can compile the example classes from a command line without > > a problem. When I try building using ant, I get the > > errors: > > > > **************************************************** > > > > > > > > In trying to build the j2ee tutorial, I am getting > > an error. On a Windows 200 platformm I have JBoss > > with Tomcat, and the JDK SDK 1.3.1. With Ant 1.4.1 > > > > I can compile the example classes from a command line without > > a problem. When I try building using ant, I get the > > erorrs: > > > > ***************************************************** > > > > E:\J2SDK1_3_1\j2eetutorial\examples>ant -verbose web > > The system cannot find the path specified. > > The system cannot find the path specified. > > The system cannot find the path specified. > > Ant version 1.4 compiled on April 18 2002 > > Buildfile: build.xml > > Detected Java version: 1.3 in: e:\J2SDK1_3_1\JavaSDK\jre > > Detected OS: Windows 2000 > > parsing buildfile E:\J2SDK1_3_1\j2eetutorial\examples\build.xml with URI = > > file:E:/J2SDK1_ > > 3_1/j2eetutorial/examples/build.xml > > Project base dir set to: E:\J2SDK1_3_1\j2eetutorial\examples > > Build sequence for target `web' is [init, date, hello1, hello2, bookstore1, > > web-ejb, books > > tore2, bookstore3, web] > > Complete build sequence is [init, date, hello1, hello2, bookstore1, web-ejb, > > bookstore2, b > > ookstore3, web, create-storagebin-table, get-cci-jar, procs, cci, connector, > > create-salesr > > ep-table, cmproster, confirmer, htmlreader, create-procs-alias, > > savingsaccount, simplemess > > age, salesrep, create-coffee-table, enroller, checker, bank, cart, converter, > > order, stora > > gebin, teller, warehouse, ejb, all, about, create-enroller-table, > > create-savingsaccount-ta > > ble, create-web-db, create-warehouse-table, create-bank-table, clean, > > create-order-table, > > create-teller-table, prepare, create-ejb-db] > > > > init: > > [property] Loading Environment myenv. > > > > date: > > [copy] date.jsp omitted as > > E:\J2SDK1_3_1\j2eetutorial\examples\build\web\date\date.js > > p is up to date. > > [copy] duke.waving.gif omitted as > > E:\J2SDK1_3_1\j2eetutorial\examples\build\web\date\ > > duke.waving.gif is up to date. > > [copy] index.jsp omitted as > > E:\J2SDK1_3_1\j2eetutorial\examples\build\web\date\index. > > jsp is up to date. > > [copy] omitted as E:\J2SDK1_3_1\j2eetutorial\examples\build\web\date is > > up to date. > > [javac] MyDate.java added as > > E:\J2SDK1_3_1\j2eetutorial\examples\build\web\date\MyDate > > .class doesn't exist. > > [javac] MyLocales.java added as > > E:\J2SDK1_3_1\j2eetutorial\examples\build\web\date\MyL > > ocales.class doesn't exist. > > [javac] date.jsp skipped - don't know how to handle it > > [javac] date.txt skipped - don't know how to handle it > > [javac] duke.waving.gif skipped - don't know how to handle it > > [javac] index.jsp skipped - don't know how to handle it > > [javac] index.txt skipped - don't know how to handle it > > [javac] Modern compiler is not available - using classic compiler > > [javac] Compiling 2 source files to > > E:\J2SDK1_3_1\j2eetutorial\examples\build\web\date > > > > [javac] Using classic compiler > > [javac] Compilation args: -d > > E:\J2SDK1_3_1\j2eetutorial\examples\build\web\date -class > > path > > E:\J2SDK1_3_1\j2eetutorial\examples\build\web\date;E:\J2SDK1_3_1\JavaSDKEE\lib > > \j2ee.j > > > > ar;E:\J2SDK1_3_1\j2eetutorial\examples\build\web\hello1;E:\JBoss\JBoss-2.4.4_T > > omcat-4.0.1\ > > > > jboss\lib\crimson.jar;E:\JBoss\JBoss-2.4.4_Tomcat-4.0.1\jboss\lib\jaxp.jar;E:\ > > jakarta-ant- > > > > 1.4\bootstrap\lib\ant.jar -sourcepath > > E:\J2SDK1_3_1\j2eetutorial\examples\src\web\date -g: > > none > > [javac] Files to be compiled: > > E:\J2SDK1_3_1\j2eetutorial\examples\src\web\date\MyDate.java > > E:\J2SDK1_3_1\j2eetutorial\examples\src\web\date\MyLocales.java > > > > > > BUILD FAILED > > > > E:\J2SDK1_3_1\j2eetutorial\examples\build.xml:181: Cannot use classic > > compiler, as it is n > > ot available A common solution is to set the environment variable JAVA_HOME to > > your jdk di > > rectory. > > at > > org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Javac12.java:96) > > at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:530) > > at org.apache.tools.ant.Task.perform(Task.java:217) > > at org.apache.tools.ant.Target.execute(Target.java:164) > > at org.apache.tools.ant.Target.performTasks(Target.java:182) > > at org.apache.tools.ant.Project.executeTarget(Project.java:601) > > at org.apache.tools.ant.Project.executeTargets(Project.java:560) > > at org.apache.tools.ant.Main.runBuild(Main.java:454) > > at org.apache.tools.ant.Main.start(Main.java:153) > > at org.apache.tools.ant.Main.main(Main.java:176) > > > > Total time: 3 seconds > > > > The JAVAA_HOME variable is set and does seem to work when I compile > > on the command line. Any ideas how to fix the preceeding error? > > > > I am new to ant, but didn't have a problem building the > > JBoss server. > > > > **************************************************** > > > > The JAVAA_HOME variable is set and does seem to work when I compile > > on the command line. Any ideas how to fix the preceeding errors? > > > > I am new to ant, but didn't have a problem building the > > JBoss server. > > > > Regards, > > > > Tom > > > > > > > > -- > > To unsubscribe, e-mail: <mailto:laurawalker@example.com> > > For additional commands, e-mail: <mailto:laurawalker@example.com> > > > > -- > To unsubscribe, e-mail: <mailto:laurawalker@example.com> > For additional commands, e-mail: <mailto:laurawalker@example.com> -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Wed May 01 18:20:30 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 49382 invoked from network); 1 May 2002 18:20:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 18:20:29 -0000 Received: (qmail 14525 invoked by uid 97); 1 May 2002 18:20:24 -0000 Delivered-To: laurawalker@example.com Received: (qmail 14460 invoked by alias); 1 May 2002 18:20:24 -0000 Delivered-To: laurawalker@example.com Received: (qmail 14433 invoked by uid 97); 1 May 2002 18:20:23 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 14421 invoked by uid 98); 1 May 2002 18:20:23 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <laurawalker@example.com> From: Dominique Devienne <laurawalker@example.com> To: "'Ant Users List'" <laurawalker@example.com> Subject: RE: Patternset - overriding previous definition problem Date: Wed, 1 May 2002 13:20:19 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Well, I don't think you are doing anything wrong, I just wouldn't do it the same way ;-) By that I mean that you either define your <patternset> outside <copy> with an id, and refid it from <copy>, or you define it locally inside <copy> and thus don't need to assign it an id. So I'd do either: <project name="test" default="clean" basedir="."> <target name="clean" description="clean package"> <delete> <fileset dir="." includes="name="**/*.class" /> </delete> </target> </project> or <project name="test" default="clean" basedir="."> <patternset id="all_class_files"> <include name="**/*.class" /> </patternset> <target name="clean" description="clean package"> <delete> <fileset dir="."> <patternset refid="all_class_files" /> </fileset> </delete> </target> </project> the second form being better if you indeed use that same <patternset> in a <copy> or <move> task in the same build file (or any other task using the <patternset>. Otherwise the first is better IMHO. By thinking about it, a clean target usually deletes the directory containing the classes rather than the classes individually as you seem to be doing. Then again, your <fileset> starts from "." instead of a usually classes directory (classes/ or lib/classes/), so you might be doing something not that usual. --DD -----Original Message----- From: Charles Meyer [mailto:laurawalker@example.com] Sent: Tuesday, April 30, 2002 8:16 PM To: laurawalker@example.com Subject: Patternset - overriding previous definition problem With a build.xml file such as the following <project name="test" default="clean" basedir="."> <target name="clean" description="clean package"> <delete> <fileset dir="."> <patternset id="all_class_files"> <include name="**/*.class" /> </patternset> </fileset> </delete> </target> </project> when it is run you receive the message "Overriding previous definition of reference to all_class_files" which is not the case. I have used this same style patternset within copy rather than delete blocks and not gotten this message. Am I doing something wrong or is this a bug? Charles Meyer ---------------------------------------------------------------------------- ------------------------------------- Commission Junction - The Largest Pay-For-Performance Ad Network. laurawalker@example.com www.cj.com Ph: (949)954-7432 Fax: (949)954-7432 -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Wed May 01 19:08:12 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 90256 invoked from network); 1 May 2002 19:08:11 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 19:08:11 -0000 Received: (qmail 11761 invoked by uid 97); 1 May 2002 19:08:03 -0000 Delivered-To: laurawalker@example.com Received: (qmail 11710 invoked by alias); 1 May 2002 19:08:02 -0000 Delivered-To: laurawalker@example.com Received: (qmail 11678 invoked by uid 97); 1 May 2002 19:08:02 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 11660 invoked by uid 98); 1 May 2002 19:08:01 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <laurawalker@example.com> From: "Magesh Umasankar" <laurawalker@example.com> To: "Ant Users List" <laurawalker@example.com>, "Ant Developers List" <laurawalker@example.com> Subject: [ANN] Ant 1.5 Beta 1 Date: Wed, 1 May 2002 15:07:52 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: localhost.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The first beta for Ant 1.5 is now available: http://jakarta.apache.org/builds/jakarta-ant/release/v1.5Beta1/ I'd like the members of these lists to try out these builds and if there are no major problems in the next two days, I will send out announcements to a broader group of people. If you find any bugs, please either send a mail to ant-dev or raise a bug in BugZilla http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Ant Thanks for your help! Special thanks to those who tested the sneak preview that was published yesterday. Cheers, Magesh ************************************************************* * Optimist: A person who while falling from the * * Eiffel tower says in midway "See I am not injured yet." * ************************************************************* -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Wed May 01 20:06:42 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 37399 invoked from network); 1 May 2002 20:06:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 20:06:41 -0000 Received: (qmail 1386 invoked by uid 97); 1 May 2002 20:06:36 -0000 Delivered-To: laurawalker@example.com Received: (qmail 1305 invoked by alias); 1 May 2002 20:06:36 -0000 Delivered-To: laurawalker@example.com Received: (qmail 1291 invoked by uid 97); 1 May 2002 20:06:35 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 1279 invoked by uid 98); 1 May 2002 20:06:35 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Greg Hassan" <laurawalker@example.com> To: "'Ant Users List'" <laurawalker@example.com> Subject: 1.5 Release Date: Wed, 1 May 2002 14:05:42 -0600 Message-ID: <laurawalker@example.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0091_01C1F119.47DBAD20" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0091_01C1F119.47DBAD20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, Is there a target date for Ant 1.5? Greg ------=_NextPart_000_0091_01C1F119.47DBAD20-- From antlaurawalker@example.com Wed May 01 21:05:04 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 80869 invoked from network); 1 May 2002 21:05:04 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 21:05:04 -0000 Received: (qmail 3243 invoked by uid 97); 1 May 2002 21:05:00 -0000 Delivered-To: laurawalker@example.com Received: (qmail 3182 invoked by alias); 1 May 2002 21:05:00 -0000 Delivered-To: laurawalker@example.com Received: (qmail 3164 invoked by uid 97); 1 May 2002 21:04:59 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 3149 invoked by uid 98); 1 May 2002 21:04:59 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <laurawalker@example.com> From: "Erik Hatcher" <laurawalker@example.com> To: "Ant Users List" <laurawalker@example.com> References: <laurawalker@example.com> Subject: Re: 1.5 Release Date: Wed, 1 May 2002 17:04:50 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yes, today! Check the Ant website. ----- Original Message ----- From: "Greg Hassan" <laurawalker@example.com> To: "'Ant Users List'" <laurawalker@example.com> Sent: Wednesday, May 01, 2002 4:05 PM Subject: 1.5 Release > Hi, > > Is there a target date for Ant 1.5? > > Greg > -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Wed May 01 21:09:40 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 83785 invoked from network); 1 May 2002 21:09:39 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 21:09:39 -0000 Received: (qmail 10164 invoked by uid 97); 1 May 2002 21:09:37 -0000 Delivered-To: laurawalker@example.com Received: (qmail 10094 invoked by alias); 1 May 2002 21:09:36 -0000 Delivered-To: laurawalker@example.com Received: (qmail 10080 invoked by uid 97); 1 May 2002 21:09:36 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 10068 invoked by uid 98); 1 May 2002 21:09:35 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <laurawalker@example.com> From: "Magesh Umasankar" <laurawalker@example.com> To: "Ant Users List" <laurawalker@example.com> References: <laurawalker@example.com> <laurawalker@example.com> Subject: Re: 1.5 Release Date: Wed, 1 May 2002 17:08:57 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: localhost.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ahem! It is still in its first beta though ;-) The final release is scheduled for July 1. Cheers, Magesh ****************************************************** * Compromise: The art of dividing a cake in such a * * way that everybody believes others too got the * * same small size pieces. * ****************************************************** ----- Original Message ----- From: "Erik Hatcher" <laurawalker@example.com> To: "Ant Users List" <laurawalker@example.com> Sent: Wednesday, May 01, 2002 5:04 PM Subject: Re: 1.5 Release > Yes, today! Check the Ant website. > > > ----- Original Message ----- > From: "Greg Hassan" <laurawalker@example.com> > To: "'Ant Users List'" <laurawalker@example.com> > Sent: Wednesday, May 01, 2002 4:05 PM > Subject: 1.5 Release > > > > Hi, > > > > Is there a target date for Ant 1.5? > > > > Greg > > > > > -- > To unsubscribe, e-mail: <mailto:laurawalker@example.com> > For additional commands, e-mail: <mailto:laurawalker@example.com> > -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Wed May 01 21:10:47 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 84989 invoked from network); 1 May 2002 21:10:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 21:10:46 -0000 Received: (qmail 11951 invoked by uid 97); 1 May 2002 21:10:44 -0000 Delivered-To: laurawalker@example.com Received: (qmail 11885 invoked by alias); 1 May 2002 21:10:43 -0000 Delivered-To: laurawalker@example.com Received: (qmail 11871 invoked by uid 97); 1 May 2002 21:10:43 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 11859 invoked by uid 98); 1 May 2002 21:10:42 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Greg Hassan" <laurawalker@example.com> To: "Ant Users List" <laurawalker@example.com> Subject: RE: 1.5 Release Date: Wed, 1 May 2002 15:09:48 -0600 Message-ID: <laurawalker@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <laurawalker@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks! > -----Original Message----- > From: Magesh Umasankar [mailto:laurawalker@example.com] > Sent: Wednesday, May 01, 2002 3:09 PM > To: Ant Users List > Subject: Re: 1.5 Release > > > Ahem! It is still in its first beta though ;-) > The final release is scheduled for July 1. > > Cheers, > Magesh > > ****************************************************** > * Compromise: The art of dividing a cake in such a * > * way that everybody believes others too got the * > * same small size pieces. * > ****************************************************** > ----- Original Message ----- > From: "Erik Hatcher" <laurawalker@example.com> > To: "Ant Users List" <laurawalker@example.com> > Sent: Wednesday, May 01, 2002 5:04 PM > Subject: Re: 1.5 Release > > > > Yes, today! Check the Ant website. > > > > > > ----- Original Message ----- > > From: "Greg Hassan" <laurawalker@example.com> > > To: "'Ant Users List'" <laurawalker@example.com> > > Sent: Wednesday, May 01, 2002 4:05 PM > > Subject: 1.5 Release > > > > > > > Hi, > > > > > > Is there a target date for Ant 1.5? > > > > > > Greg > > > > > > > > > -- > > To unsubscribe, e-mail: <mailto:laurawalker@example.com> > For additional commands, e-mail: <mailto:laurawalker@example.com> > -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Wed May 01 21:11:10 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 85160 invoked from network); 1 May 2002 21:11:10 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 21:11:10 -0000 Received: (qmail 13459 invoked by uid 97); 1 May 2002 21:11:07 -0000 Delivered-To: laurawalker@example.com Received: (qmail 13384 invoked by alias); 1 May 2002 21:11:06 -0000 Delivered-To: laurawalker@example.com Received: (qmail 13370 invoked by uid 97); 1 May 2002 21:11:06 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 13358 invoked by uid 98); 1 May 2002 21:11:05 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) content-class: urn:content-classes:message Subject: RE: 1.5 Release Date: Wed, 1 May 2002 14:11:03 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-ID: <laurawalker@example.com> X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 X-MS-TNEF-Correlator: Thread-Topic: 1.5 Release Thread-Index: AcHxVIPa6Y91xUouQZWy3RlWjYnGjQAAAV5A From: "Irfan Niaz" <laurawalker@example.com> To: "Ant Users List" <laurawalker@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi,=20 On Build using Ant I am getting DUPLICATE CLASS error while I only have one copy of the class. Any clues? Regards, Irfan -----Original Message----- From: Magesh Umasankar [mailto:laurawalker@example.com]=20 Sent: Wednesday, May 01, 2002 2:09 PM To: Ant Users List Subject: Re: 1.5 Release Ahem! It is still in its first beta though ;-) The final release is scheduled for July 1. Cheers, Magesh ****************************************************** * Compromise: The art of dividing a cake in such a * * way that everybody believes others too got the * * same small size pieces. * ****************************************************** ----- Original Message ----- From: "Erik Hatcher" <laurawalker@example.com> To: "Ant Users List" <laurawalker@example.com> Sent: Wednesday, May 01, 2002 5:04 PM Subject: Re: 1.5 Release > Yes, today! Check the Ant website. > > > ----- Original Message ----- > From: "Greg Hassan" <laurawalker@example.com> > To: "'Ant Users List'" <laurawalker@example.com> > Sent: Wednesday, May 01, 2002 4:05 PM > Subject: 1.5 Release > > > > Hi, > > > > Is there a target date for Ant 1.5? > > > > Greg > > > > > -- > To unsubscribe, e-mail: <mailto:laurawalker@example.com> > For additional commands, e-mail: <mailto:laurawalker@example.com> > -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Wed May 01 22:41:01 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 39603 invoked from network); 1 May 2002 22:41:00 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 22:41:00 -0000 Received: (qmail 9977 invoked by uid 97); 1 May 2002 22:40:57 -0000 Delivered-To: laurawalker@example.com Received: (qmail 9860 invoked by alias); 1 May 2002 22:40:56 -0000 Delivered-To: laurawalker@example.com Received: (qmail 9795 invoked by uid 97); 1 May 2002 22:40:55 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 9748 invoked by uid 98); 1 May 2002 22:40:54 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <laurawalker@example.com> Date: Thu, 02 May 2002 08:48:08 +1000 From: Conor MacNeill <laurawalker@example.com> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226 X-Accept-Language: en-us, en-au MIME-Version: 1.0 To: Ant Users List <laurawalker@example.com> Subject: Re: 1.5 Release References: <laurawalker@example.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Irfan Niaz wrote: > Hi, > > On Build using Ant I am getting DUPLICATE CLASS error while I only have > one copy of the class. > > Any clues? > Regards, > Irfan > Um, what has this to do with the 1.5 release? Are you too lazy to create a new message with an appropriate subject? While you are at it you could actually provide some information about your error. 1. How is your <javac> setup? 2. What is reporting the error and what exactly does it say? 3. A -debug output of the compile run would be good. Have you checked your source? Could the problem be there? Many non-ant problems can cause this behaviour (case of Java filename, incorrect package defs, etc). Conor -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Wed May 01 22:52:54 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 44978 invoked from network); 1 May 2002 22:52:53 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 22:52:53 -0000 Received: (qmail 6729 invoked by uid 97); 1 May 2002 22:52:50 -0000 Delivered-To: laurawalker@example.com Received: (qmail 6625 invoked by alias); 1 May 2002 22:52:49 -0000 Delivered-To: laurawalker@example.com Received: (qmail 6588 invoked by uid 97); 1 May 2002 22:52:49 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 6557 invoked by uid 98); 1 May 2002 22:52:48 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) content-class: urn:content-classes:message Subject: Duplicate class problem : Conor MacNeill Date: Wed, 1 May 2002 15:52:46 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-ID: <laurawalker@example.com> X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 X-MS-TNEF-Correlator: Thread-Topic: Duplicate class problem : Conor MacNeill Thread-Index: AcHxYUXlml0SOWUPR/ObgvwgN1RdowAAC2CA From: "Irfan Niaz" <laurawalker@example.com> To: "Ant Users List" <laurawalker@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks for your reply.=20 The classes in source directory are not duplicated.=20 I am using=20 java -Dant.home=3Dc:\javaetc\ant\jakarta-ant-1.4.1 org.apache.tools.ant.Main -buildfile build.xml Message compileMol: [javac] Compiling 93 source files to C:\MOL\build\WEB-INF\classes [javac] C:\MOL\src_v1.1\java\com\koo\mol\user\UserSettings.java:12: duplicate class: java.com.koo.molio.user.UserSettings [javac] public class UserSettings { [javac] ^ For sure there is only once instance of UserSettings.java Package and source settings looks goods Regards, Irfan -----Original Message----- From: Conor MacNeill [mailto:laurawalker@example.com]=20 Sent: Wednesday, May 01, 2002 3:48 PM To: Ant Users List Subject: Re: 1.5 Release Irfan Niaz wrote: > Hi,=20 >=20 > On Build using Ant I am getting DUPLICATE CLASS error while I only have > one copy of the class. >=20 > Any clues? > Regards, > Irfan >=20 Um, what has this to do with the 1.5 release? Are you too lazy to create a new=20 message with an appropriate subject? While you are at it you could actually=20 provide some information about your error. 1. How is your <javac> setup? 2. What is reporting the error and what exactly does it say? 3. A -debug output of the compile run would be good. Have you checked your source? Could the problem be there? Many non-ant problems=20 can cause this behaviour (case of Java filename, incorrect package defs, etc). Conor -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Wed May 01 23:50:59 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 67991 invoked from network); 1 May 2002 23:50:59 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 May 2002 23:50:59 -0000 Received: (qmail 11453 invoked by uid 97); 1 May 2002 23:50:57 -0000 Delivered-To: laurawalker@example.com Received: (qmail 11343 invoked by alias); 1 May 2002 23:50:56 -0000 Delivered-To: laurawalker@example.com Received: (qmail 11324 invoked by uid 97); 1 May 2002 23:50:56 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 11286 invoked by uid 98); 1 May 2002 23:50:55 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <laurawalker@example.com> Date: Thu, 02 May 2002 09:58:08 +1000 From: Conor MacNeill <laurawalker@example.com> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226 X-Accept-Language: en-us, en-au MIME-Version: 1.0 To: Ant Users List <laurawalker@example.com> Subject: Re: Duplicate class problem : Conor MacNeill References: <laurawalker@example.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Irfan Niaz wrote: > Thanks for your reply. > > The classes in source directory are not duplicated. > > I am using > java -Dant.home=c:\javaetc\ant\jakarta-ant-1.4.1 > org.apache.tools.ant.Main -buildfile build.xml > > Message > compileMol: > [javac] Compiling 93 source files to C:\MOL\build\WEB-INF\classes > [javac] C:\MOL\src_v1.1\java\com\koo\mol\user\UserSettings.java:12: > duplicate class: java.com.koo.molio.user.UserSettings > [javac] public class UserSettings { > [javac] ^ > > For sure there is only once instance of UserSettings.java > > Package and source settings looks goods > > Regards, > Irfan Irfan, I like the subject :-) This isn't a problem with Ant, I'm pretty sure. I've had this error a few times myself and I can never remember the cause. Could you check your source files carefully, in particular whether a source file with a different name declares the same class. (try grepping for UserSettings)? Could be a cut and paste. The next thing to do is to run ant with -debug. This will show you the javac command line used by Ant. Check it out for anything odd. You could cut and paste it to the command line to run javac directly without Ant. This should help us to eliminate Ant as a cause of the problem. Conor Conor -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Thu May 02 02:57:31 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 21369 invoked from network); 2 May 2002 02:57:31 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 May 2002 02:57:31 -0000 Received: (qmail 12847 invoked by uid 97); 2 May 2002 02:57:32 -0000 Delivered-To: laurawalker@example.com Received: (qmail 12766 invoked by alias); 2 May 2002 02:57:31 -0000 Delivered-To: laurawalker@example.com Received: (qmail 12752 invoked by uid 97); 2 May 2002 02:57:30 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 12734 invoked by uid 98); 2 May 2002 02:57:29 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Posted-Date: Thu, 2 May 2002 04:57:23 +0200 (DST) Date: Thu, 2 May 2002 11:53:36 +0900 From: Tony <laurawalker@example.com> To: laurawalker@example.com Subject: How do I specify multiple Windows directories in one <property name> statement? Message-Id: <laurawalker@example.com> X-Mailer: Sylpheed version 0.7.5 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Folks How do I write the line below for Windows <property name="test.path" value="/home/project/src1:/home/project/src2"/> this time SRC1_DIR=C:\project\src1 SRC2_DIR=C:\project\src2 If I write <property name="test.path" value="C:\project\src1:C:\project\src2"/> then this is clearly wrong since Windows uses ":" in its paths names. So can someone please tell me how I write this in Widows. Cheers Tony -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Thu May 02 02:59:29 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 21837 invoked from network); 2 May 2002 02:59:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 May 2002 02:59:29 -0000 Received: (qmail 14606 invoked by uid 97); 2 May 2002 02:59:31 -0000 Delivered-To: laurawalker@example.com Received: (qmail 14400 invoked by alias); 2 May 2002 02:59:30 -0000 Delivered-To: laurawalker@example.com Received: (qmail 14382 invoked by uid 97); 2 May 2002 02:59:29 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 14369 invoked by uid 98); 2 May 2002 02:59:28 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <laurawalker@example.com> From: Eddie Bernard <laurawalker@example.com> To: 'Ant Users List' <laurawalker@example.com> Subject: RE: How do I specify multiple Windows directories in one <propert y name> statement? Date: Wed, 1 May 2002 19:57:45 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N how about a semicolon (;) instead of a colon (:) -----Original Message----- From: Tony [mailto:laurawalker@example.com] Sent: Wednesday, May 01, 2002 7:54 PM To: laurawalker@example.com Subject: How do I specify multiple Windows directories in one <property name> statement? Hi Folks How do I write the line below for Windows <property name="test.path" value="/home/project/src1:/home/project/src2"/> this time SRC1_DIR=C:\project\src1 SRC2_DIR=C:\project\src2 If I write <property name="test.path" value="C:\project\src1:C:\project\src2"/> then this is clearly wrong since Windows uses ":" in its paths names. So can someone please tell me how I write this in Widows. Cheers Tony -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Thu May 02 07:09:39 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 12236 invoked from network); 2 May 2002 07:09:39 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 May 2002 07:09:39 -0000 Received: (qmail 21160 invoked by uid 97); 2 May 2002 07:09:42 -0000 Delivered-To: laurawalker@example.com Received: (qmail 21057 invoked by alias); 2 May 2002 07:09:42 -0000 Delivered-To: laurawalker@example.com Received: (qmail 21037 invoked by uid 97); 2 May 2002 07:09:41 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 21025 invoked by uid 98); 2 May 2002 07:09:40 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Authentication-Warning: bodewig.bost.de: bodewig set sender to laurawalker@example.com using -f To: laurawalker@example.com Subject: Re: "if" task - ant-contrib needs nightlies :-) References: <laurawalker@example.com> From: Stefan Bodewig <laurawalker@example.com> Date: 02 May 2002 09:09:34 +0200 In-Reply-To: <laurawalker@example.com> Message-ID: <laurawalker@example.com> Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, 30 Apr 2002, Scott Ellsworth <laurawalker@example.com> wrote: > I suspect that the resistance to ant-contrib would be lowered if > there were a downloadable zip or gz file with the jar and the > properties neatly boxed up. Wrong list 8-) Even if two of the five people with write access to the ant-contrib project are Ant committers as well, it is an independent project. I'll propose a first release of ant-contrib shortly. I was waiting for Ant 1.5beta as most of the tasks in ant-contrib don't really work with 1.4.1. > Things in the core or optional side inherit the nightly GUMP builds > automatically. Speaking of GUMP builds, ant-contrib is in Gump, which means you can download the latest jars from <http://gump.covalent.net/jars/> - just go to <http://jakarta.apache.org/gump/> and click on the Jars link. Stefan -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Thu May 02 07:11:22 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 12784 invoked from network); 2 May 2002 07:11:22 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 May 2002 07:11:22 -0000 Received: (qmail 22874 invoked by uid 97); 2 May 2002 07:11:26 -0000 Delivered-To: laurawalker@example.com Received: (qmail 22791 invoked by alias); 2 May 2002 07:11:25 -0000 Delivered-To: laurawalker@example.com Received: (qmail 22777 invoked by uid 97); 2 May 2002 07:11:25 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 22759 invoked by uid 98); 2 May 2002 07:11:24 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Authentication-Warning: bodewig.bost.de: bodewig set sender to laurawalker@example.com using -f To: laurawalker@example.com Subject: Re: Patternset - overriding previous definition problem References: <laurawalker@example.com> From: Stefan Bodewig <laurawalker@example.com> Date: 02 May 2002 09:11:21 +0200 In-Reply-To: <laurawalker@example.com> Message-ID: <laurawalker@example.com> Lines: 11 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, 30 Apr 2002, Charles Meyer <laurawalker@example.com> wrote: > when it is run you receive the message "Overriding previous > definition of reference to all_class_files" which is not the case. In some way it is - but you are overriding the previous definition with itself (don't want to bore you with the details). Ant 1.5beta won't give you this message anymore. Stefan -- To unsubscribe, e-mail: <mailto:laurawalker@example.com> For additional commands, e-mail: <mailto:laurawalker@example.com> From antlaurawalker@example.com Thu May 02 08:21:34 2002 Return-Path: <antlaurawalker@example.com> Delivered-To: laurawalker@example.com Received: (qmail 52299 invoked from network); 2 May 2002 08:21:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 May 2002 08:21:34 -0000 Received: (qmail 19024 invoked by uid 97); 2 May 2002 08:21:38 -0000 Delivered-To: laurawalker@example.com Received: (qmail 18878 invoked by alias); 2 May 2002 08:21:37 -0000 Delivered-To: laurawalker@example.com Received: (qmail 18861 invoked by uid 97); 2 May 2002 08:21:37 -0000 Mailing-List: contact laurawalker@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:laurawalker@example.com> List-Subscribe: <mailto:laurawalker@example.com> List-Help: <mailto:laurawalker@example.com> List-Post: <mailto:laurawalker@example.com> List-Id: "Ant Users List" <ant-user.jakarta.apache.org> Reply-To: "Ant Users List" <laurawalker@example.com> Delivered-To: mailing list laurawalker@example.com Received: (qmail 18839 invoked by uid 98); 2 May 2002 08:21:36 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <laurawalker@example.com> Date: Thu, 2 May 2002 01:21:35 -0700 (PDT) From: Douglas WF Acheson <laurawalker@example.com> Subject: Re: "if" task To: Ant Users List <laurawalker@example.com> In-Reply-To: <01ae01c1f073$ba425860$1219570f@ranier> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N It just so happens that I have both an if and a foreach task :-) I have primarilly used them on development projects in the past and have not provided much support for the tasks. If you want the code please let me know and I will give them to you. Douglas WF Acheson --- Steve Loughran <laurawalker@example.com> wrote: > > ----- Original Message ----- > From: "Gordon Tyler" <laurawalker@example.com> > To: "Ant Users List" <laurawalker@example.com> > Sent: Tuesday, April 30, 2002 10:01 AM > Subject: Re: "if" task > > > > I'll add another annoying me too message to this thread. > > > > We have a fairly complex Ant build script (just under 1000 lines, > not > > counting external properties files and a separate 300 line > bootstrap > nightly > > build.xml) and it would be so much better with foreach and if > tasks. > > I'm -0 on if/then; ok with try/catch > > Maybe as a former prolog programmer it makes more sense to me, but I > dont > have too many needs for conditionality apart from <fail>, even doing > complex > deployment stuff. What we have right now is a reasonable conceptual > model, > and too much <if><then>, <for>, gets in the way of doing the stuff in > a > significantly better way. > > > > > Yes, we could use the contrib tasks but there is some internal > resistance > to > > using non-core tasks and I don't have much say in what
{'source': 'Apache Software Foundation Public Mail Archives'}