[jboss-jira] [JBoss JIRA] (WFLY-1299) AS 7 managed container: Different source and work dir (copy AS for each config)
Ondrej Zizka (JIRA)
jira-events at lists.jboss.org
Mon Apr 29 16:55:54 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770885#comment-12770885 ]
Ondrej Zizka commented on WFLY-1299:
------------------------------------
{quote}
We have implemented this concept in RichFaces 5, but we need to install just one instance of the container (BeforeSuite/AfterSuite), you will need to solve a problem of multiple instances:
https://github.com/richfaces/richfaces5/blob/master/build/build-resources/src/main/java/org/richfaces/arquillian/container/installation/ContainerInitializationObserver.java
We resolve the server as a Maven artifact using ShrinkWrap descriptor - which gives us caching of browser binary for free in local M2 repo.
We also use prepared ZIP overlays with configuration [1] or you can use kind of ShrinkWrap Descriptors type of API in order to configure the container as needed in ConfigureContainer phase.
~ Lukas
[1] https://github.com/richfaces/richfaces5/tree/master/build/build-resources/src/container-configuration
{quote}
> AS 7 managed container: Different source and work dir (copy AS for each config)
> -------------------------------------------------------------------------------
>
> Key: WFLY-1299
> URL: https://issues.jboss.org/browse/WFLY-1299
> Project: WildFly
> Issue Type: Feature Request
> Reporter: Ondrej Zizka
> Assignee: Ondrej Zizka
>
> In my project (AS config migration), I need to keep the results of every config I run with (one per test).
> This could be handled in Maven or Ant by creating copies in advance.
> But much more ellegant would be to use [multiple containers|https://docs.jboss.org/author/display/ARQ/Multiple+Containers] and to let Arq copy some source dir and run AS from there.
> For this purpose, I propose to add a config property {{jbossAsDist}} and copy it to {{jbossHome}} before launching it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list