Sakai
  1. Sakai
  2. SAK-18655

mvn -Ppack-demo install fails for Windows Vista on the 2.7.0 source code

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.9.0
    • Component/s: Global
    • Labels:
      None
    • Environment:
      Tested on two clients - Windows Vista Home Edition - Windows Vista SP1
    • 2.9 Status:
      Closed
    • 2.8 Status:
      Won't Fix
    • CLE Team Issue:
      Yes
    • Previous Issue Keys:
    • Release Notes:
      It has been reported that running mvn -Ppack-demo install fails for Windows Vista.

      Description

      Running mvn -Ppack-demo install fails with the error
      Could this be todo with the path transversal / and \

      for C:\Users\Alan\Desktop\sakai-2.7.0\pack-demo/target/pack-demo

      INFO] Building Sakai Pack Demo
      [INFO] task-segment: [install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [site:attach-descriptor]
      [INFO] [install:install]
      [INFO] Installing C:\Users\Alan\Desktop\sakai-2.7.0\pack-demo\pom.xml to C:\Users\Alan\.m2\repository\org\sakaiproject\pack-demo\2.7.0\pack-demo-2.7.0.pom
      [INFO] [antrun:run {execution: pack-demo-clean}]
      [INFO] Executing tasks
         [delete] Deleting directory C:\Users\Alan\Desktop\sakai-2.7.0\pack-demo\target\unpack
          [unzip] Expanding: C:\Users\Alan\.m2\repository\tomcat\tomcat\tomcat\5.5.28\tomcat-5.5.28.zip into C:\Users\Alan\Desktop\sakai-2.7.0\pack-demo\target\unpack
         [delete] Deleting directory C:\Users\Alan\Desktop\sakai-2.7.0\pack-demo\target\unpack\apache-tomcat-5.5.28\webapps
          [mkdir] Created dir: C:\Users\Alan\Desktop\sakai-2.7.0\pack-demo\target\unpack\apache-tomcat-5.5.28\webapps\ROOT
           [echo] Executing cd ../;mvn clean
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] An Ant BuildException has occured: Execute failed: java.io.IOException: CreateProcess: mvn -Dmaven.tomcat.home=C:\Users\Alan\Desktop\sakai-2.7.0\pack-demo/target/pack clean error=2

      1. pack_SAK-18655.patch.txt
        2 kB
        Aaron Zeckoski
      2. SAK-18655.diff
        3 kB
        Matthew Jones

        Issue Links

          Activity

          Hide
          Yuki Yamada added a comment -
          I tested the updated patch about pack-demo and pack-bin. They all worked.

          Test results:
          Windows XP: OK
          Windows Vista: OK
          Windows Server 2003: OK
          Windows Server 2008: OK
          Show
          Yuki Yamada added a comment - I tested the updated patch about pack-demo and pack-bin. They all worked. Test results: Windows XP: OK Windows Vista: OK Windows Server 2003: OK Windows Server 2008: OK
          Hide
          Greg Thomas added a comment -
          r104989 - 2.9.x merge
          Show
          Greg Thomas added a comment - r104989 - 2.9.x merge
          Hide
          Matthew Jones added a comment -
          This was tested by myself and Yuki
          Show
          Matthew Jones added a comment - This was tested by myself and Yuki
          Hide
          Steve Swinsburg added a comment -
          Can someone on a windows machine merge this to 2.8 please.
          Show
          Steve Swinsburg added a comment - Can someone on a windows machine merge this to 2.8 please.
          Hide
          Steve Swinsburg added a comment -
          Not merging to 2.8 since the release/pack process works fine on non Windows machines and I don't want to introduce any possible regression between maintenance releases. I also don't have a Windows machine to verify and it is a non critical fix for this branch.
          Show
          Steve Swinsburg added a comment - Not merging to 2.8 since the release/pack process works fine on non Windows machines and I don't want to introduce any possible regression between maintenance releases. I also don't have a Windows machine to verify and it is a non critical fix for this branch.

            People

            • Assignee:
              Matthew Jones
              Reporter:
              Alan Berg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: