Re: How to warn when jar-file in classpath does not exist?

2002-02-15 Thread Martin Monsorno
"Steve Loughran" <[EMAIL PROTECTED]> writes: > standard practise is to use to probe for a class you > need; that decouples you from knowing where the class is > implemented, then conditional if you really need that class > to be there Yes, but available is _very_ inconvenient, because you alwa

Re: How to warn when jar-file in classpath does not exist?

2002-02-14 Thread Martin Monsorno
"Broderick, Kevin" <[EMAIL PROTECTED]> writes: > Ant has an "available" task that you could use to check that > your jar file is where you want it to be. You could use this > with an if or unless to follow a certain path of execution. I hoped I could spare this. The really bad thing is, that an

Re: How to warn when jar-file in classpath does not exist?

2002-02-14 Thread Steve Loughran
- Original Message - From: "Martin Monsorno" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 14, 2002 05:23 Subject: How to warn when jar-file in classpath does not exist? > Hi *, > > I have the following problem: I add a jar-file to the classpath I use > for compil

RE: How to warn when jar-file in classpath does not exist?

2002-02-14 Thread Broderick, Kevin
Hi, Ant has an "available" task that you could use to check that your jar file is where you want it to be. You could use this with an if or unless to follow a certain path of execution. Cheers, Kevin -Original Message- From: Martin Monsorno [mailto:[EMAIL PROTECTED]] Sent: 14 February 200