Where Are Project Files Stored?
JDE creates a project in a source directory relative to its portfolio. Relative path names allow JDE to access a portfolio across a local network.
Example 1
Suppose you have the following portfolio in the Solaris computing environment:
- /home/smith/examples/example.psf
In this portfolio, you create the following two projects:
- /home/smith/examples/blink/blink.prj
- /home/smith/demos/bubbles/bubbles.prj
JDE stores the projects in the example.psf portfolio file as follows:
- blink/blink.prj
- ../demos/bubbles/bubbles.prj
Example 2
Suppose you are working on Microsoft Windows NT or Windows 95 and you have the following portfolio:
- c:\examples\example.psf
Into this portfolio, you import the following projects:
- c:\examples\bubbles\bubbles.prj
- e:\examples\blink\blink.prj
The first project is on the same drive as the portfolio. JDE stores the project in the example.psf file as bubbles\bubbles.prj.
The second project is on a different drive than the portfolio. JDE can't make this path relative. JDE stores the project in the
example.psf file as e:\examples\blink\blink.prj.
Now suppose a user on the Internet accesses c:\examples\example.psf and copies the Bubbles project to his or her current portfolio, c:\demos\new\newdemos.psf. JDE puts the copy in c:\demos\new\bubbles\bubbles.prj.
If the user copies the Blink project into his or her current portfolio, JDE places it in e:\examples\blink\blink.prj. If this location does not exist, the copy/paste operation fails.
Example 3
Some project information requires that you enter a path name. For example, the Build tab in the Edit Project window contains an attribute in which you specify the path to the root directory of the class hierarchy. JDE creates project attributes that require a path name relative to the project (.prj) file.
If you specify a path that cannot be made relative to the project, then other users may not be able to access or use the project. For example, suppose you are working on Microsoft Windows NT or Windows 95 and you enter e:\myclasses as the root directory of the class hierarchy. If other users copy your project, the "root directory of class hierarchy" works only if they have an e: drive with a myclasses directory.