Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsconveting program to use ANT -- how can one see how Eclipse programs/projects
https://www.eclipse.org/forums/index.php/mv/msg/200421/639697/#msg_639697
I've a question about Eclipse and ANT. Currently I develop on a Wndows XP system and Eclipse magically compiles everything for me. Afterwards we copy the created .class files to the test and production machine were everything is started using batch files. Now I want to automatize this want to created the class files on the test/production machine. I've created an ANT build file for this but not everything goes as I want.
It would help if I could see how eclipse builds the classes. Using buildall or running a profile which builds and runs part of the program. Is there a way to see what Eclipse compiles. I know it uses the .classpath. When running a program using Eclipse you can in debugmode see exactly how the Java program is started from the commandline. I was looking for something identical for the build process but can't seem to find it. Have google but to no avail.
Any hint/pointers/examples are appreciated.
Jan ]]>No real name2010-11-17T14:15:31-00:00Re: conveting program to use ANT -- how can one see how Eclipse programs/projects
https://www.eclipse.org/forums/index.php/mv/msg/200421/639732/#msg_639732
For a java project, you can use File>Export...>General>Ant buildfile to
have eclipse generate a build.xml that taken from its properties and
classpath.
You need an equivalent env on your server that would allow you to
compile. I usually run a buildfile with my eclipse:
I only need to compile java proejcts. I've succesfully created a build file and now I'm gonna change it for my situation.
A question: a buildfile in my Eclipse (3.4 plain) is shown as an XML file (in the ant editor). What I optinally would like to see is a graphical overview of all dependecies etc. Do I need to install an extra plugin for Eclipse. So far I've found things like Grand and Vizant but I would like to use Eclipse for it (main dev env).
Greetz,
Jan ]]>No real name2010-11-18T12:38:18-00:00