This content has been marked as final.
Show 3 replies
-
1. Re: @debug@ - what does this do exactly?
jbalunas Jan 22, 2008 1:51 PM (in response to asookazian)That is just a replacement key for the build script. There is a property in the build script who's value will replace the @debug@.
so there is a property called "debug" set to true - then when the project is built the file in the war/ear/etc... will be debug="true" -
2. Re: @debug@ - what does this do exactly?
maxandersen Jan 22, 2008 1:57 PM (in response to asookazian)it is not just for the build script - it is also done by runtime by seam to replace it with values from component.properties
this is what makes it possible for us in jboss tools not to have additional build step and multiple duplicate files to support both test and deployment runs. -
3. Re: @debug@ - what does this do exactly?
asookazian Jan 22, 2008 2:07 PM (in response to asookazian)I'm seeing the following snippet at the top of my build.xml:
<property name="profile" value="dev" /> <property file="build-${profile}.properties" />
component.properties (runtime):jndiPattern \#{ejbName}/local debug true
build-dev.properties (buildtime):debug=true action.dir=WEB-INF/dev
So I guess it makes sense now. The @...@ is basically a variable that is plugged in from the *.properties files above at different times.
cool, thx.
The explanation in the Seam 2.0.0.GA ref pdf can be more specific: "The funny @ symbols are there because our Ant build script puts the correct JNDI pattern in when we deploy the application." - pg. 7