Browse Source

Bug fixing

Reported by: Wannheden, Knut <Knut@paranor.ch>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270615 13f79535-47bb-0310-9956-ffa450edef68
master
Stephane Bailliez 23 years ago
parent
commit
eeb31f3611
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      proposal/sandbox/clearcase/src/main/org/apache/tools/ant/taskdefs/optional/clearcase/CCFile.java
  2. +1
    -1
      proposal/sandbox/clearcase/src/main/org/apache/tools/ant/taskdefs/optional/clearcase/CCMatchingTask.java

+ 1
- 1
proposal/sandbox/clearcase/src/main/org/apache/tools/ant/taskdefs/optional/clearcase/CCFile.java View File

@@ -123,7 +123,7 @@ public class CCFile extends File {
* first access.
*/
public void refresh() {
String[] args = {"describe", "-fmt", "%m %o", getAbsolutePath() };
String[] args = {"describe", "-fmt", "\"%m %o\"", getAbsolutePath() };
CmdResult res = CCUtils.cleartool(args);
if (res.getStatus() != 0){
throw new BuildException(res.getStdErr());


+ 1
- 1
proposal/sandbox/clearcase/src/main/org/apache/tools/ant/taskdefs/optional/clearcase/CCMatchingTask.java View File

@@ -138,7 +138,7 @@ public abstract class CCMatchingTask extends MatchingTask {
}

protected Hashtable getFiles(){
if (files == null){
if (files != null){
return files;
}
files = new Hashtable();


Loading…
Cancel
Save