[jboss-jira] [JBoss JIRA] (AS7-3948) TS: Implement replacing of ...=localhost in .properties resources

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Tue Feb 28 10:05:36 EST 2012


     [ https://issues.jboss.org/browse/AS7-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondrej Zizka updated AS7-3948:
------------------------------

    Description: 
There are 3 occurences of $SUBJ, see below.

Since they are in src/, it needs to be copied elsewhere and added to classpath from there.

{code}
$ git grep -A1 =localhost
testsuite/integration/basic/src/test/resources/jboss-ejb-client.properties:remote.connection.default.host=localhost
testsuite/integration/basic/src/test/resources/jboss-ejb-client.properties-remote.connection.default.port=4447
--
testsuite/integration/clust/src/test/resources/cluster/ejb3/stateful/failover/sfsb-failover-jboss-ejb-client.properties:remote.connection.default.host=localhost
testsuite/integration/clust/src/test/resources/cluster/ejb3/stateful/failover/sfsb-failover-jboss-ejb-client.properties-remote.connection.default.port=4447
--
testsuite/integration/manualmode/src/test/resources/jboss-ejb-client.properties:remote.connection.default.host=localhost
testsuite/integration/manualmode/src/test/resources/jboss-ejb-client.properties-remote.connection.default.port=4447
{code}


Either maven-resources-plugin or maven-replacer-plugin.

I'll create a dir ${basedir}/target/classpath-resources and add it as <additionalClasspathElement>.
                
> TS: Implement replacing of ...=localhost in .properties resources
> -----------------------------------------------------------------
>
>                 Key: AS7-3948
>                 URL: https://issues.jboss.org/browse/AS7-3948
>             Project: Application Server 7
>          Issue Type: Sub-task
>          Components: Test Suite
>            Reporter: Ondrej Zizka
>            Assignee: Ondrej Zizka
>             Fix For: 7.1.2.Final
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> There are 3 occurences of $SUBJ, see below.
> Since they are in src/, it needs to be copied elsewhere and added to classpath from there.
> {code}
> $ git grep -A1 =localhost
> testsuite/integration/basic/src/test/resources/jboss-ejb-client.properties:remote.connection.default.host=localhost
> testsuite/integration/basic/src/test/resources/jboss-ejb-client.properties-remote.connection.default.port=4447
> --
> testsuite/integration/clust/src/test/resources/cluster/ejb3/stateful/failover/sfsb-failover-jboss-ejb-client.properties:remote.connection.default.host=localhost
> testsuite/integration/clust/src/test/resources/cluster/ejb3/stateful/failover/sfsb-failover-jboss-ejb-client.properties-remote.connection.default.port=4447
> --
> testsuite/integration/manualmode/src/test/resources/jboss-ejb-client.properties:remote.connection.default.host=localhost
> testsuite/integration/manualmode/src/test/resources/jboss-ejb-client.properties-remote.connection.default.port=4447
> {code}

--
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