1 Reply Latest reply on Dec 13, 2012 9:03 PM by baftos

    how to sign multiple jars in my project ?

      I have created a project and added 7 jar into library in netbeans. Some of these jasr are signed and some are not signed. I have wrote my codes and built the project. I got my product jar file and the added 7 jars in lib folder in my project folder. I signed my product jar and run this product jar on browser. Then I got mixed code warning that said me the application contains both signed and unsigned codes. I have read http://docs.oracle.com/javase/6/docs/technotes/guides/jweb/mixed_code.html but I could not solve the problem. I think if I can combine these all jars into my product jar and sign this unique jar, I will be able to solve.
      Can you help me about this subject ?
        • 1. Re: how to sign multiple jars in my project ?
          I went through this a couple of years ago. I decided to sign all the jars, rather than combining them. My reason was that there was a main code jar and a bunch of resource jars for different languages. Why end up with a huge jar containing English, French, Spanish etc., when only one will be used by a specific user? Anyway, maybe your situation is different, but if you had good reasons to split into many jars in the first place, keep it like this and sign each one of them.