[ 
https://issues.apache.org/jira/browse/NETBEANS-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Hofschröer updated NETBEANS-105:
-------------------------------------
    Description: 
hgidI just cloned the [incubator-netbeans git 
repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} to 
build NetBeans. The result is an IOException because {{osgi.cmpn-4.2.jar}} 
could not be downloaded:

{noformat}
$ ant
Picked up _JAVA_OPTIONS: -Xmx2G
Buildfile: /Users/dtrebbien/Documents/Projects/netbeans/build.xml

-jdk-pre-preinit:

-jdk-preinit:

-jdk-warn:

-jdk-presetdef-basic:

-jdk-default:

-jdk-init:

-load-build-properties:

bootstrap:
     [echo] Bootstrapping NetBeans-specific Ant extensions...

init-tasks:

init-module-list:

-do-set-buildnumber:
     [hgid] No dirstate found starting from 
/Users/dtrebbien/Documents/Projects/netbeans/nbbuild

set-buildnumber:

init:
Loading module list from 
/var/folders/1v/2nkqhkgx0qnfwd75h0p3fcsc0000gn/T/nb-scan-cache-cf8c6bb5-full.ser

download-selected-extbins:
     [echo] Downloading external binaries (*/external/ directories) for 
cluster.config=basic...
[downloadbinaries] Creating 
/Users/dtrebbien/Documents/Projects/netbeans/libs.osgi/external/osgi.cmpn-4.2.jar
[downloadbinaries] Downloading: 
http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
[downloadbinaries] Could not download 
972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar to 
/Users/dtrebbien/.hgexternalcache/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar:
 java.io.IOException: Skipping download from 
http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
 due to response code 404

BUILD FAILED
/Users/dtrebbien/Documents/Projects/netbeans/nbbuild/build.xml:122: Could not 
download 972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar from 
http://hg.netbeans.org/binaries/: java.io.IOException: Could not download 
972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar to 
/Users/dtrebbien/.hgexternalcache/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar:
 java.io.IOException: Skipping download from 
http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
 due to response code 404
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.doDownload(DownloadBinaries.java:252)
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.fillInFile(DownloadBinaries.java:193)
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.execute(DownloadBinaries.java:155)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
        at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
        at org.apache.tools.ant.Main.runBuild(Main.java:857)
        at org.apache.tools.ant.Main.startAnt(Main.java:236)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)
Caused by: java.io.IOException: Skipping download from 
http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
 due to response code 404
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.downloadFromServer(DownloadBinaries.java:278)
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.mavenFile(DownloadBinaries.java:180)
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.lambda$execute$0(DownloadBinaries.java:155)
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.doDownload(DownloadBinaries.java:229)
        ... 18 more

Total time: 2 seconds
{noformat}

  was:
I just cloned the [incubator-netbeans git 
repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} to 
build NetBeans. The result is an IOException because {{osgi.cmpn-4.2.jar}} 
could not be downloaded:

{noformat}
$ ant
Picked up _JAVA_OPTIONS: -Xmx2G
Buildfile: /Users/dtrebbien/Documents/Projects/netbeans/build.xml

-jdk-pre-preinit:

-jdk-preinit:

-jdk-warn:

-jdk-presetdef-basic:

-jdk-default:

-jdk-init:

-load-build-properties:

bootstrap:
     [echo] Bootstrapping NetBeans-specific Ant extensions...

init-tasks:

init-module-list:

-do-set-buildnumber:
     [hgid] No dirstate found starting from 
/Users/dtrebbien/Documents/Projects/netbeans/nbbuild

set-buildnumber:

init:
Loading module list from 
/var/folders/1v/2nkqhkgx0qnfwd75h0p3fcsc0000gn/T/nb-scan-cache-cf8c6bb5-full.ser

download-selected-extbins:
     [echo] Downloading external binaries (*/external/ directories) for 
cluster.config=basic...
[downloadbinaries] Creating 
/Users/dtrebbien/Documents/Projects/netbeans/libs.osgi/external/osgi.cmpn-4.2.jar
[downloadbinaries] Downloading: 
http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
[downloadbinaries] Could not download 
972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar to 
/Users/dtrebbien/.hgexternalcache/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar:
 java.io.IOException: Skipping download from 
http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
 due to response code 404

BUILD FAILED
/Users/dtrebbien/Documents/Projects/netbeans/nbbuild/build.xml:122: Could not 
download 972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar from 
http://hg.netbeans.org/binaries/: java.io.IOException: Could not download 
972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar to 
/Users/dtrebbien/.hgexternalcache/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar:
 java.io.IOException: Skipping download from 
