I have downloaded Joget jogetworkflow-jw-community zip file, then i copied the apache-ant-1.8.4-bin folder inside jogetworkflow-jw-community-7564e2c\wflow-install\src\main\resources* directory. Then i run the following command "*ant -f setup-maven.xml"in my windows CMD

But the following error was raised.

C:\joget source\jogetworkflow-jw-community-7564e2c\jogetworkflow-jw-community-75
64e2c\wflow-install\src\main\resources\apache-ant-1.8.4-bin\apache-ant-1.8.4\bin
>ant -f setup-maven.xml
Buildfile: C:\joget source\jogetworkflow-jw-community-7564e2c\jogetworkflow-jw-c
ommunity-7564e2c\wflow-install\src\main\resources\apache-ant-1.8.4-bin\apache-an
t-1.8.4\bin\setup-maven.xml

setup-maven:

BUILD FAILED
C:\joget source\jogetworkflow-jw-community-7564e2c\jogetworkflow-jw-community-75
64e2c\wflow-install\src\main\resources\apache-ant-1.8.4-bin\apache-ant-1.8.4\bin
\setup-maven.xml:13: Execute failed: java.io.IOException: Cannot run program "mv
n": CreateProcess error=2, The system cannot find the file specified
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
        at java.lang.Runtime.exec(Runtime.java:615)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Exec
ute.java:862)

So can any one advice?

  • No labels

1 Comment

  1. Hi,

    In Building from Source, there is note as below:

    NOTE: If you do above on windows platform, please modify mvn to mvn.bat in the setup-maven.xml before execute "apache-ant-1.7.1/bin/ant -f setup-maven.xml"

    and you may get it wrong in the following statement:

    Unzip the attached joget-maven-setup.zip into the Joget Workflow installation directory. This zip should contain 2 files: setup-maven.xml and shark-maven-2.0.1.pom.

    Joget Workflow Installation directory here mean the binary of Joget Workflow not the source code.

    Hope this helps.

    Best regards,

    Owen