Project Folder Names

Project Folder Names

29
Basic UserBasic User
29

    Jul 23, 2009#1

    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...

    6,602548
    Grand MasterGrand Master
    6,602548

      Aug 15, 2009#2

      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?
      Best regards from an UC/UE/UES for Windows user from Austria

      29
      Basic UserBasic User
      29

        Aug 19, 2009#3

        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

        6,602548
        Grand MasterGrand Master
        6,602548

          Aug 19, 2009#4

          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.
          Best regards from an UC/UE/UES for Windows user from Austria

          29
          Basic UserBasic User
          29

            Aug 20, 2009#5

            Thanks Mofi, that solved it. I don't mind editing the file manually.