You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ke...@apache.org on 2009/01/01 20:20:46 UTC
svn commit: r730592 [4/4] - in /ant/sandbox/antlibs/compress/trunk/src:
etc/testcases/ etc/testcases/testscripts/ main/org/apache/ant/js/compressor/
Modified: ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/js/compressor/YUICompressorTask.java
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/js/compressor/YUICompressorTask.java?rev=730592&r1=730591&r2=730592&view=diff
==============================================================================
--- ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/js/compressor/YUICompressorTask.java (original)
+++ ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/js/compressor/YUICompressorTask.java Thu Jan 1 11:20:46 2009
@@ -43,7 +43,7 @@
}
cmd.createArgument().setValue("-o");
if(null != outputPath && outputPath.trim() != "") {
- cmd.createArgument().setValue(outputPath + File.separator + f.getFile().getAbsolutePath());
+ cmd.createArgument().setValue(outputPath + File.separator + f.getFile().getName());
} else {
cmd.createArgument().setValue(f.getFile().getAbsolutePath());
}