Project Folder Names

This forum is user-to-user based and not regularly monitored by IDM.
Please see the note at the top of this page on how to contact IDM.

Project Folder Names

Postby cawoodm » Thu Jul 23, 2009 2:48 am

We have projects hosted on remote file servers. This means our projects have folders with really long names (e.g. \\myservername.mydomain.net\folder\folder\folder\folder). Is there any way in UES to shorten the names of project folders? When we add folders we only see the start of the name unless we make the workspace/project explorer really wide.

We've looked at the "Group" feature but it seems you have to manually add files to a group. We want a "Group" which we name but it contains all files and subfolders of a real folder...
cawoodm
Basic User
Basic User
 
Posts: 27
Joined: Mon Mar 27, 2006 12:00 am

Re: Project Folder Names

Postby Mofi » Sat Aug 15, 2009 3:57 am

I work with groups, so don't really know the answer. But are the folder names shorter when you specify a project directory and enable the setting to use relative paths?
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4049
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Project Folder Names

Postby cawoodm » Wed Aug 19, 2009 2:10 am

Mofi wrote:I work with groups, so don't really know the answer. But are the folder names shorter when you specify a project directory and enable the setting to use relative paths?

Which setting is that then? I don't see it anywhere in UES 9.10
cawoodm
Basic User
Basic User
 
Posts: 27
Joined: Mon Mar 27, 2006 12:00 am

Re: Project Folder Names

Postby Mofi » Wed Aug 19, 2009 3:48 am

Oh, yes, you are right. I should have looked into one of my projects before writing the reply. The settings to use paths relative to project directory or relative to project file are not present anymore in the project settings dialog, whether in UltraEdit nor in UEStudio. Both use now relative paths automatically when possible.

The default is that all project files are with relative paths to the project file. So the project file should be either in the root of the project (= project directory), or like I use for my projects, in a subfolder of the project directory because I only want source files and not additional project managing files in project root directory.

The project file (*.prj) still contains:

[Project Information]
Use Relative Directory=1
Relative to Project File=1

With opening the project file and editing the options and of course also all paths, it should be possible to shorten the directories.

I have now tried what happens if I add to one of my projects in UEStudio a subfolder of the project as folder and not as group. UES adds the folder with full path. In my point of view this is a bug. When all files are added relative to project file or project directory, then the folders should be added also with relative paths. Please report this issue by email to IDM support.

Next I closed the project, opened the project file *.prj with File - Open in UES, converted the absolute paths of the just added folder to correct relative paths (relative to project file in my case), saved the project file and closed it. After re-opening the project and looking into the project settings dialog everything looked OK. Files added to this folder are also automatically correct added to the project. A Find in Files in all project files worked, too. I have not tested if building the project with the added folder using a relative path also works because the added folder did not contain source files of my project. However, backup your project file and try if replacing all absolute folder paths in your project file by relative folder paths results also in a working project which can be build/rebuild.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4049
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Project Folder Names

Postby cawoodm » Thu Aug 20, 2009 3:23 am

Thanks Mofi, that solved it. I don't mind editing the file manually.
cawoodm
Basic User
Basic User
 
Posts: 27
Joined: Mon Mar 27, 2006 12:00 am


Return to UEStudio General Discussion