facebook

Deploying jsp from 2 separate directories

💡
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 Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #266958 Reply

    solmyr72
    Member

    Hi,

    We are using MyEclipse with tomcat 5.5 .

    Is it possible for MyEclipse to deploy JSPs from 2 different directories, deploying them both into the same tomcat webapp ?

    Details:
    We maintain our JSP files in 2 separate directories (due to a logical division of work between 2 teams).
    Those directories *can* have directories with the same name, but in such cases, we guarantee there will be no collisin between file names inside those directories.

    Example *developer* machine:
    First jsp directory – the standard WebRoot:
    – WebRoot/employees/emp1.jsp
    – WebRoot/employees/emp.jsp
    Second jsp directory (having the same directory ’employees’, plus new directory ‘products’):
    – MoreJSP/employees/emp3.jsp
    – MoreJSP/products/prod4.jsp

    On deployment, those files should all go into a single webapp:
    – CATALINA_HOME/webapps/ROOT/employees/emp1.jsp
    – CATALINA_HOME/webapps/ROOT/employees/emp2.jsp
    – CATALINA_HOME/webapps/ROOT/employees/emp3.jsp
    – CATALINA_HOME/webapps/ROOT/products/prod4.jsp

    Is it possible for MyEclipse to perform such a deployement for us?
    Thanks very much.

    #266982

    Riyad Kalla
    Member

    We don’t support this automatically, but you may be able to trick MyEclipse by using two custom location deployments for the different projects and selecting the “overlay” option when you setup the 2nd deployment and MyEclipse warns you of the collision.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Deploying jsp from 2 separate directories

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