[
https://issues.apache.org/jira/browse/THRIFT-5109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083895#comment-17083895
]
Mario Emmenlauer commented on THRIFT-5109:
------------------------------------------
Actually I think I have isolated the problem now. See this section of the log:
{code}
Running "shell:InstallThriftJS" (shell) task
>> The syntax of the command is incorrect.
CUSTOMBUILD : warning : Done, with errors: command "mkdir -p test/build/js/lib;
cp src/thrift.js test/build/js/thrift.js" (target "InstallThriftJS") exited
with code 1.
{code}
The error "The syntax of the command is incorrect." is a typical error from the
cmd shell. The command "mkdir -p test/build/js/lib" on the other hand is
typical Unix syntax. I think the Grunt-file was written for bash and has not
been ported to Windows.
Two questions:
# Is someone knowledgeable with Grunt and can help?
# Are there other shells in AppVeyor that we could use for (only) the Grunt
build?
> Misc CMake improvements
> -----------------------
>
> Key: THRIFT-5109
> URL: https://issues.apache.org/jira/browse/THRIFT-5109
> Project: Thrift
> Issue Type: Improvement
> Components: Build Process
> Reporter: Jens Geyer
> Assignee: Mario Emmenlauer
> Priority: Major
> Fix For: 0.14.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> * compiler/cpp/CMakeLists.txt: Install compiler after build, like automake
> does
> * Added NodeJS to cmake build
> * Added Javascript to cmake build
> * build/cmake/DefineInstallationPaths.cmake: fixed the library path
> * build/cmake/ThriftMacros.cmake: do not enforce debug suffix 'd'
> * lib/java/CMakeLists.txt: allow to override JAVA_INSTALL_DIR
--
This message was sent by Atlassian Jira
(v8.3.4#803005)