2 Replies Latest reply on Jun 1, 2008 8:15 AM by elhanan

    how can i convert the examples to a seam tools project?

    elhanan

      hi all


      i would like to view the examples in seam tools web projects, but the directory structure is different.


      assuming i've created a blank seam web project, which files go where, and what files can i delete?

        • 1. Re: how can i convert the examples to a seam tools project?

          Ya... it's real tricky. I've asked a few times too.


          I've been using Seam long enough to get around my own project ok... but I still can't make the examples work in JBoss Tools. You have to really understand what all the configuration files are doing. The examples will use different datasources, deploy differently, turn on different features... etc. 


          For example, I just tried to convert the Booking example to a JBoss Tools project, and ran into a problem with the login query that queries the User table.  I think that it's because I set it up with a postgres database and it doesn't let you name tables User.


          I didn't have the energy to figure out what kind of DB the examples were using and download a driver and all that noise... so, you're stuck where I was about 3 months ago :P


          But a good learning opportunity is to look in the resource folders of the examples, and see where the corresponding file is in the JBoss Tools example.  You can see where things deploy to, and look at the differences in the files and let that ruminate in your head a bit.



          I'll try to convert it again another time, and maybe we'll finally have some good examples for the eclipse plugin.

          • 2. Re: how can i convert the examples to a seam tools project?
            elhanan

            maybe someday somone will create an ant task for it ;)