. Maybe
this is what happens.
Regards,
Antoine
Original-Nachricht
Datum: Tue, 7 Nov 2006 11:59:39 -0800
Von: "Chun Ji" <[EMAIL PROTECTED]>
An: "Ant Users List"
Betreff: RE: Ant "available" task
> Hi Antoine,
> Thank you for the tips.
Hi Antoine,
Thank you for the tips.
For your second case, what happen if a parent class is located in a jar file,
would that be possible for this "available" task to check the child class ?
What I have found is for such scenario, of the same classpath setting, if I was
to
Hello Chun,
a class cannot be loaded if :
- the class itself is not in the classpath,
- a parent class or interface of the class is not in the classpath,
- a field of the class is not in the classpath,
so have a look at the source code of the class which cannot be loaded,
Regards,
Antoine
Chun Ji
Hi all,
does "Available" only works for some selected packages only ?
I want to set a property depends on the availablity of a class. No matter what
I did, it always tells me that the class could not be loaded. But this task
works perfect for other packages, of the same classpath.
Does someon
> Von: Stuart Harper [mailto:[EMAIL PROTECTED]
> > Gesendet am: Dienstag, 3. Mai 2005 19:39
> > An: user@ant.apache.org
> > Betreff: Available Task
> >
> > Hi,
> >
> > I'm trying to use Ant to create a script which behaves
> > differently de
Use to find catch that class file. Transform into a property
using or . After that should
be your friend.
Jan
> -Ursprüngliche Nachricht-
> Von: Stuart Harper [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 3. Mai 2005 19:39
> An: user@ant.apache.org
> Betreff:
Hi,
I'm trying to use Ant to create a script which behaves differently depending
on the presence of a certain class. I could use the Available task if I knew
the full classname but I only know that it will start with Debug.
Is there any way to make the available task operate with
fil
Is there a reason why we can't use the task as a
definiton ?
I mean, this works :
Value for :
root directory : ${root.dir}
.. scripts ...: ${scripts.dir}
scripts.lib.dir : ${scripts.lib.dir}
lib.dir