facebook

Web Application – Missing Deployment Tab

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #340134 Reply

    AlanB
    Member

    Hi

    I have upgraded to MyEclipse2013, when I checkout our source from CVS and deploy onto Tomcat7, a dependency is not having it’s JARs exported into WEB-INF/lib (no lib folder is present in the exploded tomcat deployment).

    Structure is
    – Java Project (source code and many jars)
    – Web Application Project -> Depends on Java Project

    I went to enable jars to be deployed from required projects, but the option is missing.

    What I expect to see (previous MyEclipse version)

    What I see (notice there is no ‘Web’ settings to select at all)

    What I see in the ‘Windows -> Properties’ settings, no “Deployment Tab”

    Thoughts?

    Thanks,
    Al.

    #340178 Reply

    Alan,

    Deployment of applications is now transparently handled through the Deployment Assembly mechanism. Use the project’s deployment assembly property page to precisely control the deployment of your project’s resources if you need more control. Right click on your project and navigate to Properties > MyEclipse > Deployment Assembly page.

    Please read this document for an overview of some of the key changes in 2013 – http://myeclipseide.com:8080/help/index.jsp?topic=%2Fcom.genuitec.myeclipse.doc%2Fhtml%2Fgettingstarted%2Fme_2013%2Findex.html&cp=2_0

    Hope this helps.

    #340253 Reply

    AlanB
    Member

    Thanks for the reply.

    In that case, am I supposed to add each individual required jar file from the dependency project to the deployment assembly of the parent project?

    Example:

    
      - Project_GUI
         - src/1.jsp
         - Project_Core
            - src/2.java
            - lib/3.jar
            - lib/4.jar
            - lib/5.jar
    

    When Project_GUI is deployed, the source code of Project_Core is present in the WEB-INF/classes folder, however, 3.jar, 4.jar and 5.jar are NOT present in the WEB-INF/lib folder – unless I explicitly add them in the deployment assembly.

    I was hoping there was an option to auto-deploy all jars that are required by the ‘dependency project’

    Thanks,
    Al.

    #340256 Reply

    Alan,

    In the ‘Deployment Assembly’ page of the Java project (dependent project), you need to add each jar file you want to deploy. Navigate to Java project Deployment assembly page > Click ‘Add’ > Select ‘Java Build path entries’ and click ‘Next’ > Select all the jar files you want to deploy and click ‘Finish’.

    In the ‘Deployment Assembly’ page of the Web project, you need to add the dependent project by navigating to Web project Deployment assembly page > Click ‘Add’ > Select ‘Project’ and click ‘Next’ > Select the dependent project (java project) and click ‘Finish’.

    Deploy the web application and check whether the dependent project jar files are added to WEB-INF/lib folder.

    Hope this helps.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Web Application – Missing Deployment Tab

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