wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes JDK, Eclipse, Struts2, Ant, Oracle Environment setup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "JDK, Eclipse, Struts2, Ant, Oracle Environment setup " Watch "JDK, Eclipse, Struts2, Ant, Oracle Environment setup " New topic
Author

JDK, Eclipse, Struts2, Ant, Oracle Environment setup

Elias Ta
Greenhorn

Joined: Sep 29, 2008
Posts: 15
Hi,
I am starting a new Struts2 project from scratch. It is based on Tomcat 5.5 and will utilize oracle as data source and Eclipse 3.4.
What I want is to be able to use Eclipse as my development environment and automate compilation and deployment through Ant. I could not find a book on setting up environment to prepare. Can you please give me some detailed insight how I can build and run Ant with in the Eclipse env?, I would also like to eventually use Hibernate but I cannot imagine the pieces put together. I would appreciate any insight

Thank you for your help
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Using Ant to build your Eclipse project is easy. Go to Project > Properties, and select Builders, and click the New button, select Ant builder, and file in the information about the build script.

Be aware that Eclipse will pass extra settings to Ant and if you are not careful, builds from the command line will behave differently from builds done within Eclipse. Usually, if you test the build script from the command line you will not have problems.


JBoss In Action
 
wood burning stoves
 
subject: JDK, Eclipse, Struts2, Ant, Oracle Environment setup
 
Similar Threads
struts2
Struts2
OGNL with Struts2
Struts2
struts2