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 227701 - org-netbeans-modules-mobility-proguard.nbm is missing from 7.3 final
Summary: org-netbeans-modules-mobility-proguard.nbm is missing from 7.3 final
Status: RESOLVED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-20 10:52 UTC by t_gergely
Modified: 2013-07-04 10:40 UTC (History)
4 users (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.
Comment 1 David Strupl 2013-04-09 11:22:53 UTC
Assigning to the new owner of javame modules.
Comment 2 harunaga 2013-04-10 21:55:51 UTC
I have the same problem when obfuscating j2me app.
I didn't find any plug in for proguard plug in in the portable page.
then I read the link https://netbeans.org/community/releases/36/J2ME_Support.html
but can not find tools->Obfuscators.
Comment 3 t_gergely 2013-04-11 09:37:49 UTC
(In reply to comment #2)

> then I read the link
> https://netbeans.org/community/releases/36/J2ME_Support.html
> but can not find tools->Obfuscators.

That's and old release from 2004. Until they fix this bug, you could download mobility-proguard.nbm from the link I posted and install it (Tools/Plugins/Downloaded/Add Plugins).
Comment 4 Tomas Zezula 2013-04-11 09:40:56 UTC
As far as I know the proguard was removed due to licensing problems.
Comment 5 t_gergely 2013-04-11 11:14:06 UTC
(In reply to comment #4)
> As far as I know the proguard was removed due to licensing problems.

But I don't see THAT problem:
http://proguard.sourceforge.net/index.html#license.html
Comment 6 Tomas Zezula 2013-04-11 11:22:33 UTC
That's exactly the problem.
The GPL 2 is an incompatible license.
Comment 7 t_gergely 2013-04-11 11:41:41 UTC
(In reply to comment #6)
> That's exactly the problem.
> The GPL 2 is an incompatible license.

With what (considering the "special exception"!)?
Comment 8 Tomas Zezula 2013-04-11 11:43:33 UTC
With CDDL.
Comment 9 t_gergely 2013-04-11 13:08:47 UTC
(In reply to comment #8)
> With CDDL.

Would you elaborate why it should?

https://netbeans.org/about/legal/license.html
"NetBeans distributions include additional components under separate licenses identified in the License file."
Comment 10 t_gergely 2013-04-11 13:10:10 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > With CDDL.
> 
> Would you elaborate why it should?

I mean why it should be compatible.
Comment 11 David Strupl 2013-04-11 16:40:52 UTC
This bug should have stayed assigned to me. I have removed it from NB 7.3 per request from Oracle legal to review the license compatibility. Because they did not get back to me with the result of the evaluation (yet) am not allowed to put it back in. I will ping them about the status ...
Comment 12 Tomas Zezula 2013-04-12 15:59:30 UTC
>"NetBeans distributions include additional components under separate licenses
>identified in the License file."
Unfortunately it's not so easy, as you see in the list of the "THIRDPARTY COMPONENT FILES" (https://netbeans.org/downloads/jdk-bundle/7.3/nb73-THIRDPARTYLICENSE.txt) there is no library under GPL 2 and it cannot be just added as it's incompatible with the CDDL. It's similar problem to GPL 2  Apache Software License incompatibility.
Comment 13 Roman Svitanic 2013-04-16 08:43:03 UTC
For now it is possible to use following workaround for proguard:

1. Download proguard.jar from http://sourceforge.net/projects/proguard/files/proguard/
2. Insert following line in {YOUR_PROJECT_DIR}/nbproject/private/private.properties OR {NB_USERDIR}/build.properties (no need to insert in both):

obfuscator.classpath={PATH_TO_proguard.jar}

(e.g. obfuscator.classpath=C:\\JavaME\\Proguard\\proguard.jar)
Comment 14 David Strupl 2013-07-04 10:40:15 UTC
Hello,

I have move the module to another repository:

http://hg.netbeans.org/otherlicenses/

The module should appear in the 7.4 Stable UC very soon. We might still back port the change to 7.3 if really needed.

Marking the problem as fixed.

David