Re: ant contrib rpm not working?

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

 



> > So do I really have to manage my CLASSPATH manually?
> 
> When using rpm installed software No.
> Can you try whether 
> http://koji.fedoraproject.org/koji/getfile?taskID=1654610&name=ant-
> contrib-1.0-0.9.b2.fc12.noarch.rpm fixed the problem?

No, it does not. But I also noticed the following (strace excerpt):

[pid  4000] open("/usr/share/java/ant/ant-trax-1.7.1.jar",
O_RDONLY|O_LARGEFILE) = 49 [pid  4000]
open("/usr/share/java/xalan-j2-serializer-2.7.0.jar",
O_RDONLY|O_LARGEFILE) = 50 [pid  4000]
open("/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/lib/tools.jar",
O_RDONLY|O_LARGEFILE) = 51 Buildfile:
incrementalParser/src/build/ant/testcases.xml [pid  4000]
open("/usr/share/ant/lib/ant-contrib.jar", O_RDONLY|O_LARGEFILE) = 52
[pid  4000]
open("/home/choeger/dev/diplom/mf/incremental_page/incrementalParser/src/build/ant/testcases.xml",
O_RDONLY|O_LARGEFILE) = 53   [taskdef] Could not load definitions from
resource net/sf/antcontrib/antlib.xml. It could not be found.

As you can see /usr/share/java/ant/ant-trax-1.7.1.jar is loaded
automagically _before_ the build file is examined. This is what I
assumed to be automagic classpathing.
On the other hand you see that ant-contrib.jar is opened when it's put
into /usr/share/ant/lib - but that does not help.

Any ideas?

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