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 71392 - additional obfuscation settings do not support use of ant properties
Summary: additional obfuscation settings do not support use of ant properties
Status: REOPENED
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0.1
Hardware: All Windows 7
: P3 blocker (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-14 04:19 UTC by jozart
Modified: 2013-04-09 11:22 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 jozart 2006-01-14 04:19:01 UTC
I'd like to use some of the project.properties to specify additional obfuscation
settings (obfuscation.custom property), but it appears this isn't supported.

To reproduce, enter the following in the Additional Obfuscation Settings field:

-printusage ${basedir}/$build.dir}/proguard-unused.txt
-printmapping ${basedir}/$build.dir}/proguard-mapping.txt

Clean and rebuild and it will be clear that the ant properties aren't being
resolved.

Without these properties (below), it works, but the files end up in Local
Settings/Temp or some such place...

-printusage proguard-unused.txt
-printmapping proguard-mapping.txt
Comment 1 Martin Ryzl 2006-01-14 17:16:15 UTC
It works for me in 5.0. I think there is a typo (missing {) in the additional
settings. Here are the settings that work for me:

-printusage ${basedir}/${build.dir}/proguard-unused.txt
-printmapping ${basedir}/${build.dir}/proguard-mapping.txt
Comment 2 jozart 2006-01-14 19:49:12 UTC
strange - works for me now, too (on a different machine)
thanks for fixing my reality (for the time being)

btw, the typo was only a typo in the report.
Comment 3 vitalyster 2012-01-22 10:50:59 UTC
reproduced in nb 7.0.1
Comment 4 David Strupl 2013-04-09 11:22:47 UTC
Assigning to the new owner of javame modules.