-
1. Re: trouble with seam setup in eclipse
mikeschulze Oct 28, 2008 6:34 PM (in response to daxxy)No - SeamTools are just some tools you can use with Seam. You also need Seam 2.1.0GA. In Eclipse you can setup your Seam-Environment under Windows/Preferences/JBoss Tools/Web/Seam - there point to the Seam 2.1.9GA-Folder - et voilá - it's done. The jboss-seam.jar can be found in this folder.
Mike
-
2. Re: trouble with seam setup in eclipse
daxxy Oct 28, 2008 6:41 PM (in response to daxxy)Oh! That is so easy and makes so much sense. Thank you!
TDR -
3. Re: trouble with seam setup in eclipse
admin.admin.email.tld Oct 28, 2008 11:51 PM (in response to daxxy)easiest thing is to pay $99 and get JBDS 1.1.0.GA.
-
4. Re: trouble with seam setup in eclipse
joblini Oct 29, 2008 4:27 AM (in response to daxxy)Your best bet is to follow chapter 2 of the Seam reference manual, which will walk you through all the steps you need to get up and running with Seam, including generating a CRUD application with Seam-Gen, and importing the project into Eclipse.
You don't need JBoss tools to work with Seam.
-
5. Re: trouble with seam setup in eclipse
dan.j.allen Nov 5, 2008 4:20 AM (in response to daxxy)Even better, check out this article, http://in.relation.to/Bloggers/UsingASeamgenProjectInJBossTools, which describes in detail how to setup JBoss Tools and import a seam-gen project into it.
-
6. Re: trouble with seam setup in eclipse
ek Apr 23, 2009 12:47 AM (in response to daxxy)I spent several days trying to create an Eclipse project with jboss-seam-2.1.1.GA plus jboss-5.1.0.Beta1. jboss-seam-2.1.1.GA examples worked fine, but I am still having the following issues solution for which I could not find in entire Internet (I would like to thank some people who provided steps that probably worked on their machines only): - I can create CRUD Seam project in Eclipse 3.4.2, but it always fails to deploy. - Modifying .xhtml file in {jboss-5.1.0.Beta1}\server\default\deploy\... of deployed sample Seam project does not have any affect. I.e. the change is not picked up, so the only solution is to redeploy entire project. I wonder how Seam developers can efficiently do their work at all?! Are there any community guys who succeeded in this or have simple DUNNO steps how to make it work with any version of seam on any app server?
-
7. Re: trouble with seam setup in eclipse
dan.j.allen Apr 23, 2009 1:07 AM (in response to daxxy)
I can create CRUD Seam project in Eclipse 3.4.2, but it always fails to deploy.Please report these details in the JBoss Tools JIRA, if you believe it is a bug: https://jira.jboss.org/jira/browse/JBIDE
Modifying .xhtml file in jboss-5.1.0.Beta1\server\default\deploy\... of deployed sample Seam project does not have any affect. I.e. the change is not picked up, so the only solution is to redeploy entire project.
As far as I know, this is a known issue with JBoss AS 5. I direct you to the JBoss AS JIRA: https://jira.jboss.org/jira/browse/JBAS
-
8. Re: trouble with seam setup in eclipse
ek Apr 23, 2009 4:01 AM (in response to daxxy)
As far as I know, this is a known issue with JBoss AS 5. I direct you to the JBoss AS JIRA: https://jira.jboss.org/jira/browse/JBASThanks Dan. Could you recommend older versions of Seam and JBoss that do not have above issues with Eclipse.
-
9. Re: trouble with seam setup in eclipse
dan.j.allen Apr 23, 2009 6:43 AM (in response to daxxy)Personally I'm still using JBoss AS 4.2.3.GA most of the time for my own stuff. I have to imagine that the issue with JBoss AS 5 is going to be addressed soon. There might even be a setting I just don't know about yet that enables it. Please follow up with the AS guys or browse there wiki because surely there has to be some solution to this. You are right, without this feature, it is very difficult to program.
...any version of Seam should be fine as the trouble lies with how the app server is handling the incoming files.
-
10. Re: trouble with seam setup in eclipse
dan.j.allen Apr 23, 2009 9:21 AM (in response to daxxy)Upon further evaluation, it appears it might just be a problem with the JMX deployment. If I copy files into the exploded archive in the deploy directory, it seems to work fine.
-
11. Re: trouble with seam setup in eclipse
ek Apr 23, 2009 7:07 PM (in response to daxxy)That's what is not working for me. The file I modified in Eclipse gets updated in the exploded default/deploy directory.
But the application itself is running off default/tmp/..xyz.. folder that has to be updated from default/deploy.
I would be great to read some docs explaining how it works in JBoss. -
12. Re: trouble with seam setup in eclipse
eklmnoff Apr 24, 2009 5:47 AM (in response to daxxy)For hot redeployment of separate .xhtml, src/hot classes, etc files make the following change to jboss323.xml in your eclipse folder eclipse/plugins/org.eclipse.jst.server.generic.jboss_1.5.206.v20090115/buildfiles <!-- comment this <target name="deploy.j2ee.web"> <jar destfile="${project.working.dir}/${module.name}.war"> <zipfileset dir="${module.dir}"> <include name="**/*.*"/> <exclude name="**/*.war"/> </zipfileset> </jar> <move file="${project.working.dir}/${module.name}.war" todir="${server.publish.dir}"/> <sleep seconds="${pause.deploy}"/> </target> --> <target name="deploy.j2ee.web"> <copy todir="${server.publish.dir}/${module.name}.war"> <fileset dir="${module.dir}"> <include name="**/*.*"/> <exclude name="**/*.war"/> </fileset> </copy> <sleep seconds="${pause.deploy}"/> </target> and <!-- comment this <target name="undeploy.j2ee.web"> <delete file="${server.publish.dir}/${module.name}.war" failonerror="false"> </delete> <sleep seconds="${pause.undeploy}"/> </target> --> <target name="undeploy.j2ee.web"> <delete dir="${server.publish.dir}/${module.name}.war" failonerror="false"> </delete> <sleep seconds="${pause.undeploy}"/> </target> Similar changes can be done for EJB and EAR projects