Jump to content
Excelsior Forums
Sign in to follow this  
amar

package 3rd party jar file with JetPack 2

Recommended Posts

Hi,

    I am trying to package a 3rd party jar file into the executable so that I do not have to put the jar file outside the executable. This is necessary as we do not want the end user to replace the jar file. How do I achieve this witout doing a complete build of the project? The project build takes 2 hrs and I do not want to do this for different clients everytime I want to replace only this jar file. Any suggestions are helpful.

Regards,

Amar..

Share this post


Link to post
Share on other sites

Packing jars into executable is performed by the compiler at build time (not by JetPackII).

Please, send your project file (.prj) and the name of the jar you want to replace to our Support Dept. (java at excelsior-usa.com)

We will check it and give you our recommendations.

Share this post


Link to post
Share on other sites

Hi,

    I am talking about a generic java project wherein I have to replace some code for every client. Let me explain in further detail. I need to hardcode the name of the client in the software before I can ask the client to download the software. I am talking about 25+ clients. I obviously do not want to do 25 iterations of the builing of the native application as each build takes 2hrs+. So I am looking for a solution wherein I can inject some code into the build before I package, since packagin takes lesser time than building. If this solution does not work, can you suggest an alernative solution wherein I can put smallcustom code for each client and I do not want to do more than one build.

Thanks

Amar..

Share this post


Link to post
Share on other sites

Hi,

There is no way to pack the jar into executable using JetPackII.

Please contact our Support Dept. as zztop suggested to get an alternative solution.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×