Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8659

Reduce source code path length

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.9.1
    • Component/s: Infrastructure

      Description

      Path length is too long for Windows, causing issues like:
      << [exec] error: unable to create file nuxeo-platform-directory/nuxeo-platform-directory-core/src/test/java/org/nuxeo/ecm/directory/localconfiguration/DirectoryLocalConfigurationRepositoryInit.java (No such file or directory) >>

      Even under "powerful" OS where path length is not an issue, having so long paths and duplication in names is a pain.

      There are a few constraints:

      • it's better (even required) for an artifact to live in a directory with the same name.
      • it's useful to have parent directories of SCM repositories starting with the prefix "nuxeo-".

      Possible improvements:

      • remove the prefix "nuxeo-" from most modules (the group is enough to know they are Nuxeo modules)
      • remove the historical and now useless prefix "nuxeo-platform-" from modules
      • don't repeat the path or group in the module name (for instance: "nuxeo-features-test" living in "nuxeo-features" could be simply named "test")
      • reduce filenames length for the longer ones
      • setup rules on file naming
      • ...

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified