1 Reply Latest reply on Jan 3, 2010 5:14 PM by Chao Cui

    How do you deploy the seam examples??

    Brian Pedersen Newbie
      I'm trying to getting started with the seam examples but I can't deploy them correctly.
      I'm using the following setup:

      java: 1.6.0_17

      jboss home: C:\jboss-5.1.0.GA

      seam: C:\jboss-seam-2.2.0.GA

      C:\jboss-seam-2.2.0.GA\build.properties:
      jboss.home=C:\jboss-5.1.0.GA
      qualifier=.GA
      mavenized=false


      Deployment:

      C:\jboss-seam-2.2.0.GA\examples\registration>ant
      Buildfile: build.xml

      initcopy:

      initpoms:
           [echo] Setting up dependencies
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
      [artifact:install] [INFO] Installing C:\jboss-seam-2.2.0.GA\classes\poms\root.pom to C:\Documents and Settings\Owner\.m2\repository\org\jboss\seam\root\2.2.0.GA\root-2.2.0.GA.pom
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
      [artifact:install] [INFO] Installing C:\jboss-seam-2.2.0.GA\classes\poms\parent.pom to C:\Documents and Settings\Owner\.m2\repository\org\jboss\seam\parent\2.2.0.GA\parent-2.2.0.GA.pom
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\classes\poms

      copyseam:

      copyseamdependencies:

      gettrinidad:

      getmetawidget-war:

      getmetawidget-ear:

      getmetawidget:

      getelri:

      copyextradependencies:

      init:
           [echo] Building Seam Registration Example 2.2
          [mkdir] Created dir: C:\jboss-seam-2.2.0.GA\examples\registration\exploded-archives\jboss-seam-registration.jar
          [mkdir] Created dir: C:\jboss-seam-2.2.0.GA\examples\registration\exploded-archives\jboss-seam-registration.ear
          [mkdir] Created dir: C:\jboss-seam-2.2.0.GA\examples\registration\exploded-archives\jboss-seam-registration.war
          [mkdir] Created dir: C:\jboss-seam-2.2.0.GA\examples\registration\dist

      select-compiler:

      compile:
          [javac] Compiling 4 source files to C:\jboss-seam-2.2.0.GA\examples\registration\exploded-archives\jboss-seam-registration.jar

      jar:
           [copy] Copying 3 files to C:\jboss-seam-2.2.0.GA\examples\registration\exploded-archives\jboss-seam-registration.jar

      init.war:

      war:
           [copy] Copying 3 files to C:\jboss-seam-2.2.0.GA\examples\registration\exploded-archives\jboss-seam-registration.war
           [copy] Copying 3 files to C:\jboss-seam-2.2.0.GA\examples\registration\exploded-archives\jboss-seam-registration.war\WEB-INF\lib

      jboss.war:
           [copy] Copying 3 files to C:\jboss-seam-2.2.0.GA\examples\registration\exploded-archives\jboss-seam-registration.war

      distributable.war:

      ear:
           [copy] Copying 3 files to C:\jboss-seam-2.2.0.GA\examples\registration\exploded-archives\jboss-seam-registration.ear
          [mkdir] Created dir: C:\jboss-seam-2.2.0.GA\examples\registration\exploded-archives\jboss-seam-registration.ear\lib
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\examples\registration\exploded-archives\jboss-seam-registration.ear\lib

      archive:
            [jar] Building jar: C:\jboss-seam-2.2.0.GA\examples\registration\dist\jboss-seam-registration.jar
            [jar] Building jar: C:\jboss-seam-2.2.0.GA\examples\registration\dist\jboss-seam-registration.war
            [jar] Building jar: C:\jboss-seam-2.2.0.GA\examples\registration\dist\jboss-seam-registration.ear

      datasource:

      service:

      meldware:

      deploy:
           [copy] Copying 1 file to C:\jboss-seam-2.2.0.GA\examples\registration\jboss-5.1.0.GA\server\default\deploy

      BUILD SUCCESSFUL
      Total time: 6 seconds
      C:\jboss-seam-2.2.0.GA\examples\registration>