Technical Articles
How to create JAR File in NWDS
Overview
Once our Java development is done, is time to create the JAR file, this JAR is used for Java Mapping in the Operation Mapping within the ESR Tool.
Below small document covers some importants steps to create correctly the JAR File in NWDS.
Right clic on the Java Class:
Once Export wizard is started:
If JAR option is not showed (normally is under Java Folder), type JAR, select it and clic on Next:
Here we have different options we can follow accordingly we our requirement, for our purpose we will keep our current project in the resources to export and add a name for the JAR file and destination in export destination section, clic on Next :
In the last options we can leave it as it is, just clic on Finish button:
And that’s all, hope, you like the post, I am looking forward to receiving your comments to the post.
Hi Adalid
One important thing is that you have both the source code and the binary to other people later will be able to support and migrate the code.
I did some time ago write about using Ant to create the jar
https://blogs.sap.com/2014/06/22/creating-jar-files-from-nwds-using-ant/
It gives you the option to create the same archive each time much easier.
Daniel