1 Reply Latest reply on Sep 22, 2009 1:28 PM by Julien Kronegg

    seam generate

    Karl Nielsen Newbie

      I am running seam generate (following the Seam in Action book) and it is not generating any files, also not generating an error.




      me$ ./seam generate -e
      SEAM_HOME: .
      Using seam-gen sources from: ./seam-gen
      Buildfile: ./seam-gen/build.xml
      
      init:
      
      init-properties:
      /Users/me/dev/java/octanner/jboss-5.1.0.GA
      
      validate-workspace:
      
      validate-project:
      
      init-generate:
      
      generate-model:
      Reverse engineering database using JDBC driver /Users/me/dev/java/octanner/seaminaction/lib/h2.jar
      project=/Users/me/dev/java/octanner/seaminaction/projects/open18
      model=org.open18.model
      Executing Hibernate Tool with a JDBC Configuration (for reverse engineering)
      1. task: hbm2java (Generates a set of .java files)
      log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
      log4j:WARN Please initialize the log4j system properly.
      Java formatting of 0 files completed. Skipped 0 file(s).
      
      generate-ui:
      Building project 'open18' to generate views and controllers
      
      init:
      
      groovy.compilemodel:
      
      compilemodel:
      
      groovy.compileactions:
      
      groovy.copyactions:
      
      compileactions:
      Compiling 1 source file to /Users/me/dev/java/octanner/seaminaction/projects/open18/exploded-archives/open18.war/WEB-INF/dev
      
      copyclasses:
      
      compile:
      
      war:
      Executing Hibernate Tool with a JPA Configuration
      1. task: generic exportertemplate: view/list.xhtml.ftl
      2. task: generic exportertemplate: view/view.xhtml.ftl
      3. task: generic exportertemplate: view/view.page.xml.ftl
      4. task: generic exportertemplate: view/edit.xhtml.ftl
      5. task: generic exportertemplate: view/edit.page.xml.ftl
      6. task: generic exportertemplate: src/EntityList.java.ftl
      7. task: generic exportertemplate: view/list.page.xml.ftl
      8. task: generic exportertemplate: src/EntityHome.java.ftl
      9. task: generic exportertemplate: view/layout/menu.xhtml.ftl
      Java formatting of 1 files completed. Skipped 0 file(s).
      Type './seam restart' and go to http://localhost:8080/open18
      
      generate:
      
      BUILD SUCCESSFUL
      Total time: 4 seconds



      Not really sure how to go about trouble shooting it. I have looked at the connection information and it all looks correct.


      Please help!


      Thanks,


      karl