Fix for obfuscate-impl.xml

Not shure if this is the right place. If not please point me to it.

Android obfuscation (nbproject/obfuscation-impl.xml) uses java.home which conflicts with my configuration where both java 1.6 and 1.7 are installed and 1.7 is defautl.
IMHO the more accurate way would be to use ${platform.home}/jre which allows usage of selected platform for project independend from default java installation.

<target name="-create-library-property" depends="-create-mac-library-property"> <!--<property name="proguard.library.path" value="${java.home}/lib/rt.jar${path.separator}${run.classpath}"/>--> <property name="proguard.library.path" value="${platform.home}/jre/lib/rt.jar${path.separator}${run.classpath}"/> </target>
5 Likes

Yeah, you’re probably right, thanks :slight_smile:

Changed in svn. Thanks again.

2 Likes

You’re welcome :slight_smile:
Thanks for YOUR great work.

2 Likes