Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yuicompressor always throws java.io.FileNotFoundException #111

Open
andyzhou123 opened this issue Nov 1, 2013 · 9 comments
Open

Yuicompressor always throws java.io.FileNotFoundException #111

andyzhou123 opened this issue Nov 1, 2013 · 9 comments
Assignees

Comments

@andyzhou123
Copy link

${basedir}/${js.target.dir} ${basedir}/${prodJs.dir}
    <mkdir dir="${css.target.dir}"/>
    <apply executable="java" parallel="false" dest="${css.target.dir}" verbose="true" ignoremissing="true">
        <fileset dir="${prodCss.dir}" includes="*.css" />
        <arg line="-jar"/>
        <arg path="lib/yuicompressor-2.4.8.jar" />
        <arg line="-v"/>
        <srcfile/>
        <arg line="-o"/>            
        <mapper type="glob" from="*.css" to="*-min.css"/>
        <targetfile/>
    </apply>
    <move todir="${prodCss.dir}" overwrite="true" >
        <fileset dir="${css.target.dir}" includes="*.css"/>
        <mapper type="glob" from="*-min.css" to="*.css"/>
    </move> 
</target>

always throws:
[echo] D:\SVNAdmin\SMP\trunk\SMPProject\modules\estore/docroot/js-target-dir
[echo] D:\SVNAdmin\SMP\trunk\SMPProject\modules\estore/docroot/productionjs
[apply] java.io.FileNotFoundException: SVNAdminSMPtrunkSMPProjectmodulesestoredocrootjs-target-diraffiliate-search-min.js:\SVNAdmin\SMP\trunk\SMPProject\modules\estore\docroot\productionjs\affiliate-search.js (The filename, directory name, or volume label syntax is incorrect)

@lmk123
Copy link

lmk123 commented Nov 19, 2013

Me too!!!!!!!!!!! So I use yui 2.4.2 , no problem
But 2.4.8 really have this problem!

@zhuimengsiya
Copy link

this is a bug on windows. Because 2.4.8 split the outfile through semicolon":" for supporting batch compressing action. you should change the YUICompressor.java file to fix it.

@yanhaijing
Copy link

me too

@ruxincai
Copy link

Found the same problem on 2.4.8

@yanhaijing
Copy link

用 2。4.7就好了,作者这个项目的lib文件下下面有,高版本有问题

@johanbove
Copy link

Hi. Seems like @thijsputman was on the right track but removed his commit. This is still happening in 2.4.8 on Windows. The reference to #110 is a dead end.

@johanbove
Copy link

@zhuimengsiya Can you please explain where in the yuicompressor-2.4.8.jar file this has to be changed?

@tml tml self-assigned this Aug 20, 2015
@melledijkstra
Copy link

This is still an issue as of today. Using version 2.4.2 does work.

@cbanack
Copy link

cbanack commented Dec 19, 2017

I ran into this problem on Windows 10 today with 2.4.8. Went googling around and found a 2.4.7 jar, and it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants