This definitly does not smell from my point of view, since it is very common for tests to read and write into project relative paths.
Actually if you deal with files relative is the only way....

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101tec Inc., Menlo Park, California
web:  http://www.101tec.com
blog: http://www.find23.net



On Sep 11, 2008, at 3:15 AM, Hans Dockter wrote:

Hi,

I have hit upon a current dir issue when porting a Maven build to Gradle. Maven seems to change the current dir to the sub project it is actual building. Some test classes in this subproject rely on this as they use relative paths. Whether this is a design smell is one question. The other question is if Gradle should also change the current dir to the project dir of the task it is executing?

- Hans

--
Hans Dockter
Gradle Project lead
http://www.gradle.org





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

  http://xircles.codehaus.org/manage_email





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

   http://xircles.codehaus.org/manage_email


Reply via email to