Spring Roo
  1. Spring Roo
  2. ROO-1415

Addon create fails on Windows platform

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0.M3
    • Fix Version/s: 1.1.0.RC1
    • Component/s: BUILD
    • Labels:
      None
    • Environment:
      Windows XP

      Description

      Command addon create advance --topLevelPackage test and addon create simple --topLevelPackage test fails on Windows with:
      Could not locate '/org/springframework/roo/addon/creator/simple\roo-addon-advanced-template.xml in classloader.

      On Mac OS it works fine.

        Issue Links

          Activity

          Hide
          Matthias Baumgart added a comment -

          Sorry. Issue already postet in ROO-1385.

          Show
          Matthias Baumgart added a comment - Sorry. Issue already postet in ROO-1385 .
          Hide
          Stefan Schmidt added a comment -

          I have committed a fix with rev 55cd66cba718c50ccd3dede43e085dadda0e0601 but can currently not test it on Windows. Would you be able to give this a try from Roo sources and confirm if it works?

          Thanks, Stefan

          Show
          Stefan Schmidt added a comment - I have committed a fix with rev 55cd66cba718c50ccd3dede43e085dadda0e0601 but can currently not test it on Windows. Would you be able to give this a try from Roo sources and confirm if it works? Thanks, Stefan
          Hide
          Matthias Baumgart added a comment -

          I tried to build it, but the build failed. I cloned the git repository and then I tried to build the addon-creator with mvn compile. It failed because the mojo addon is not found in any rep. Why the compiler needs mojo. There is no dependency in the POM?

          [ERROR] BUILD ERROR
          [INFO] ------------------------------------------------------------------------
          [INFO] Error building POM (may not be this project's POM).

          Project ID: org.springframework.roo:org.springframework.roo.mojo.addon

          Reason: POM 'org.springframework.roo:org.springframework.roo.mojo.addon' not found in repository: Unable to download the
          artifact from any repository

          org.springframework.roo:org.springframework.roo.mojo.addon:pom:1.1.0.M4

          from the specified remote repositories:
          central (http://repo1.maven.org/maven2),
          spring-roo-repository (http://spring-roo-repository.springsource.org/release)

          for project org.springframework.roo:org.springframework.roo.mojo.addon

          Show
          Matthias Baumgart added a comment - I tried to build it, but the build failed. I cloned the git repository and then I tried to build the addon-creator with mvn compile. It failed because the mojo addon is not found in any rep. Why the compiler needs mojo. There is no dependency in the POM? [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: org.springframework.roo:org.springframework.roo.mojo.addon Reason: POM 'org.springframework.roo:org.springframework.roo.mojo.addon' not found in repository: Unable to download the artifact from any repository org.springframework.roo:org.springframework.roo.mojo.addon:pom:1.1.0.M4 from the specified remote repositories: central ( http://repo1.maven.org/maven2 ), spring-roo-repository ( http://spring-roo-repository.springsource.org/release ) for project org.springframework.roo:org.springframework.roo.mojo.addon
          Hide
          Stefan Schmidt added a comment -

          Ok, I got my hands on a Win Vista box and installed everything. A few more fixes were necessary with commit 25a201c46aafdd44a0c7c675cc5c0500520871a1 but now it should work fine.

          If you want to test it with Roo 1.1.0.M4 you need to build all of Roo, not just this addon. Please refer to the readme.txt in root of Roo master.

          Show
          Stefan Schmidt added a comment - Ok, I got my hands on a Win Vista box and installed everything. A few more fixes were necessary with commit 25a201c46aafdd44a0c7c675cc5c0500520871a1 but now it should work fine. If you want to test it with Roo 1.1.0.M4 you need to build all of Roo, not just this addon. Please refer to the readme.txt in root of Roo master.
          Hide
          Shekhar Gulati added a comment -

          I am still not able to create a addon on my windows vista machine with latest roo installation 1.1.0RC1
          I am getting following error:
          Could not locate '/org/springframework/roo/addon/creator/i18n/iso3166.txt' in classloader
          java.lang.IllegalArgumentException: Could not locate '/org/springframework/roo/addon/creator/i18n/iso3166.txt' in classloader

          Show
          Shekhar Gulati added a comment - I am still not able to create a addon on my windows vista machine with latest roo installation 1.1.0RC1 I am getting following error: Could not locate '/org/springframework/roo/addon/creator/i18n/iso3166.txt' in classloader java.lang.IllegalArgumentException: Could not locate '/org/springframework/roo/addon/creator/i18n/iso3166.txt' in classloader

            People

            • Assignee:
              Stefan Schmidt
              Reporter:
              Matthias Baumgart
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: