How Do I Automatically Generate A .jar File In An Eclipse Java Project

Create an Ant file and tell Eclipse to build it. There are only two steps and each is easy with the step-by-step instructions below. Step 1 Create a build.xml file and add to package explorer: <?xml version=”1.0″ ?> <!– Configuration of the Ant build system to generate a Jar file –> <project name=”TestMain” default=”CreateJar”> <target … Read more

Eclipse “Server Locations” section disabled and need to change to use Tomcat installation

Ok, sorry for my previous answer, I had never seen that Overview screen before. Here is how I did it: Right click on my tomcat server in “Servers” view, select “Properties…” In the “General” panel, click on the “Switch Location” button The “Location: [workspace metadata]” bit should have been replaced by something else. Open (or … Read more