Question: (Closed) Trouble with ant when installing jvarkit
1
gravatar for Adrian Pelin
4.7 years ago by
Adrian Pelin2.2k
Canada
Adrian Pelin2.2k wrote:

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 • 1.3k views
ADD COMMENTlink written 4.7 years ago by Adrian Pelin2.2k

can you please ask this at https://github.com/lindenb/jvarkit/issues . Thanks.

ADD REPLYlink written 4.7 years ago by Pierre Lindenbaum119k

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!

ADD REPLYlink written 4.7 years ago by Pierre Lindenbaum119k

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!

ADD REPLYlink written 4.7 years ago by Adrian Pelin2.2k
Please log in to add an answer.
The thread is closed. No new answers may be added.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1279 users visited in the last hour