9 Replies Latest reply on Jun 9, 2009 12:09 AM by lili001

    how to assign seam project from SVN

    lili001

      hi,
      i am using jboss -4.2.2GA in windows.i want to assign seam project from svn to eclipse .but it can't run on local .

        • 1. Re: how to assign seam project from SVN
          nickboldt

          Please provide more information. Is the project in your eclipse workspace? What version of JBoss Tools are you using? What Java version?

          What do you mean "can't run on local?"

          • 2. Re: how to assign seam project from SVN
            lili001

            i am using java 1.6 and jbosstools3.0.1.i checked out the project and imported eclipse and added into sever.it always can't run in local sever.

            • 3. Re: how to assign seam project from SVN
              maxandersen

              I'm sorry but I still don't understand what you mean by "it always can't run in local server" ?

              what local server ? what does 'can't run' mean ? Any errors ? What is it you are trying to run ?

              • 4. Re: how to assign seam project from SVN
                lili001

                sorry,my enlish is not so well.when i imported project into eclipse.it produced a directory named jboss-eap-4.3 which contains ear file.then i opened JBoss sever and input "http://localhost/ear file 's name/" in explore.but system can't find it .if i copyed the ear file to deploy of jboss/sever/default/.it ran well.i just would like it works like workspace projects generated from eclipse ,and i don't need to copy it to deploy directory of jboss.what do i need to change?do i make myself clear?

                • 5. Re: how to assign seam project from SVN
                  maxandersen

                  when you imported the project it *created* a new directory ?

                  Are you sure this wasnt more when you deployed the project ?

                  Might be that your server configuration (double click the server in server view) is pointing to the wrong directory ?

                  • 6. Re: how to assign seam project from SVN
                    nickboldt

                    Or your server's not on :80, but on :8080 or some other port? (try http://localhost:8080/earfilename)

                    Or you have some firewall preventing the port it's using from being accessible?

                    • 7. Re: how to assign seam project from SVN
                      lili001

                      it shouldn't be port question.my server'port is 8080.i tried http://localhost:8080/earfilename.it still failed.
                      in my project directory.there are four build- .properties files which contain jboss.home = and deploy.dir = .and in some files deploy.dir=D:/jboss-4.3.GA/server/default/deploy.i think it is why there is jboss-eap-4.3 directory.then i changed the jboss.home to my jboss directory. but it seems that deploy directory can't associate with jboss home.so when sever startup.it can't relate the project deployed.how should i do ?

                      • 8. Re: how to assign seam project from SVN
                        maxandersen

                        I'm sorry, but I'm really having a hard time figuring out what you are actually trying to do.

                        Seam projects created by JBoss Tools does not have any build.properties files with deploy.dir in them so that is not relevant at all.

                        Seam gen projects does have this, but then deployment is not done via JBoss Tools but via ant scripts.

                        Of course you can still start/stop your server from JBoss Tools - but that requires that you configured a server in Eclipse - this is not something that is committed together with a project in svn.

                        • 9. Re: how to assign seam project from SVN
                          lili001

                          that's ok.you already gave me some enlightening.i think i know how to do it.thank you!