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

Comments

@andyzhou123
Copy link

commented Nov 1, 2013

${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

This comment has been minimized.

Copy link

commented Nov 19, 2013

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

@zhuimengsiya

This comment has been minimized.

Copy link

commented Dec 26, 2013

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

This comment has been minimized.

Copy link

commented Mar 3, 2014

me too

@ruxincai

This comment has been minimized.

Copy link

commented May 13, 2014

Found the same problem on 2.4.8

@yanhaijing

This comment has been minimized.

Copy link

commented May 14, 2014

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

@johanbove

This comment has been minimized.

Copy link

commented Aug 20, 2015

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

This comment has been minimized.

Copy link

commented Aug 20, 2015

@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

This comment has been minimized.

Copy link

commented Jun 20, 2017

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

@cbanack

This comment has been minimized.

Copy link

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
Projects
None yet
9 participants
You can’t perform that action at this time.