[ 
http://issues.apache.org/jira/browse/CACTUS-192?page=comments#action_63881 ]
     
Vincent Massol commented on CACTUS-192:
---------------------------------------

"I haven't understood what you mean with "move JBoss resources back to the Ant 
integration project (same as is done with all other projects)".

Cactus creates a default container configuration for all configurations. The 
default configuration files are located in the cactus-ant jar. We must do the 
same for jboss. BTW, we do already support jboss-web.xml files in your WAR 
file. 

What I am just saying is that we MUST NOT have the jboss-web.xml, 
users.properties and roles.properties files in 
integration/maven/src/plugin-resources/jboss3x. These files need to be moved to 
the samples projects because they are not generic. They are simply required for 
the samples for testing authentication. This is a leftover from the past that 
has never been fixed. We need to do that now.



> Cannot change jboss-web.xml
> ---------------------------
>
>          Key: CACTUS-192
>          URL: http://issues.apache.org/jira/browse/CACTUS-192
>      Project: Cactus
>         Type: Improvement
>   Components: Maven Integration
>     Versions: 1.7
>     Reporter: Felipe Leme
>     Assignee: Felipe Leme
>      Fix For: 1.8

>
> I faced a situation where I need to set a resource-ref on jboss.xml, but the 
> maven plugin does not provide an elegant way to do it (I had to add a 
> postGoal to cactus:cactifywar) as it always use a jboss-web.xml on the 
> plugin-resources:
> <ant:webinf dir="${plugin.resources}/jboss3x">
>   <ant:include name="jboss-web.xml" if="cactus.home.jboss3x"/>
> </ant:webinf>
> A temporary solution would be to add a new property:
> on plugin.properties:
> cactus.jboss3x.jboss_web_xml=${plugin.resources}/jboss3x
> on plugin.jelly:
> <ant:webinf dir="${cactus.jboss3x.jboss_web_xml}">
>   <ant:include name="jboss-web.xml" if="cactus.home.jboss3x"/>
> </ant:webinf>
> A more elegant solution would handle it to Cargo or the Ant task.
> Vincent, any thoughts?
> -- felipe
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to