[FIXED HUDSON-4693] Changed checkFileInWorkspace to look at getModuleRoot(), reverting to earlier behavior

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28942 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
abayer committed 2010-03-19 22:56:46 +00:00
1 parent 0ecc06be2f
commit d0f06f3deb
1 file changed
+1 -1
@@ -736,7 +736,7 @@ public final class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,Ma
public FormValidation doCheckFileInWorkspace(@QueryParameter String value) throws IOException, ServletException {
MavenModuleSetBuild lb = getLastBuild();
if (lb!=null) {
FilePath ws = lb.getWorkspace();
FilePath ws = lb.getModuleRoot();
if(ws!=null)
return ws.validateRelativePath(value,true,true);
}