« Return to Thread: [jira] Created: (CARGO-666) Document configFiles option

[jira] Commented: (CARGO-666) Document configFiles option

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread


    [ http://jira.codehaus.org/browse/CARGO-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179555#action_179555 ]

Robert Herschke commented on CARGO-666:
---------------------------------------

The configfile option seems only to work with jboss container configuration.

working example:

{code:xml}
       ...

          <plugin>
            <groupId>org.codehaus.cargo</groupId>
            <artifactId>cargo-maven2-plugin</artifactId>
            <version>1.0</version>
            <configuration>
              <wait>false</wait>
              <container>
                <containerId>jboss5x</containerId>
                <zipUrlInstaller>
                  <url>file:///d:/java/jboss-5.0.0.GA.zip</url>
                  <installDir>${project.build.directory}</installDir>
                </zipUrlInstaller>
              </container>
              <configuration>
                <type>standalone</type>
                <home>${project.build.directory}/jboss-5.0.0.GA/server/sample-domain</home>
                <properties>
                  <cargo.jboss.configuration>default</cargo.jboss.configuration>
                </properties>
                <configfiles>
                  <configfile>
                    <file>${basedir}/src/main/jboss5/login-config.xml</file>
                    <todir>conf</todir>
                  </configfile>
                  <configfile>
                    <file>${basedir}/src/main/jboss5/sample-roles.properties</file>
                    <todir>conf/props</todir>
                  </configfile>
                  <configfile>
                    <file>${basedir}/src/main/jboss5/sample-users.properties</file>
                    <todir>conf/props</todir>
                  </configfile>
                </configfiles>
              </configuration>
            </configuration>
          </plugin>

       ...
{code}

> Document configFiles option
> ---------------------------
>
>                 Key: CARGO-666
>                 URL: http://jira.codehaus.org/browse/CARGO-666
>             Project: Cargo
>          Issue Type: Task
>          Components: Documentation
>            Reporter: Matt Wringe
>
> The configFiles option is not documented anywhere on the website, this should be documented and provide an example on how to use it.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: [jira] Created: (CARGO-666) Document configFiles option