[jboss-jira] [JBoss JIRA] (AS7-3726) TS: Pass the path to docs/examples to the tests.

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Mon Feb 13 05:27:01 EST 2012


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

Ondrej Zizka updated AS7-3726:
------------------------------

    Description: 
In AS7, the path to the config file, passed in a system property, is only allowed to be a relative path.

In the testsuite, we would make use of absolute paths.
The reason is that we reuse the configs from docs/examples, and they change quite often, so having them in resources would be hardly maintainable.
However, docs/examples is not guaranteed to be always in the same place:  E.g. for EAP, or for  RPM-based installation of EAP it might end up in /var/docs or such.

I would like to pass some property from maven to the tests, but that results in absolute path.

  was:
In the testsuite, we would make use of absolute paths.
The reason is that we reuse the configs from docs/examples, and they change quite often, so having them in resources would be hardly maintainable.
However, docs/examples is not guaranteed to be always in the same place:  E.g. for EAP, or for  RPM-based installation of EAP it might end up in /var/docs or such.

I would like to pass some property from maven to the tests, but that results in absolute path.


    
> TS: Pass the path to docs/examples to the tests.
> ------------------------------------------------
>
>                 Key: AS7-3726
>                 URL: https://issues.jboss.org/browse/AS7-3726
>             Project: Application Server 7
>          Issue Type: Sub-task
>          Components: Test Suite
>            Reporter: Ondrej Zizka
>            Assignee: Ondrej Zizka
>             Fix For: 7.1.1.Final
>
>
> In AS7, the path to the config file, passed in a system property, is only allowed to be a relative path.
> In the testsuite, we would make use of absolute paths.
> The reason is that we reuse the configs from docs/examples, and they change quite often, so having them in resources would be hardly maintainable.
> However, docs/examples is not guaranteed to be always in the same place:  E.g. for EAP, or for  RPM-based installation of EAP it might end up in /var/docs or such.
> I would like to pass some property from maven to the tests, but that results in absolute path.

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