ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r730592 [4/4] - in /ant/sandbox/antlibs/compress/trunk/src: etc/testcases/ etc/testcases/testscripts/ main/org/apache/ant/js/compressor/
Date Thu, 01 Jan 2009 19:20:46 GMT
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());
 					}



Mime
View raw message