http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
 due to response code 404
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.doDownload(DownloadBinaries.java:252)
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.fillInFile(DownloadBinaries.java:193)
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.execute(DownloadBinaries.java:155)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
        at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
        at org.apache.tools.ant.Main.runBuild(Main.java:857)
        at org.apache.tools.ant.Main.startAnt(Main.java:236)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)
Caused by: java.io.IOException: Skipping download from 
http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
 due to response code 404
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.downloadFromServer(DownloadBinaries.java:278)
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.mavenFile(DownloadBinaries.java:180)
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.lambda$execute$0(DownloadBinaries.java:155)
        at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.doDownload(DownloadBinaries.java:229)
        ... 18 more

Total time: 2 seconds
{noformat}


> Build failure: Could not download osgi.cmpn-4.2.jar
> ---------------------------------------------------
>
>                 Key: NETBEANS-105
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-105
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Daniel Trebbien
>            Assignee: Matthias Bläsing
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: Next
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> hgidI just cloned the [incubator-netbeans git 
> repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} 
> to build NetBeans. The result is an IOException because {{osgi.cmpn-4.2.jar}} 
> could not be downloaded:
> {noformat}
> $ ant
> Picked up _JAVA_OPTIONS: -Xmx2G
> Buildfile: /Users/dtrebbien/Documents/Projects/netbeans/build.xml
> -jdk-pre-preinit:
> -jdk-preinit:
> -jdk-warn:
> -jdk-presetdef-basic:
> -jdk-default:
> -jdk-init:
> -load-build-properties:
> bootstrap:
>      [echo] Bootstrapping NetBeans-specific Ant extensions...
> init-tasks:
> init-module-list:
> -do-set-buildnumber:
>      [hgid] No dirstate found starting from 
> /Users/dtrebbien/Documents/Projects/netbeans/nbbuild
> set-buildnumber:
> init:
> Loading module list from 
> /var/folders/1v/2nkqhkgx0qnfwd75h0p3fcsc0000gn/T/nb-scan-cache-cf8c6bb5-full.ser
> download-selected-extbins:
>      [echo] Downloading external binaries (*/external/ directories) for 
> cluster.config=basic...
> [downloadbinaries] Creating 
> /Users/dtrebbien/Documents/Projects/netbeans/libs.osgi/external/osgi.cmpn-4.2.jar
> [downloadbinaries] Downloading: 
> http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
> [downloadbinaries] Could not download 
> 972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar to 
> /Users/dtrebbien/.hgexternalcache/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar:
>  java.io.IOException: Skipping download from 
> http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
>  due to response code 404
> BUILD FAILED
> /Users/dtrebbien/Documents/Projects/netbeans/nbbuild/build.xml:122: Could not 
> download 972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar from 
> http://hg.netbeans.org/binaries/: java.io.IOException: Could not download 
> 972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar to 
> /Users/dtrebbien/.hgexternalcache/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar:
>  java.io.IOException: Skipping download from 
> http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
>  due to response code 404
>       at 
> org.netbeans.nbbuild.extlibs.DownloadBinaries.doDownload(DownloadBinaries.java:252)
>       at 
> org.netbeans.nbbuild.extlibs.DownloadBinaries.fillInFile(DownloadBinaries.java:193)
>       at 
> org.netbeans.nbbuild.extlibs.DownloadBinaries.execute(DownloadBinaries.java:155)
>       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
>       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>       at org.apache.tools.ant.Task.perform(Task.java:348)
>       at org.apache.tools.ant.Target.execute(Target.java:435)
>       at org.apache.tools.ant.Target.performTasks(Target.java:456)
>       at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
>       at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
>       at 
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>       at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
>       at org.apache.tools.ant.Main.runBuild(Main.java:857)
>       at org.apache.tools.ant.Main.startAnt(Main.java:236)
>       at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
>       at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)
> Caused by: java.io.IOException: Skipping download from 
> http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
>  due to response code 404
>       at 
> org.netbeans.nbbuild.extlibs.DownloadBinaries.downloadFromServer(DownloadBinaries.java:278)
>       at 
> org.netbeans.nbbuild.extlibs.DownloadBinaries.mavenFile(DownloadBinaries.java:180)
>       at 
> org.netbeans.nbbuild.extlibs.DownloadBinaries.lambda$execute$0(DownloadBinaries.java:155)
>       at 
> org.netbeans.nbbuild.extlibs.DownloadBinaries.doDownload(DownloadBinaries.java:229)
>       ... 18 more
> Total time: 2 seconds
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to