Re: AW: AW: Have an Ant script run even with missing JARs?

2006-02-28 Thread Glen Mazza
[EMAIL PROTECTED] wrote: Jan and I are both producing the same answer. Here's the overlap: yepp ;-) In earlier times (prior to Ant 1.6) this was the only possibility to do more difficult initializations because only a few tasks were allowed to be outside of a . Since 1.6 you could do (nearly

AW: AW: Have an Ant script run even with missing JARs?

2006-02-28 Thread Jan.Materne
>Jan and I are both producing the same answer. Here's the overlap: yepp ;-) In earlier times (prior to Ant 1.6) this was the only possibility to do more difficult initializations because only a few tasks were allowed to be outside of a . Since 1.6 you could do (nearly) everything outside of a .

Re: AW: Have an Ant script run even with missing JARs?

2006-02-28 Thread Joe Schmetzer
On Tue, 2006-02-28 at 09:24 -0500, Glen Mazza wrote: > [EMAIL PROTECTED] wrote: > > If you´re doing the in a init-target and let the deploy-target > > depend on that, should work. > > Is there really such a thing as an "" -- I can't find it > anywhere in the manual, and Google isn't being much of

Re: AW: Have an Ant script run even with missing JARs?

2006-02-28 Thread James Abley
ot; to a very common "init target" that > lots of build scripts have.) > > Thanks, > Glen > > > > > >>-Ursprüngliche Nachricht- > >>Von: Glen Mazza [mailto:[EMAIL PROTECTED] > >>Gesendet: Dienstag, 28. Februar 2006 14:55

Re: AW: Have an Ant script run even with missing JARs?

2006-02-28 Thread Glen Mazza
g "init-target" to a very common "init target" that lots of build scripts have.) Thanks, Glen -Ursprüngliche Nachricht- Von: Glen Mazza [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 28. Februar 2006 14:55 An: user@ant.apache.org Betreff: Have an Ant script run ev

Re: Have an Ant script run even with missing JARs?

2006-02-28 Thread Glen Mazza
James Abley wrote: What scope are you doing the taskdefs for the Tomcat ANT tasks? I guess "global" -- the s are immediate children of the root. But I was unaware of the concept of scope in Ant -- where is it defined in the manual[1]--I can read up on this, or if someone can give me a qu

AW: Have an Ant script run even with missing JARs?

2006-02-28 Thread Jan.Materne
If you´re doing the in a init-target and let the deploy-target depend on that, should work. Jan >-Ursprüngliche Nachricht- >Von: Glen Mazza [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 28. Februar 2006 14:55 >An: user@ant.apache.org >Betreff: Have an Ant script run ev

Re: Have an Ant script run even with missing JARs?

2006-02-28 Thread James Abley
What scope are you doing the taskdefs for the Tomcat ANT tasks? On Tue, 2006-02-28 at 13:55, Glen Mazza wrote: > Hello, > > I have an Ant build script for dynamic deployment of a web application > to Tomcat. This requires a special Tomcat JARs to be added to the Ant > lib directory to run. No

Have an Ant script run even with missing JARs?

2006-02-28 Thread Glen Mazza
Hello, I have an Ant build script for dynamic deployment of a web application to Tomcat. This requires a special Tomcat JARs to be added to the Ant lib directory to run. No problem here--Ant runs fine once I add the jar. But I have small additional target unrelated to deployment I would lik

RE: Missing Jars

2006-02-27 Thread Anderson, Rob (Global Trade)
build.xml. You might benefit from reading this... http://www.catb.org/~esr/faqs/smart-questions.html -Rob A > -Original Message- > From: Harshal Chavda [mailto:[EMAIL PROTECTED] > Sent: Monday, February 27, 2006 9:35 AM > To: user@ant.apache.org > Subject: Missing Jars > &

Missing Jars

2006-02-27 Thread Harshal Chavda
  Hello to all users My configuration is --pentium 4,CPU 3GHz,512 MB RAM,windows XP professional --JDK 1.5,Ant 1.6.3,Tomcat 4.1,Cruisecontrol 2.2.1 --My knowledge of java is limited to wrting simple elementary programs. I would like to know that after I create a jar file can I make it hidden

Missing Jars

2006-02-27 Thread Harshal Chavda
  I would like to know that after I create a jar file can I make it hidden (using Ant tasks in script)? Is it something related to saving the jarfile(in other words specifying the destfile attribute of task) to a path in restricted directory ?If yes how can it be done and If no then what othe

AW: parallel task and missing jars

2006-02-12 Thread Jan.Materne
MAIL PROTECTED] >Gesendet: Samstag, 11. Februar 2006 21:03 >An: user@ant.apache.org >Betreff: parallel task and missing jars > > >HI to all ANT users, > My configuration is Ant 1.6.3 and jdk 1.5. > I have been challenged by my friend to perform the >followi

parallel task and missing jars

2006-02-11 Thread Harshal Chavda
HI to all ANT users, My configuration is Ant 1.6.3 and jdk 1.5. I have been challenged by my friend to perform the following 2 things -perform simultaneous build without using parallel task -write a task to create a jar such that the message that, jar is created is displayed but t

Re: How to detect missing jars in a ?

2005-12-15 Thread Ken Gentle
I *knew* there was a solution to this problem (as I'd used it several years ago to demonstrate to an unbelieving group that application classpath was full of junk) - and it only took me two hours to find it again... JWhich, by Mike Clark, has a mode to validate classpaths: To validate the clas

Re: AW: How to detect missing jars in a ?

2005-12-13 Thread Matt Benson
.html > [2] > http://svn.apache.org/repos/asf/ant/core/trunk/docs/manual/CoreTypes/resources.html#collection > > > > >-Ursprüngliche Nachricht- > >Von: Bertrand Delacretaz > [mailto:[EMAIL PROTECTED] > >Gesendet: Montag, 12. Dezember 2005 12:18 > >

AW: How to detect missing jars in a ?

2005-12-12 Thread Jan.Materne
PROTECTED] >Gesendet: Montag, 12. Dezember 2005 12:18 >An: Ant Users List >Betreff: Re: How to detect missing jars in a ? > >Le 12 déc. 05, à 11:57, Steve Loughran a écrit : > >> ...Sounds to me like you've just added a new condition to Ant, >> Monsieur Delacreta

Re: How to detect missing jars in a ?

2005-12-12 Thread Bertrand Delacretaz
Le 12 déc. 05, à 11:57, Steve Loughran a écrit : ...Sounds to me like you've just added a new condition to Ant, Monsieur Delacretaz, called something like , which verifies that every element in a path is present, logs at -verbose level if one is missing (and perhaps sets a property to a file

Re: How to detect missing jars in a ?

2005-12-12 Thread Steve Loughran
Bertrand Delacretaz wrote: Hi, I'd like a construct like to fail if missing.jar is not available. Is there a way without using a separate element (which means having the missing.jar name in two places, unless I'm missing something)? Making the Path class configurable to cause an

AW: How to detect missing jars in a ?

2005-12-12 Thread Jan.Materne
Quick hack: Jan >-Ursprüngliche Nachricht- >Von: Bertrand Delacretaz [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 12. Dezember 2005 10:20 >An: user@ant.apache.org >Betreff: How to dete

How to detect missing jars in a ?

2005-12-12 Thread Bertrand Delacretaz
Hi, I'd like a construct like to fail if missing.jar is not available. Is there a way without using a separate element (which means having the missing.jar name in two places, unless I'm missing something)? Making the Path class configurable to cause an error instead of logging th

Problem with missing jars/zips in classpath

2004-03-22 Thread Guru Balse
(This is for ant 1.6.X) When I am running tests, if jars or zips are specified in the classpath but are not actually there (not ideal, but it happens in a multi-developer environment), then I get the following annoying warnings: [taskdef] dropping /ade/gbalse_ipds25/oracle/workflows/wf/java/l