facebook

how to deploy a project refd with the JSP project [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #209677 Reply

    Segao
    Member

    Hello, 😀

    Let’s consider that I have in my workspace 2 projects: one is a java project that contains only classes (some sort of utils library) and the other one is a JSP app that makes use from this util classes.

    Even if I do set up references and build dependencies from the JSP project to the java one, the java classes are not deployed when I order MyEclipse to deploy…looks like only the /Webroot (folder from the JSP project) is copied to the Tomcat webapps dir.

    Is there a way make MyEclipse deploy to Tomcat the classes from one project (java) along with the files deployed from the JSP project? This is important because let’s consider that I am tailoring those util classes constantly and they should be deployed as well…..

    Well, I could put the directory from the java project into the system classpath and may be it would work, but I don’t think this is the inteligent solution.

    Also I could just throw those java classes from the java project into the /src folder of the JSP project, but then the whole concept of 1 Workspace -> n Projects would be lost.

    Thanks

    Tomcat 4
    Eclipse 3.0
    MyEclipse 3.7.101

    #209678 Reply

    Riyad Kalla
    Member

    What are your settings under the Window > Preferences > MyEclipse > J2EE > Web Project preference screen? The middle group you probably want to set to “Use smart deployment”. Let me know if that fixes the problem.

    #209871 Reply

    Segao
    Member

    Thanks!

    #209873 Reply

    Segao
    Member

    @Segao wrote:

    Thanks!

    Worked fine here! Thanks again!

    #209878 Reply

    Riyad Kalla
    Member

    Cool, I like it when things are easy 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: how to deploy a project refd with the JSP project [Closed]

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