Created attachment 113336 [details]
After first execution of NetBeans 7.1 JUnit installation shows empty license.
This issue isn't a problem on AUC side. I can see in the file http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1/uc/final/certified/catalog.xml the following part:
<module codenamebase="org.netbeans.modules.junitlib" distribution="modules/extra/org-netbeans-modules-junitlib.nbm" downloadsize="10638" homepage="http://www.netbeans.org/" license="DCE70611" moduleauthor="" needsrestart="false" releasedate="2011/11/17" targetcluster="java">
and the file license.DCE70611 is available at http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1/uc/final/certified/licenses/
Since a new version of JUnit has been added to the NetBean IDE recently, the issue could be related to this change.
Yes, this is really strange. Michal, if you do this:
1. Invoke "Tools > Plugins" from main menu.
2. Switch to "Settings" tab.
3. Select "NetBeans Distribution" Update Center.
What is the URL of the UC?
IMHO the issue is somehow connected to the way how JUnit is installed "on-the-fly" from certified AUC during the first start of the IDE. This hack is there because of type of JUnit license.
The file DCE70611.license doesn't exist in http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1/uc/final/certified/licenses
but there is a file http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1/uc/final/certified/licenses/license.DCE70611
(In reply to comment #4)
> The file DCE70611.license doesn't exist in
> but there is a file
Why should be a file DCE70611.license there? All license files have names like license.XXXXX.
(In reply to comment #5)
> (In reply to comment #4)
> > The file DCE70611.license doesn't exist in
> > http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1/uc/final/certified/licenses
> > but there is a file
> > http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1/uc/final/certified/licenses/license.DCE70611
> Why should be a file DCE70611.license there? All license files have names like
> Please, see:
See at bottom of http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1/uc/final/certified/catalog.xml where a mapping licenses is described like
<license name="DCE70611" url="licenses/DCE70611.license"/>
That's the place where it differs from 7.0.1 and needs to be fixed.
> where a mapping licenses is described like
> <license name="DCE70611" url="licenses/DCE70611.license"/>
> That's the place where it differs from 7.0.1 and needs to be fixed.
OK, let me know ones it is fixed in JUnit module source code. I will regenerate the catalog.xml at DLC.
It is not my work to build a modules. Try contact NetBeans Build Engineering.
(In reply to comment #8)
> It is not my work to build a modules. Try contact NetBeans Build Engineering.
I did and they told me that they didn't change anything in the catalog.xml generator. Since the generator uses data like info.xml for the catalog.xml generation, they expect changes in the module source code which caused opposite license mapping generation. :-)
I will try to find out why the generator has produced the different output but it seems like a problem with input data. So if you have any idea what has changed in the module description, please let me know.
I have changed the license mapping in the catalog.xml file manualy. The catalog.xml file has been uploaded at DLC (and *.gz as well). Please, verify if the issue disappeared.
Created attachment 113406 [details]
it looks like the issue is still there
It works for me. Please, delete the rc1 netbeans user dir before your verification.
Product Version: NetBeans IDE 7.1 RC1 (Build 201111242103)
Java: 1.6.0_29; Java HotSpot(TM) 64-Bit Server VM 20.4-b02-402
System: Mac OS X version 10.7.2 running on x86_64; MacRoman; en_US (nb)
User directory: /Users/tomas/.netbeans/7.1rc1
Cache directory: /Users/tomas/.netbeans/7.1rc1/var/cache