facebook

How to build project b that is dependent on project a

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

    mike8080
    Participant

    Hello Forum
    I have a web project(project a) that works. The screen comes up, the user enters data, clicks submit and it updates the data base. Now I’m working on another web project(project b). It is almost the same as project b except: The screen has a different heading. I have a couple of methods in a couple of classes that override methods in project a. How do I compile project b so that it gets everything from project a and overrides a few things ? I have tried creating a jar file from project a and putting that in the pom file for project b. But that didn’t work. In the build path for project b I added project a in the Projects tab, but that didn’t work. What else can I try ?
    Thanks

    #473531 Reply

    support-swapna
    Moderator

    Mike,

    You can create a web fragment project and extract common classes and web pages to the web fragment. You can then add the project as dependent to both a and b projects.

    Hope this helps.

    –Swapna
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to build project b that is dependent on project a

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