incubator-ivy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r507699 - /incubator/ivy/core/trunk/src/java/org/apache/ivy/util/FileUtil.java
Date Wed, 14 Feb 2007 21:27:27 GMT
Author: maartenc
Date: Wed Feb 14 13:27:26 2007
New Revision: 507699

URL: http://svn.apache.org/viewvc?view=rev&rev=507699
Log:
Fixed call to "ln" to create symlinks.

Modified:
    incubator/ivy/core/trunk/src/java/org/apache/ivy/util/FileUtil.java

Modified: incubator/ivy/core/trunk/src/java/org/apache/ivy/util/FileUtil.java
URL: http://svn.apache.org/viewvc/incubator/ivy/core/trunk/src/java/org/apache/ivy/util/FileUtil.java?view=diff&rev=507699&r1=507698&r2=507699
==============================================================================
--- incubator/ivy/core/trunk/src/java/org/apache/ivy/util/FileUtil.java (original)
+++ incubator/ivy/core/trunk/src/java/org/apache/ivy/util/FileUtil.java Wed Feb 14 13:27:26
2007
@@ -64,7 +64,7 @@
             
             Runtime runtime = Runtime.getRuntime();
             Message.verbose("executing 'ln -s -f " + src.getAbsolutePath() + " " + dest.getPath()
+ "'");
-            Process process = runtime.exec("ln", new String[] {"-s", "-f", src.getAbsolutePath(),
dest.getPath()});
+            Process process = runtime.exec(new String[] {"ln", "-s", "-f", src.getAbsolutePath(),
dest.getPath()});
             
             if (process.waitFor() != 0) {
                 InputStream errorStream = process.getErrorStream();



Mime
View raw message