facebook

Web project with sources in another project

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

    Hello,
    I have a project which contains sources used in many projects.
    Now I make a web project which must use this sources.
    When i deploy the project in JBoss or when i export the project as war the classes from project which contains common sources are not deployed or exported in war.

    I tried to set that web project reference the other project, in build path i added at source project.
    It is not possible to do something like this or i made something wrong?

    Thank you,
    Marius.

    #241080 Reply

    Scott Anderson
    Participant

    Marius,

    Yes, you should be able to make your web project depend on your utility project (the one that contains sources used in many projects). The utility project should be a plain Java project. Instructions on how to do that are in the Advanced section of the Working with Web Projects tutorial in the Documentation section.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Web project with sources in another project

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