Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-2717

Nuxeo package generated with nuxeo cli should support windows path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Nuxeo CLI

      Description

      Steps to reproduce (using windows 10):

      • create a new multi module project nuxeo bootstrap
      • Then add a package conf nuxeo bootstrap package
      • Finally try to build the package: mvn clean package

      The build fails and return error logs (see attachments for full stack)

      Caused by: java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\Users\pred5326\eclipse-workspace\training\training-package\target\marketplace\install\bundles\nuxeo-apt-extensions-1.0.jar
      

      It seems that one of the ant instructions using a nuxeo jar doesn’t like windows path

      Expected:
      When I run mvn clean package on windows the package should be built successfully

      Workaround:
      Workaround we found was to disable the following conf in assembly.xml, not sure about the impact though:

      <!-- Studio Registries Extraction -->
          <!--<nx:studioExtraction todir="${outdir}/marketplace">
            <fileset dir="${outdir}/marketplace/install/bundles"/>
          </nx:studioExtraction> -->
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mhilaire Maxime Hilaire
                Participants:
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: