Single .JAR Include

User 8e67c47b0c

24-02-2016 00:26:12

Our existing solution effectively integrates with MarvinSketch and runs locally on the dev machines, but we're finding it very difficult to package our application (with these included) as a single executable .jar file. From researching it appears the right way to do this is with the Maven packaging tool, but we're finding it difficult to write out the dependencies in the manifest file with all 160 external packages.


There are three possible ways to assist with this, in my mind, which I've ordered according to preference. 


1. Is there a single .jar file with all of the other dependencies included which we could download and reference instead of the 160. 


2. Is there a tool or script you'd recommend using or could provide that would automatically add the maven dependencies into the manifest file?


3. Is there a sample maven file with these already listed that you could provide that we could work from?


The list of the .jar files we need to include is attached. Within our application, they are all located within a directory 'external'.


Thanks so much,


-Sawyeaid12

ChemAxon d26931946c

29-02-2016 12:54:02

Hi,


 


If you inlcude only MarvinBeans.jar on your classpath with transitive dependencies enabled and you copy the contents of the lib folder of our package, MarvinBeans.jar contains the references to all other jars we are deploying.


Best regards,


Peter