Trouble with ant when installing jvarkit
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.
• 2,168 views
•
link
0 answers
No answers yet.
Log in to answer this question.
can you please ask this at https://github.com/lindenb/jvarkit/issues . Thanks.
Hello Adrian Pelin!
We believe that this post is does not fit the main topic of this site.
closing, as it's a just an config problem (with *my* tool ;-) )
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!
True that it is your tool, however I saw many posts about ant in other places and though this was something common and not specific to your tool. Alright, posted!