[
https://issues.jboss.org/browse/FORGE-1729?page=com.atlassian.jira.plugin...
]
Jess Sightler commented on FORGE-1729:
--------------------------------------
It seems intuitive to me that a temporary directory would be the default. The default of
having a mvn clean install that manipulates the user's default configuration directory
definitely breaks the principle of least surprise for me.
Test harness should set the Configuration directory to use the test
temp dir by default
---------------------------------------------------------------------------------------
Key: FORGE-1729
URL:
https://issues.jboss.org/browse/FORGE-1729
Project: Forge
Issue Type: Enhancement
Components: Configuration
Affects Versions: 2.3.0.Final
Reporter: Lincoln Baxter III
Fix For: 2.x Future
Currently the UserConfiguration references the current users home directory while running
tests - it should use the available system property while running tests in order to direct
the config dir to a temp location for that test execution:
{code}
static final String USER_CONFIG_PATH =
"org.jboss.forge.addon.configuration.USER_CONFIG_PATH";
String property = System.getProperty(USER_CONFIG_PATH);{code}
--
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