Skip to content

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

Closed
@alano999

Description

@alano999

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions