[jboss-jira] [JBoss JIRA] (AS7-4296) Support overriding deployment descriptors at deployment time

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Wed Jul 4 22:10:12 EDT 2012


    [ https://issues.jboss.org/browse/AS7-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704591#comment-12704591 ] 

Stuart Douglas commented on AS7-4296:
-------------------------------------

I have an initial implementation of this feature here: 

https://github.com/stuartwdouglas/jboss-as/compare/AS7-4296

an example usage through the management API:

https://github.com/stuartwdouglas/jboss-as/compare/AS7-4296#diff-35

To use if from the CLI first you add some content to the content repo, then:

/deployment-overlay=myoverlay:add
/deployment-overlay=myoverlay/content=WEB-INF\/web.xml:add(content=$my_content_hash)

(you can of course add multiple content items to the overlay).

You then link this overlay to a deployment:

/deployment-overlay-link=somelink:add(deployment="test.jar", deployment-overlay="myoverlay")

And the files in the overlay will replace / be added to files in the deployment. 

This is obvious a function that would really benefit from a high level CLI command so this can be done with a single command.
                
> Support overriding deployment descriptors at deployment time
> ------------------------------------------------------------
>
>                 Key: AS7-4296
>                 URL: https://issues.jboss.org/browse/AS7-4296
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Domain Management, Server
>    Affects Versions: 7.1.1.Final
>            Reporter: Stuart Douglas
>            Assignee: Stuart Douglas
>
> We need to be able to specify alternate jboss-*.xml descriptors (or indeed any descriptor) at deployment, and have them override the descriptors physically present in the deployment archive.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list