Browse Source

fix the issue : VAJRemoteUtil calls getAbsolutePath instead of getPath

PR: 20457
Submitted by: Douglas Reith (douglas_reith at yahoo dot com dot au)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274677 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 22 years ago
parent
commit
03e9cb96be
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJRemoteUtil.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJRemoteUtil.java View File

@@ -141,7 +141,7 @@ class VAJRemoteUtil implements VAJUtil{
boolean includeSources, boolean useDefaultExcludes) {
String result =
VAJToolsServlet.DIR_PARAM + "="
+ URLEncoder.encode(dir.getAbsolutePath()) + "&"
+ URLEncoder.encode(dir.getPath()) + "&"
+ VAJToolsServlet.CLASSES_PARAM + "=" + includeClasses + "&"
+ VAJToolsServlet.RESOURCES_PARAM + "=" + includeResources + "&"
+ VAJToolsServlet.SOURCES_PARAM + "=" + includeSources + "&"


Loading…
Cancel
Save