Off topic:Trouble with ant when installing jvarkit
0
1
Entering edit mode
9.7 years ago
Adrian Pelin ★ 2.6k

I remember I was able to bypass this somehow in the past, but nothing seems to work now.

I am trying to compile jvarkit:

@BioPower2 ~/programs/jvarkit/htsjdk $ ls /home/adrian/.ant/lib
ant-nodeps-1.7.1.jar
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 15:23:13
@BioPower2 ~/programs/jvarkit/htsjdk $ ant -lib /home/adrian/.ant/lib/
Buildfile: build.xml

write-version-property:

BUILD FAILED
/home/adrian/programs/jvarkit/htsjdk/build.xml:68: Problem: failed to create task or type propertyfile
Cause: the class org.apache.tools.ant.taskdefs.optional.PropertyFile was not found.
        This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
        -/usr/share/ant/lib
        -/home/adrian/.ant/lib
        -a directory added on the command line with the -lib argument

Do not panic, this is a common problem.
The commonest cause is a missing JAR.

This is not a bug; it is a configuration problem

Total time: 0 seconds

It doesn't seem to matter how I point to that file, it just doesn't seem to want to take it. Even if I -lib /home/adrian/.ant/lib/ant-nodeps-1.7.1.jar

Apache Ant version 1.7.1 compiled on August 24 2010

I am running CentOS 6.

Anyone have any ideas? I even tried a more recent package of ant from apache, 1.9.4, but there is no nodeps file for it and there is still error.

java ant • 2.0k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2532 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6