1 Reply Latest reply on Sep 19, 2010 5:24 AM by dngfng

    Can't deploy sample applications

    dngfng Newbie

      Hi,
      I am trying to deploy the example/booking application to my jboss-5.1.0GA. I have ammended the build.properties as follows:




      # Use this properties file to set system specific properties
      # ----------------------------------------------------------
      #
      # Location of JBoss AS and Tomcat
      # -------------------------------
      jboss.home /usr/local/jboss/jboss-5.1.0.GA  # Default
      #
      # Misc Settings
      # -------------
      # Directory in which to put build distribution, defaults to ../jboss-seam-${version}.${patchlevel}
      dist.dir ../jboss-seam-dist
      # alphanumeric qualifier for the version number
      #qualifier -SNAPSHOT



      However when I am in examples/boooking and execute ant deploy.


      (I have started Jboss)


      I get the following error output:

      initpoms:
           [echo] Setting up dependencies
           [copy] Copying 1 file to /Users/xxx/Downloads/jboss-seam-2.2.1.CR1/classes/poms
      [artifact:install] [INFO] Installing /Users/xxx/Downloads/jboss-seam-2.2.1.CR1/classes/poms/root.pom to /Users/xxx/.m2/repository/org/jboss/seam/root/2.2.1.CR1/root-2.2.1.CR1.pom
      [artifact:install] An error has occurred while processing the Maven artifact tasks.
      [artifact:install]  Diagnosis:
      [artifact:install]
      [artifact:install] Error installing artifact 'org.jboss.seam:root:pom': Error installing artifact: /Users/xxx/.m2/repository/org/jboss/seam/root/2.2.1.CR1/root-2.2.1.CR1.pom (No such file or directory)

      BUILD FAILED
      /Users/xxx/Downloads/jboss-seam-2.2.1.CR1/build/common.build.xml:96: The following error occurred while executing this line:
      /Users/xxx/Downloads/jboss-seam-2.2.1.CR1/build/utilities.build.xml:80: Error installing artifact 'org.jboss.seam:root:pom': Error installing artifact: /Users/xxx/.m2/repository/org/jboss/seam/root/2.2.1.CR1/root-2.2.1.CR1.pom (No such file or directory)


      Any help would be greatly appreciated (I am on OS X 10.6)

        • 1. Re: Can't deploy sample applications
          dngfng Newbie

          Sorry about the bad formatting - I can't seem to find an edit option so here it is again:


          initpoms: [echo] Setting up dependencies [copy] Copying 1 file to /Users/xxx/Downloads/jboss-seam-2.2.1.CR1/classes/poms [artifact:install] [INFO] Installing /Users/xxx/Downloads/jboss-seam-2.2.1.CR1/classes/poms/root.pom to /Users/xxx/.m2/repository/org/jboss/seam/root/2.2.1.CR1/root-2.2.1.CR1.pom [artifact:install] An error has occurred while processing the Maven artifact tasks. [artifact:install] Diagnosis: [artifact:install] [artifact:install] Error installing artifact 'org.jboss.seam:root:pom': Error installing artifact: /Users/xxx/.m2/repository/org/jboss/seam/root/2.2.1.CR1/root-2.2.1.CR1.pom (No such file or directory) BUILD FAILED /Users/xxx/Downloads/jboss-seam-2.2.1.CR1/build/common.build.xml:96: The following error occurred while executing this line: /Users/xxx/Downloads/jboss-seam-2.2.1.CR1/build/utilities.build.xml:80: Error installing artifact 'org.jboss.seam:root:pom': Error installing artifact: /Users/xxx/.m2/repository/org/jboss/seam/root/2.2.1.CR1/root-2.2.1.CR1.pom (No such file or directory) 


          Any help would be greatly appreciated (I am on OS X 10.6)