This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 206221 - nb-javac build fails
Summary: nb-javac build fails
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.1
Hardware: PC All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-10 17:46 UTC by emi
Modified: 2011-12-13 09:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emi 2011-12-10 17:46:30 UTC
It seems http://hg.netbeans.org/main/nb-javac/file/872f335de30b/make/netbeans/nb-javac/build.xml depends on http://mirror.candidhosting.com/pub/apache/jakarta/bcel/binaries/bcel-5.2.zip being online. 

Right now it gives a 404, so building nb-javac fails.

This is the first time I even notice this.

Shouldn't this binary be moved to http://hg.netbeans.org/binaries/ ?
Comment 1 Jan Lahoda 2011-12-10 19:20:08 UTC
(In reply to comment #0)
> It seems
> http://hg.netbeans.org/main/nb-javac/file/872f335de30b/make/netbeans/nb-javac/build.xml
> depends on
> http://mirror.candidhosting.com/pub/apache/jakarta/bcel/binaries/bcel-5.2.zip
> being online. 
> 
> Right now it gives a 404, so building nb-javac fails.

I changed the URL to a working one:
http://hg.netbeans.org/main/nb-javac/rev/f27cfc4e5d7c

Note that the BCEL is not needed to get a working copy of nb-javac, it is only used to inside tests. Tests can be skipped by using "ant jar".

> 
> This is the first time I even notice this.
> 
> Shouldn't this binary be moved to http://hg.netbeans.org/binaries/ ?

I hope that it will, eventually. But not so easy as it might seem, as it probably needs to be approved.
Comment 2 Jesse Glick 2011-12-12 20:13:47 UTC
(In reply to comment #1)
>> Shouldn't this binary be moved to http://hg.netbeans.org/binaries/ ?
> 
> not so easy as it might seem, as it probably needs to be approved.

You are already using it. Downloading it from the correct binary cache server does not change anything from a legal standpoint; this is not part of the product anyway.
Comment 3 Jan Lahoda 2011-12-13 09:15:34 UTC
Very well:
http://hg.netbeans.org/main/nb-javac/rev/2abc368ebad5
Comment 4 emi 2011-12-13 09:55:38 UTC
Excellent job Jan getting rid of that dependency!