facebook

Deploying web application to JBoss 4.x with build.xml file

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #275489 Reply

    Tejas
    Member

    Hi 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.

    #275494 Reply

    Riyad Kalla
    Member

    MyEclipse 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.

    #275499 Reply

    Tejas
    Member

    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?

    #275500 Reply

    Tejas
    Member

    @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

    #275555 Reply

    Riyad Kalla
    Member

    since 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.

    #275561 Reply

    jgroulx
    Member

    I 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.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Deploying web application to JBoss 4.x with build.xml file

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