summaryrefslogtreecommitdiff
path: root/src/net/sf/antcontrib/cpptasks/borland/BorlandLibrarian.java
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2007-07-06 19:06:29 +0000
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2007-07-06 19:06:29 +0000
commit2dac20493cf190fb56f04d1fe22f58c30eac1869 (patch)
treeebbcea6f539fbb3a474217c45502632f0c84289a /src/net/sf/antcontrib/cpptasks/borland/BorlandLibrarian.java
parent502ee6ac6df5cd8aa19c2c1f9db87861d763ac1b (diff)
downloadcpptasks-parallel-2dac20493cf190fb56f04d1fe22f58c30eac1869.tar.gz
cpptasks-parallel-2dac20493cf190fb56f04d1fe22f58c30eac1869.tar.bz2
cpptasks-parallel-2dac20493cf190fb56f04d1fe22f58c30eac1869.tar.xz
cpptasks-parallel-2dac20493cf190fb56f04d1fe22f58c30eac1869.zip
Fixed NARPLUGIN-106
Diffstat (limited to 'src/net/sf/antcontrib/cpptasks/borland/BorlandLibrarian.java')
-rw-r--r--src/net/sf/antcontrib/cpptasks/borland/BorlandLibrarian.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/borland/BorlandLibrarian.java b/src/net/sf/antcontrib/cpptasks/borland/BorlandLibrarian.java
index 1b13e54..6ec9212 100644
--- a/src/net/sf/antcontrib/cpptasks/borland/BorlandLibrarian.java
+++ b/src/net/sf/antcontrib/cpptasks/borland/BorlandLibrarian.java
@@ -61,17 +61,11 @@ public class BorlandLibrarian extends CommandLineLinker {
}
protected String getCommandFileSwitch(String cmdFile) {
-
//
-
// tlib requires quotes around paths containing -
-
// ilink32 doesn't like them
-
StringBuffer buf = new StringBuffer("@");
-
BorlandProcessor.quoteFile(buf, cmdFile);
-
return buf.toString();
}
public File[] getLibraryPath() {
@@ -189,9 +183,7 @@ public class BorlandLibrarian extends CommandLineLinker {
throws IOException {
String[] cmdargs = BorlandProcessor.prepareResponseFile(outputFile, args, " & \n");
cmdargs[cmdargs.length - 1] = getCommandFileSwitch(cmdargs[cmdargs.length -1]);
-
return cmdargs;
-
}
/**
@@ -212,28 +204,16 @@ public class BorlandLibrarian extends CommandLineLinker {
super.link(task, outputFile, sourceFiles, config);
}
-
/**
-
* Encloses problematic file names within quotes.
-
* @param buf string buffer
-
* @param filename source file name
-
* @returns filename potentially enclosed in quotes.
-
*/
-
protected String quoteFilename(StringBuffer buf,String filename) {
-
buf.setLength(0);
-
BorlandProcessor.quoteFile(buf, filename);
-
return buf.toString();
-
}
-
}