New version of igv needs org.apache.tools.ant.taskdefs.condition.Http

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

New version of igv needs org.apache.tools.ant.taskdefs.condition.Http

Andreas Tille-5
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

Reply | Threaded
Open this post in threaded view
|

Re: New version of igv needs org.apache.tools.ant.taskdefs.condition.Http

Emmanuel Bourg-3
Le 06/12/2018 à 09:54, Andreas Tille a écrit :

> 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

Reply | Threaded
Open this post in threaded view
|

Re: New version of igv needs org.apache.tools.ant.taskdefs.condition.Http

Andreas Tille-2
Hi Emmanuel,

On Thu, Dec 06, 2018 at 10:10:57AM +0100, Emmanuel Bourg wrote:

> Le 06/12/2018 à 09:54, Andreas Tille a écrit :
>
> > 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.

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