-
15. Re: Seam reverse engineering
theute Jun 9, 2006 7:13 AM (in response to jagoh)I checked the nightly build that you downloaded, it includes the correct templates. You can check by yourself in the hibernate-tools.jar there is a seam directory that contains the templates.
So Eclipse is not picking up the libs you downloaded. Make sure you installed the nightly build correctly -
16. Re: Seam reverse engineering
maxandersen Jun 9, 2006 7:22 AM (in response to jagoh)if -clean doesn't work then remove old installations or simply install into a new clean eclipse.
-
17. Re: Seam reverse engineering
jagoh Jun 9, 2006 8:44 PM (in response to jagoh)ok, let me try on Monday and let you know. Thank you.
-
18. Re: Seam reverse engineering
jagoh Jun 11, 2006 9:34 PM (in response to jagoh)Not. It's not working. My current installation is in d: and i have the new installation in c: but it seem no different.
First i extract the following file to c:
i. JBossIDE-1.6.0.GA-Bundle-win32.zip
then extract the following nightly build to c:
i. JBossIDE-200606082311-nightly-ALL.zip
After i try the CRUD reverse eng. steps. I still get the compilation error at my SessionBean files. It still import the "javax.ejb.Interceptors;"
The following are generated in import statements:
import java.util.ResourceBundle;
import javax.ejb.Interceptors;
import javax.ejb.Remove;
import javax.ejb.Stateful;
import javax.ejb.TransactionAttribute;
import static javax.ejb.TransactionAttributeType.NOT_SUPPORTED;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.persistence.EntityManager;
import org.hibernate.validator.Valid;
import org.jboss.seam.annotations.Begin;
import org.jboss.seam.annotations.Destroy;
import org.jboss.seam.annotations.End;
import org.jboss.seam.annotations.IfInvalid;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Outcome;
import org.jboss.seam.ejb.SeamInterceptor;
When you think jboss will re-package the ide installation with latest nightly build? -
19. Re: Seam reverse engineering
davidlzs1 Jun 25, 2006 1:06 PM (in response to jagoh)Could anybody shed some light which jar file I can find javax.ejb.Interceptors?
Got same errors here:
[javac] G:\eclipse\workspaces\planner\src\com\example\planner\EventsEditorBean.java:6: cannot find symbol
[javac] symbol : class Interceptors
[javac] location: package javax.ejb
[javac] import javax.ejb.Interceptors; -
20. Re: Seam reverse engineering
gavin.king Jun 28, 2006 10:46 AM (in response to jagoh)It is now called javax.interceptors.Interceptors. By the way, the use of ejb-jar.xml is now preferred, check the examples.
-
21. Re: Seam reverse engineering
nmalbranche Jul 13, 2006 6:30 PM (in response to jagoh)workaround: use import javax.interceptor.Interceptors; instead (from jboss-ejb3x.jar)
-
22. Re: Seam reverse engineering
nmalbranche Jul 13, 2006 6:32 PM (in response to jagoh)err, just realized the question was already answered... oh well :)