[JBoss Seam] - Re: could not execute seam commands.
by squ1rr3l
"gavin.king(a)jboss.com" wrote : Re-check-out jboss-seam. I promise you that CVS can be compiled.
|
|
Is there some information on what is required to do that? I've been trying for a couple of weeks, and always get the same error.
Can Apache Ant 1.7.0 compile it ok? That's what I'm using. My compiler is Sun's 1.5.0_11. Am I missing some configuration? All I'm doing is CO from CVS, change build.properties to point to the installation of jboss-4.2.0.GA.
Here's the compile error I always get:
[javac] Compiling 407 source files to /opt/jboss-seam/build/classes
| [javac] /opt/jboss-seam/src/main/org/jboss/seam/core/Expressions.java:6: package org.jboss.seam.el does not exist
| [javac] import static org.jboss.seam.el.EL.EL_CONTEXT;
| [javac] ^
| [javac] /opt/jboss-seam/src/main/org/jboss/seam/core/Expressions.java:6: static import only from classes and interfaces
| [javac] import static org.jboss.seam.el.EL.EL_CONTEXT;
| [javac] ^
| [javac] /opt/jboss-seam/src/main/org/jboss/seam/core/Expressions.java:23: package org.jboss.seam.el does not exist
| [javac] import org.jboss.seam.el.SeamExpressionFactory;
| [javac] ^
| [javac] /opt/jboss-seam/src/main/org/jboss/seam/contexts/PassivatedEntity.java:15: package org.jboss.seam.transaction does not exist
|
... etc.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053662#4053662
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053662
18Â years, 11Â months
[JBoss Seam] - Re: Beginner Question
by gavin.kingï¼ jboss.com
anonymous wrote : hmmm.... I noticed that, but I intentionally didn't want to give the instance the same name as the entity. What if I wanted to deal with 2 LoginAccounts in my conversation?
|
| I know the user registration is not a good example where I might want to have 2 instances of the same entity class, but it is definitely not an uncommon scenario.
|
| So do I understand it right that if I want to use an entity in my jsf page, then I can never have 2 of the same kind in a conversation?
|
Trying to dream up really complex cases is exactly the WRONG way to go about writing helloworld. It's about as smart as intentionally shooting yourself in the foot. Once you have actually mastered helloworld, and gone back to reading the documentation, you will find suggestions for how to handle this problem using eg: @Roles, or a manager or factory component.
But you don't have that problem now, and the solution you have tried is incorrect, so why not learn the basics first?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053652#4053652
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053652
18Â years, 11Â months