Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 213 invoked from network); 24 Nov 2008 18:38:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Nov 2008 18:38:36 -0000 Received: (qmail 54952 invoked by uid 500); 24 Nov 2008 18:38:39 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 54916 invoked by uid 500); 24 Nov 2008 18:38:39 -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 54905 invoked by uid 99); 24 Nov 2008 18:38:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2008 10:38:39 -0800 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 [216.35.197.68] (HELO s401.sureserver.com) (216.35.197.68) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2008 18:37:13 +0000 Received: (qmail 27250 invoked by uid 518); 24 Nov 2008 18:37:43 -0000 Message-ID: <20081124183743.27249.qmail@s401.sureserver.com> Reply-To: From: To: "Ant Users List" Subject: =?utf-8?B?UmU6IEhvdyB0byBmaWd1cmUgb3V0IHdoYXQgaXMgaW4gbXkgY2xhc3MgcGF0aD8=?= Date: Mon, 24 Nov 2008 18:37:43 +0000 MIME-Version: 1.0 X-Mailer: WebMail 2.55 X-Originating-IP: 198.178.8.81 X-Originating-Email: dave.alvarado@remanresource.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi David, DEBUG: project.class.path.property = "${project.class.path}" I followed your suggestion, only I put the FAIL statement in the target being executed ... but what is printed out on the screen is /export/third-party/etsbea/staging/wls_9.2.2/CedarPoint_Service/ant-common-checks.xml:41: DEBUG: project.class.path.property = "${project.class.path}" Am I using the right syntax for printing this out? Why isn't evaluating what is in the {}'s? Thanks, - Dave > -------Original Message------- > From: David Weintraub > Subject: Re: How to figure out what is in my class path? > Sent: Nov 24 '08 18:11 > > Try printing out project.class.path right after you define it: > > > > DEBUG: project.class.path.property = > "${project.class.path.property}" > > The will stop the build from progressing, so you can see the > classpath. You could use instead if you prefer. > -- > David Weintraub > qazwart@gmail.com > > > > On Mon, Nov 24, 2008 at 1:03 PM,   wrote: > > I tried your suggestion, but no luck.  I think I'm not including my classpath correctly in my build-junit-test.xml script.  I have ... > > > > > >   > >   > >   > >   > >   > > > > and within "build.xml" I define what you suggest ... > > > >   > >         > >                 > >         > >         > >         > >   > > > > But how does my "" script understand to use the project.class.path as its classpath? > > > >  - Dave > > > > > >>  -------Original Message------- > >>  From: Marc Weber > >>  Subject: Re: How to figure out what is in my class path? > >>  Sent: Nov 24 '08 16:56 > >> > >>  On Mon, Nov 24, 2008 at 04:40:19PM +0000, dave.alvarado@remanresource.com wrote: > >>  > Hi, > >>  > > >>  > Is there a way to see what ANT thinks is in my classpath?  I have a condition that's failing > >>  > > >>  >   > >>  >     > >>  >   > >>  > > >>  >   > >>  >     > >>  >   > >>  > > >>  > But the JAR file (junit.jar) is set up in my project.class.path ... > >>  > > >>  >   > >>  >         > >>  >                 > >>  >         > >>  >         > >>  >   > >>  > > >>  > Not quite sure the right way to debug this.  Thanks, - Dave > >>  > > >>  > --------------------------------------------------------------------- > >>  > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > >>  > For additional commands, e-mail: user-help@ant.apache.org > >> > >>  That's a bug I've posted some days ago. The solution is to add the > >>  classpath in the build.xml file manually after (after ) > >>       > >> > >>  ${junit}/junit.jar is your junit.jar file > >> > >>  sed command: > >>  sed -i 's@@@' build.xml > >> > >> > >>  Hopefully someone with more knowledge about the ant build system can add > >>  a one line fix so that this can be configured by -D or by > >>  bulid.properties. > >> > >>  If you want I can prepare a patch. Just tell me to do so. > >> > >>  Anyway I wonder how ant devs do compile ant? > >> > >>  Sincerly > >>  Marc Weber > >> > >>  --------------------------------------------------------------------- > >>  To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > >>  For additional commands, e-mail: user-help@ant.apache.org > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org