Discussion:
New version of igv needs org.apache.tools.ant.taskdefs.condition.Http
Andreas Tille
2018-12-06 08:54:03 UTC
Permalink
Hi,

I've injected the new upstream version of IGV into Git[1] but it
fails to build:

...
Compiling with JDK Java compiler API.
/build/igv-2.4.16+dfsg/src/main/java/org/broad/igv/track/TribbleFeatureSource.java:29: error: package org.apache.tools.ant.taskdefs.condition does not exist
import org.apache.tools.ant.taskdefs.condition.Http;
^
1 error
:compileJava FAILED
:compileJava (Thread[Daemon worker,5,main]) completed. Took 18.251 secs.
...


I remember the advise to seek on codesearch.d.n for the import statement
to find out what Build-Depends might be needed but this search failed.
Any other hint?

Kind regards

Andreas.


[1] https://salsa.debian.org/med-team/igv
--
http://fam-tille.de
Emmanuel Bourg
2018-12-06 09:10:57 UTC
Permalink
Post by Andreas Tille
I remember the advise to seek on codesearch.d.n for the import statement
to find out what Build-Depends might be needed but this search failed.
Any other hint?
It's there though:

https://sources.debian.org/src/ant/1.10.5-2/src/main/org/apache/tools/ant/taskdefs/condition/Http.java/

Ant is probably not on the classpath.

Emmanuel Bourg
Andreas Tille
2018-12-08 06:07:16 UTC
Permalink
Hi Emmanuel,
Post by Emmanuel Bourg
Post by Andreas Tille
I remember the advise to seek on codesearch.d.n for the import statement
to find out what Build-Depends might be needed but this search failed.
Any other hint?
https://sources.debian.org/src/ant/1.10.5-2/src/main/org/apache/tools/ant/taskdefs/condition/Http.java/
Ant is probably not on the classpath.
Any idea how to get it into classpath? I have no idea about gradle
and tried:

--- a/debian/patches/fix_gradle.patch
+++ b/debian/patches/fix_gradle.patch
@@ -58,12 +58,13 @@ Forwarded: no
+ compile "org.apache.logging.log4j:log4j-api:debian"
+ compile "org.apache.logging.log4j:log4j-1.2-api:debian"
+ compile "org.apache.logging.log4j:log4j-core:debian"
++ compile "org.apache.tools.ant.taskdefs.condition:debian"
+ compile "org.swinglabs:swing-layout:debian"
+ compile "com.github.samtools:htsjdk:debian"
testCompile fileTree(dir: 'test/lib', include: '*.jar')
}


But this does not help. :-(

Any more sensible way to add this?

Kind regards

Andreas.
--
http://fam-tille.de
Loading...