RFR: 8263167: IGV: build fails with "taskdef AutoUpdate cannot be found"
Christian Hagedorn
chagedorn at openjdk.java.net
Mon Mar 8 09:43:06 UTC 2021
On Mon, 8 Mar 2021 09:18:12 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:
> As part of the [recent transition](https://netbeans.apache.org/about/oracle-transition.html) of the NetBeans project to the Apache fundation, [http://bits.netbeans.org](http://bits.netbeans.org) has stopped serving the `tasks.jar` file used to download IGV's build dependencies. This change updates the IGV build configuration to use the [nbm-maven-harness](https://mvnrepository.com/artifact/org.codehaus.mojo/nbm-maven-harness) Maven artifact instead, which provides the same functionality.
>
> Tested manually on linux-x64.
Looks good! On my machine, I first had to delete the old `tasks.jar` in order to build again:
$ ant build
Buildfile: /home/christian/valhalla/open/src/utils/IdealGraphVisualizer/build.xml
download:
[echo] Downloading clusters ide|platform
[get] Getting: https://repo.maven.apache.org/maven2/org/codehaus/mojo/nbm-maven-harness/7.4/nbm-maven-harness-7.4.jar
[get] To: /tmp/tasks.jar
[get] local file date : Fri Mar 05 06:41:46 CET 2021
[get] Not modified - so not downloaded
BUILD FAILED
using the classloader AntClassLoader[/tmp/tasks.jar]
$ rm /tmp/tasks.jar
$ ant build
....
BUILD SUCCESSFUL
Total time: 3 minutes 53 seconds
After deleting `/tmp/tasks.jar`, it took some time to download everything but the build worked again.
-------------
Marked as reviewed by chagedorn (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/2869
More information about the hotspot-compiler-dev
mailing list