Skip to content

api.jquery.com build fails in windows environment #71

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

Closed
alano999 opened this issue Sep 17, 2012 · 2 comments
Closed

api.jquery.com build fails in windows environment #71

alano999 opened this issue Sep 17, 2012 · 2 comments

Comments

@alano999
Copy link

Hi.

Fatal error building api.jquery.com in Windows environment:-

Running "build-xml-full" task
>> Unknown option --path
Task "build-xml-full" failed. Use --force to continue.
Aborted due to warnings.

The failure is because GnuWin32 version of libxslt recommended in the main readme.md for use when building api.jquery,com in a windows environment does not support the "--path" option of xsltproc.

In order to use the recommended version of libxslt, grunt-jquery-content/tasks/build-xml.js can be altered by simply removing the last two parameter completely from line 165 (Release 0.5.0).

So, change from:-

args: [ "--xinclude", "--path", process.cwd(),

to:-

args: [ "--xinclude",

Hope this helps.

Kind regards,
Alan

@dcherman
Copy link

The GnuWin32 packages linked in the README don't work for this build process ( they look rather old ).

I downloaded the same dependencies from http://www.zlatkovic.com/libxml.en.html and was able to build successfully.

@alano999
Copy link
Author

Great. If the zlatkovic.com version of libxml works (I won't be trying it), all that needs to be changed is the readme.md file on api.jquery.com - because it recommends the GnuWin32 version.

Thx.

staabm added a commit to jquery-validation/validation-content that referenced this issue Mar 11, 2017
refs jquery/api.jquery.com#71 and fixes "Error: Unknown option --path" xsltproc errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants