Re: ant contrib rpm not working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Freitag, den 04.09.2009, 14:22 +0300 schrieb Alexander Kurtakov:
> > Hi all,
> >
> > after installing ant-contrib, I cannot use it.
> >
> > I have:
> >
> > <taskdef uri="antlib:net.sf.antcontrib"
> > resource="net/sf/antcontrib/antlib.xml"/>
> >
> > in my build.xml
> >
> > But as a result I do get a resource not found error.
> >
> > How am I supposed to use this thing rpm?
> 
> Do you have /usr/share/java/ant-contrib.jar on your classpath?

That's the point. I always thought, /usr/share/java/* would be on the
default classpath. Is that not the case?

At least strace tells me that lots of jar files there are read. Setting
CLASSPATH=/usr/share/java/\* before invoking ant, does not work but dies
with a strange exception, using
CLASSPATH=/usr/share/java/ant-contrib.jar works, but what is the point
of doing that if I install a rpm file?

Also I noticed that lots of ant rpms put their files
into /usr/share/java/ant/

So do I really have to manage my CLASSPATH manually?

 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

--
fedora-devel-java-list mailing list
fedora-devel-java-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux