Wednesday, June 6, 2012

How I Imported Ant project into Eclipse

I haven't used Ant in a while and forgot how to 'mvn eclipse:eclipse' it as it were to create an Eclipse project from my build.xml.  The following steps is what I did:

1.  Go to File -> New  ->  Project
2.  Select "Java Project from Existing Ant Bundle"
3.  Right click project  ->  properties
 a.  Java Build Path
  1)  Source tab
   a)  Unclick 'Allow output folders for source folders'
   b)  Default output folder: Specify the same folder that you specified in your build.xml
  2)  Libraries
   a)  Add External JARS and select jars used in your ant file.
   b)  Add Library  ->  JRE System Library.  Select JDK home.
    *Make sure you have the JDK installed.  If not, click Alternate JRE.  Then click Installed JREs and find your JDK home.  Then use that

* I had to delete the .class files created automatically on import, before I had a shot at changing the settings above.

1 comment:

fy283u04kh said...

There are many academic programs one can take to have interaction with 3D printing. Universities supply programs on things which are be} adjacent to 3D printing like CAD and 3D design, which can be applied to 3D printing at a sure stage. Direct again to the} creation of an object straight from the 3D design Wireless Bluetooth Headsets while oblique manufacturing implies that the object that's 3D printed eventually is used to create a mildew for investment casting. Besides speedy prototyping, 3D printing can also be|can be} used for speedy manufacturing. Rapid manufacturing is a new new} methodology of producing the place businesses use 3D printers for short run / small batch customized manufacturing. Molding Concepts, Inc. in Sterling Heights, MI makes a speciality of plastic injection molding, die making and 3D printing as well as|in addition to} design and engineering services.