Build eclipse project with ant
29,367
Does this wizard help
Rigth-click on project -> Export ... -> Ant buildfiles.
?
Author by
DodoFXP
Updated on November 27, 2020Comments
-
DodoFXP over 3 years
I am developing JSR 268 compliant portlet and utility with eclipse. Now, the utility is designed to be a separate JAR from the portlet itself.
Does anyone now how to write an ant build.xml that will 1. Compile and JAR my utility class 2. Move the JAR to the ./lib folder of the portlet 3. Compile and maybe even delpoy the portlet to a tomcat running on localhost?
My biggest problem right now are the build-time dependencies. I dont want to hardcode all the folders as I share this project with two other developers which are on another platform. Is it possible to reuse the buildpath from eclipse?
Thank you in advance, Felipe
-
Brian McCutchon almost 9 yearsFor me, it's
[Right click] > "Export..." > "General" > "Ant Buildfiles"
.