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.