For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 7 replies, 2 voices, and was last updated 21 years, 7 months ago by
Scott Anderson.
-
AuthorPosts
-
Lee HarringtonMemberI 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
January 4, 2005 at 4:03 pm #222186
Scott AndersonParticipantLee,
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.htmlIf 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.
January 5, 2005 at 8:30 am #222217
Lee HarringtonMemberWorking 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
January 5, 2005 at 9:21 am #222222
Scott AndersonParticipantLee,
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.
January 5, 2005 at 11:50 am #222229
Lee HarringtonMemberDo 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
January 5, 2005 at 12:21 pm #222238
Scott AndersonParticipantLee,
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.
January 5, 2005 at 1:19 pm #222246
Lee HarringtonMemberOk…you can add “create build.xml” file as a “feature request” 🙂
January 5, 2005 at 2:26 pm #222250
Scott AndersonParticipantIt’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. 🙂 -
AuthorPosts
