Re: getting to ProjectMember from SourceElement
Svata Dedic <[email protected]> 01 Aug 2003 08:13:43 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.projects.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2003-07-31 at 18:47, Peter Wisnovsky wrote: > > There is a big difference among files which are on the ProjectFileSystem > > (the FS which contains the project definition, the project file system > > always implies a single Project) and file object which are belonging to > > the project(s) but are on the other filesystems (local, ftp,...). > > Ah, this was my confusion. I supposed that the "project file system" > in the docs was the directory on disk that held the files of the > project. Would I be correct in supposing this the project equivelent > of the XML system filesystem of old? > Well, the "project filesystem" is an implementation detail of how the project definition (= build steps, references to sources, libs, other projects, run profiles, settings for all the above) is stored. Since we needed a hiearchical storage for an unbound set of data types, a Filesystem looked natural (with all the loaders feeding from it). The project filesystem is actually a tuple of XML filesystem loaded from the .project file and a local working area underneath /Projects on the system filesystem; when the project is saved/closed, those two are merged (they are both filesystems, after all) and written back to the .project XML file. -Svata