**/\r
package org.tianocore.framework.tasks;\r
\r
+import java.io.File;\r
+\r
import org.apache.tools.ant.BuildException;\r
import org.apache.tools.ant.Project;\r
import org.apache.tools.ant.Task;\r
//\r
private ToolArg componentType = new ToolArg();\r
\r
- /**\r
- * assemble tool command line & execute tool command line\r
- *\r
- * @throws BuildException\r
- */\r
/**\r
execute\r
\r
if (path == null) {\r
command = toolName;\r
} else {\r
- command = path + "/" + toolName;\r
+ command = path + File.separator + toolName;\r
}\r
//\r
// argument of tools\r