This content has been marked as final.
Show 3 replies
-
1. Re: Why
gavin.king Dec 18, 2006 7:42 PM (in response to eekboom)Here is a quote from the ant build:
<target name="war" depends="compile"> <copy todir="${build.dir}/resources/WEB-INF"> <fileset refid="example.war.webinf"/> <filterset> <filter token="jndiPattern" value="${example.name}/#{ejbName}/local"/> <filter token="embeddedEjb" value="false"/> <filter token="microcontainer" value="false"/> </filterset> </copy>
-
2. Re: Why
eekboom Dec 19, 2006 3:37 AM (in response to eekboom)Huh? That's exactly what I meant: The value of "embeddedEjb" is jardcoded to "false" in this snippet":
"gavin.king@jboss.com" wrote:
Here is a quote from the ant build:<filter token="embeddedEjb" value="false"/>
In another place in the build file it's hardcoded to "true".
So the value defined in component.properties is never used at all.
When I build with my IDE the ant filter tokens in component.xml are not replaced, but Seam is clever enough to dynamically retrieve the values from component.properties, which makes seam want to use the embedded ejb container, which fails in JBoss.
Not a big deal, but quite confusing. -
3. Re: Why
gavin.king Dec 19, 2006 10:03 AM (in response to eekboom)components.properties is ONLY used when running tests from within the IDE. Notice that this is what is hinted at in the documentation.