Book a Demo

Author Topic: Local Directory Usage & Package Sync.  (Read 2255 times)

rselvaraj

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Local Directory Usage & Package Sync.
« on: August 12, 2004, 09:42:37 am »
Question: Is there a cleaner way to import new classes into the original package without manually adding the source files?

Scenario: A team of developers share an EA Model from a network location. Each developer has their source at a different location on their local machine.  They all want to update the same EA Model.

Adding a new Class:
Step 1. Developer 2  sets the local directory path (Path = C:\Data\Source\ , ID = JAVA_SOURCE,  Type = Java)
Step 2. Adds a new class to the source code (C:\Data\Source\Customer.java)
Step 3.Reverse engineers the changes to the model [Code Engineering -> Synchronize Package Contents ->  Reverse Engineer]
The new class is not picked up by this reverse engineering action.
It would be nice to prompt the user about the new class during the reverse engineering action.

Tried to do an import of the source directory [Code Engineering -> Import Source Directory] to get the new file into the model. It creates an additional package in EA to import the new class (i.e. Customer).

It looks like the only way to get the new class into the package is to do it manually. (i.e. Project -> Source Code Engineering -> Import Java Files)

I would like to find out if there is a better way to do this.

Thank You.

Raj.