Building the Deployment Files Using Eclipse (Method 1)
To build the deployment files (method 1)
1. In Eclipse, select the build.xml file in the Package Explorer view.
2. In the context menu, click Run As > Ant Build....
3. Ensure that the options are set for Clear Environment, Compile Sources, Create JAR file, Create ZIP file.
4. Click Run.