facebook

generate ant build.xml

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #209032 Reply

    Hi

    first off, thanks for a great tool.

    One feature I’d wish for is myeclipse to generate a build.xml file from a project.
    I’ve looked around and haven’t found this anywhere.

    Let’s say I’m done with most of my development and I wish to build the project nightly or on demand. Most times I just write and new( or modify an existing one) build.xml file to fit with the project. However, since myeclipse internally knows the layout of the webapp and all the resources added it should be possible to generate a build.xml file
    with common tasks such as clean, build, package? maybe even smaller more granular targets.
    The same goes for a EJB module. Whenever I modify the project (add a directory or library) I could just regenerate the build.xml file.

    Just a thought.

    -Henrik Bentel

    #209163 Reply

    Thomas Trostel
    Participant

    You should take a look at Maven. Maven does all these steps and is an outgrowth of Ant. It would be nice if MyEclipse supported Maven projects through a Maven plug in.

    available at maven.apache.org

    #209165 Reply

    Riyad Kalla
    Member

    Henrik,
    This is a common request and unfortunately we didn’t go with Ant because its too limiting. MyEclipse supports a lot more functionality than Ant can provide behind the scenes to allow for more flexible project structures, so its not really possible for us to generate (easily) a build script that can model that.

    However we are hoping to look at this request again in the future to see if we can generate some kind of build script if the project layout meets some kind of criteria.

    ttrostel has a good suggestion for overall project management, Maven is pretty amazing in that regard. But if this is just a personal project, it would certainly be a bazooka to kill a mosquito situation.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: generate ant build.xml

You must be logged in to post in the forum log in