This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Using Ant In Eclipse To Automate Deployment Of Jar File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Using Ant In Eclipse To Automate Deployment Of Jar File" Watch "Using Ant In Eclipse To Automate Deployment Of Jar File" New topic
Author

Using Ant In Eclipse To Automate Deployment Of Jar File

Kaydell Leavitt
Ranch Hand

Joined: Nov 18, 2006
Posts: 688

I'm using Eclipse to build a cross-platform desktop application (Mac & Windows). I am able to deploy a Jar, but I have to remember how to do it each time. I have to remember to first Refresh my project and I don't believe that my previous choices "stick" in Eclipse.

I read that the solution to this is to write an Ant script.

Can someone help me to get started on this?

Kaydell
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29239
    
139

Kaydell,
The ant website is the best place to start.

I'm going to move this thread to our Ant forum for you.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Ant In Eclipse To Automate Deployment Of Jar File
 
Similar Threads
why is 'bin' in my package path
ANT could not find class for <junit>
Eclipse 3.1 CVS problem
Unable to find a javac; Perhaps JAVA_HOME does not point to the JDK
Problem with Eclipse and the servicegen task of weblogic