Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Local Paths

Sometimes a team of developers could be working on the same Enterprise Architect model. Each developer might store their version of the source code in their local file system, but not always at the same location as their fellow developers. To handle this scenario, Enterprise Architect enables you to define local paths for each Enterprise Architect user, using the Local Paths dialog (select the Settings | Local Paths menu option).

As well as generating code and reverse engineering, you can use local paths in version control, developing XML schemas, and generating RTF and HTML reports.

Local paths take a bit of setting up, but if you want to work collaboratively on source and model concurrently, the effort is well worth while.

For example: developer A stores their .java files in a C:\Java\Source directory, while developer B stores theirs in D:\Source. Meanwhile, both developers want to generate and reverse engineer into the same Enterprise Architect model located on a shared (or replicated) network drive.

Developer A might define a local path of:

JAVA_SOURCE = "C:\Java\Source"

All Classes generated and stored in the Enterprise Architect project are stored as:


Developer B now defines a local path as:

JAVA_SOURCE ="D:\Source".

Now, Enterprise Architect stores all java files in these directories as:


On each developer's machine, the filename is expanded to the correct local version.