Note that there are some explanatory texts on larger screens.

plurals
  1. POTrouble making obfuscation
    primarykey
    data
    text
    <p>I'm using Antenna to build, pack and obfuscate a j2me app. Building and packing works fine.</p> <p>The project uses a 3rd party jar that is already obfuscated except by some interfaces.</p> <p>When trying to obfuscate I got several errors like: </p> <pre><code>[wtkobfuscate] Warning: i: can't find referenced class fooPackage.fooClass </code></pre> <p>Class i and fooPackage.fooClass is from this 3rd party jar that I mentioned.</p> <p><strong>UPDATE</strong>:</p> <p>This 3rd party library uses j2me-xmlrpc.jar. If I don't package all together then I won't be able to obfuscate the 3rd party interfaces and the j2me-xmlrpc.jar. (and I can't run the app this way, not sure why)</p> <p>If I package only the j2me-xmlrpc.jar and my project classes I get the this error while obfuscating</p> <pre><code>[wtkobfuscate] Warning: there were 2 instances of library classes depending on program classes. </code></pre> <p><strong>UPDATE 2:</strong></p> <p>I know this obfuscation is possible beacause in Netbeans I can do obfuscation using Proguard.</p> <p>Since Netbeans internals uses ANT to make builds I tried to copy the generated build.xml to my own build.xml.</p> <p>For obfuscation Netbeans uses the library org-netbeans-modules-mobility-antext.jar that can be used outside Netbeans. I imported this library to my project and used it without problem.</p> <p>But I get the same error I got using antenna.</p> <p>Obfuscating in Netbeans generates a lot of warnings but it still generates the obfuscated jar.</p> <p>What I'm missing?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload