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()); }
