How to export .war file from myeclipse with source code?

Right click on the project and select “Export…”. Now open the “MyEclipse JEE” node, click on “WAR file” and click the “Next” button. Type in or browse to a destination for your WAR file, select the “Export source files” option and click the Finish button. The WAR file that you specified as the destination, will be written, with the source in the WEB-INF/classes folder.

The above is for MyEclipse release 2013, but will be the same for release 2014. If you have an earlier release, I’d have to check if there are any differences.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s