- This topic has 5 replies, 3 voices, and was last updated 17 years, 2 months ago by jgroulx.
-
AuthorPosts
-
TejasMemberHi I have a webapplication which has different configurations and each has a build.xml file. This configurations are different configs for different environments. So can i specify in MYeclipse to deploy the application using a particular build.xml file from a particular configuration to the JBoss 4.x server
Thanks in advance for the reply.
Riyad KallaMemberMyEclipse does not use Ant, so it will ignore your build.xml files. That being said, if you wanted to write build.xml files that manually deployed each app to individual installs of your app server, you are certainly free to do that but MyEclipse won’t automate that step at all.
TejasMemberok in this case how can i deploy my application to the local app server in myeclipse, since I have web.xml file associated with individual environemental config folders? Any work around to deploy the different environment based configuration (app) without using the build.xml?
TejasMember@tdave wrote:
ok in this case how can i deploy my application to the local app server in myeclipse, since I have web.xml file associated with individual environemental config folders? Any work around to deploy the different environment based configuration (app) without using the build.xml? Currently when i deploy the app to server it builds the web-inf and meta inf folders and an index.jsp page which i really dont need and want to use the one in one of the config folders
Riyad KallaMembersince I have web.xml file associated with individual environemental config folders?
To understand your setup better… you have a single Web Project, that has a lot of different custom web.xml files in it, and depending on some trigger, the project will get deployed with one of the particular web.xml files?
MyEclipse doesn’t look at the contents of your project or files in your project, so having it key off of different random triggers to create different custom deployments won’t work.
But I may just be not understanding how your projects are setup, and something automated might be possible.
jgroulxMemberI have found a solution to my problem using the ANT build.xml files from an existing project. See my solution which I posted for JBoss – Hibernate har with MyEclipse Again. I don’t know if it might be of some help with your build.xml files.
-
AuthorPosts