Adding Files (and Folders) to Workspaces
Posted: Wed Sep 22, 2004 2:31 pm
I am adding files to a Workspace for the project I am working on.
It is a complex project (modules for phpNuke), it has a complexity similar to phpBB; lots of files, lots of directories.
In order to maintain a separation of the files I need to create a similar directory hierarchy as on the filesystem.
Rather than creating the hierarchy in the workspace manually, it would be really great if I could add a directory to a folder in the workspace and have it create the structure and add the files all in one motion.
Oxygen XML just added a similar feature to their projects. XML Spy has had it for some time. It's hard to describe, but they both allow two forms of this feature: Importing and Filesystem Linking.
Importing creates folders and adds files and afterwards works just like what you have today.
Linking is similar, except the folders and files are 'live' against the file system. If I add a file, remove a file, rename a file, add or remove directories it would show up in the workspace just as it does in the 'Drives' tab. The same thing could be accomplished if saving a workspace would also save the current working directory in the 'Drives' tab. (I hate having to re-navigate to a project-root directory everytime I change projects, just save the cwd in the workspace).
I wrote this pretty quickly and I'm sure I've rambled a bit. Maybe looking at one of the above applications and how they did it would be better than my description.
If Zeus can already do this in some form, please let me know how.
Thanks,
It is a complex project (modules for phpNuke), it has a complexity similar to phpBB; lots of files, lots of directories.
In order to maintain a separation of the files I need to create a similar directory hierarchy as on the filesystem.
Rather than creating the hierarchy in the workspace manually, it would be really great if I could add a directory to a folder in the workspace and have it create the structure and add the files all in one motion.
Oxygen XML just added a similar feature to their projects. XML Spy has had it for some time. It's hard to describe, but they both allow two forms of this feature: Importing and Filesystem Linking.
Importing creates folders and adds files and afterwards works just like what you have today.
Linking is similar, except the folders and files are 'live' against the file system. If I add a file, remove a file, rename a file, add or remove directories it would show up in the workspace just as it does in the 'Drives' tab. The same thing could be accomplished if saving a workspace would also save the current working directory in the 'Drives' tab. (I hate having to re-navigate to a project-root directory everytime I change projects, just save the cwd in the workspace).
I wrote this pretty quickly and I'm sure I've rambled a bit. Maybe looking at one of the above applications and how they did it would be better than my description.
If Zeus can already do this in some form, please let me know how.
Thanks,