facebook

Ant

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #222171 Reply

    I know one of the great strengths of MyEclipse is that you can deploy automatically. However, as MyEclipse does not handle remote deployments, I’m wondering if we can automatically create an Ant script from our MyEclipse settings?

    Lee

    #222186

    Scott Anderson
    Participant

    Lee,

    I’m wondering if we can automatically create an Ant script from our MyEclipse settings?

    Possibly, but not easily. I’d suggest one of the two following courses of action instead. First, if it is possible to mount a remote drive from the server you want to deploy to on your local machine, do that and use the <Custom Location> server setting in the new deployment dialog to deploy to wherever you want. You can also debug the remote server just as if you launched it from MyEclipse. Please see the Remote Debugging Quickstart in the Documentation section for full details on how to do this here:
    http://www.myeclipseide.com/ContentExpress-display-ceid-67.html

    If you can’t mount a remote drive, it would be much easier to still use the <Custom Location> deployment option to package the project(s) to a location on your remote machine and then write an Ant script that just copies it where you need it remotely.

    #222217

    Working in a corporate environment I’m not in control of all the variables. I need to deploy war files only.
    Right now I have to build a different war firl for dev, test, and production — as the web.xml, log4j.properties, and hibernate.cfg.xml etc. are different and are built into the war files.

    I was thinking of making an ant script that would build them automatically.

    We develop on tomcat and deploy on Websphere.

    Lee

    #222222

    Scott Anderson
    Participant

    Lee,

    I see what you’re getting at. You’ve basically got additional QA and Production concerns, in addition to development ones. MyEclipse doesn’t really offer any production build management capabilities since we focus on development and debugging.

    Generally in a production configuration, we recommend that you have an external process or application (ie Ant Farm) that pulls all the source directly from your repository, compiles it with optimization, and packages it for production deployment.

    #222229

    Do you have a link to more info about an “Ant Farm”?

    It seems clear that I do need to use Ant, and I’m cool with that. Just looking for a way to leverage all that I’ve setup in my MyEclipse project in order to create the build.xml file.

    Lee

    #222238

    Scott Anderson
    Participant

    Lee,

    Well, I searched for the Ant Farm build product I mentioned and couldn’t find anything on it now. Perhaps it is no longer available. Sorry, I wish I could locate something to help you out.

    #222246

    Ok…you can add “create build.xml” file as a “feature request” 🙂

    #222250

    Scott Anderson
    Participant

    It’s a little harder than that since Ant can’t follow Eclipse links and our builder can. 😉
    But, please feel free to post to the Feature Requests forum with the idea. 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Ant

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