Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-2541

Seam-gen generated build.properties file should also go into the created project's build.properties file

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate Issue
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tools
    • Labels:
      None
    • Environment:

      Generating Seam projects with Seam-gen

    • Estimated Difficulty:
      Low

      Description

      Each Seam project has the build.properties file underneath the root folder consisting of the following line of code:

      jboss.home = /your/path/to/jboss-as

      This is not that much data. In particular not when you take a look at the Seam-gen generated build.properties file carrying something like this:

      #Generated by seam setup
      #Sun Jan 27 16:20:01 CET 2008
      hibernate.connection.password=xyz
      workspace.home=/home/schmatz/my/projects/business/citypics
      model.package=org.tztz.citypics.model
      driver.jar=/opt/jdbc-root/postgresql-8.2-505.jdbc3.jar
      action.package=org.tztz.citypics.action
      test.package=org.tztz.citypics.test
      database.type=postgres
      richfaces.skin=blueSky
      hibernate.default_catalog.null=
      hibernate.default_schema.null=
      database.drop=y
      project.name=citypics
      hibernate.connection.username=citypics
      hibernate.connection.driver_class=org.postgresql.Driver
      hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
      project.type=ear
      icefaces.home=
      database.exists=n
      jboss.home=/your/path/to/jboss-as
      hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
      hibernate.connection.url=jdbc\:postgresql\:citypics

      Well, this complete Seam-gen generated data should also go into the project's build.properties file in order that you can restore all relevant information after you've changed them because of another Seam project requiring the seam setup with other inputs.

      Additionally, this would increase coherence because the build properties are bundled with the respective project.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  schmatz schmatz
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: