6 Replies Latest reply on Oct 13, 2009 12:43 PM by Denis Golovin

    Sharing Seam projects with SVN

    Sven Kilchenmann Newbie

      I'm not sure, if it's the right place - if not, please move to the right one!

      I created a Seam web project with the jboss tools wizard. Now i want to share it with some other developers.

      Which files i have to ignore before i commit?

      Thanks in advance,swenu

        • 1. Re: Sharing Seam projects with SVN
          Max Rydahl Andersen Master

          The folder with classes...otherwise all are fine...

          • 2. Re: Sharing Seam projects with SVN
            Nick Boldt Master

            In addition to setting svn:ignore on bin and *.class, you probably don't want to share your .settings folder/files either.

            The only useful .dotfiles are .classpath and .project, IIRC. The rest are metadata specific to your workspace that don't need to be in SVN, unless you NEED to share that because w/o it the project won't compile. (In that case you could set values in build.properties, MANIFEST.MF, or .classpath to accomplish the same thing, I believe.)

            • 3. Re: Sharing Seam projects with SVN
              Max Rydahl Andersen Master

              not so fast nick ;)

              .settings are actually supposed to be *project* specific and not machine specific.

              i.e. if you don't share your .settings folder you won't get the component description needed for WTP projects!

              • 4. Re: Sharing Seam projects with SVN
                Sven Kilchenmann Newbie

                thanks for all your answers!

                I don't know the differences what i've done yesterday and today. Now it seems to work!

                Thanks all!

                • 5. Re: Sharing Seam projects with SVN
                  Sven Kilchenmann Newbie


                  back again on the problem!
                  today the mate checked out the project and started the jboss from eclipse.
                  While deploying the ear we get this error:

                   Deployment "persistence.unit:unitName=emtm-ear.ear/emtm-ejb.jar#emtm" is missing the following dependencies:
                   Dependency "jboss.jca:name=emtmDatasource,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=emtmDatasource,service=DataSourceBinding' **")
                  DEPLOYMENTS IN ERROR:
                   Deployment "jboss.jca:name=emtmDatasource,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=emtmDatasource,service=DataSourceBinding' **
                   at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
                   at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
                   at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
                   at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
                   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                   at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
                   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                   at java.lang.Thread.run(Thread.java:619)

                  On my local workspace (also on a second one in a diffrent local location) i don't get any errors while deploying the things.

                  Any idea?

                  Setting update to create won't work neither.

                  Thanks for the fish ;)

                  • 6. Re: Sharing Seam projects with SVN
                    Denis Golovin Master

                    The problem might be related to your data source 'emtmDatasource'. Does your mate have an access to that data source on his desktop?