1
0
-1

I want to make Create Userview Theme, but before that i should do Building from Source . 

I followed the requirement in Building from Source. Download the 3rd parity, copy setup-maven.xml to Joget directory and already change mvn to mvn.bat in setup-maven.xml. I also already download Java Development Kit v.8. But it's still not run and say "Build failed" when i try in command prompt

So, is anyone can help me to solve this?

I'm so newbie in this thing.. Thankyouu before..

    CommentAdd your comment...

    4 answers

    1.  
      2
      1
      0

      Hi Nana

      Have you install the Apache Maven 2.2?

      You can get the app from  http://maven.apache.org/.

      Do refer to the guide in Joget Workflow Knowledge base http://dev.joget.org/community/display/KBv4/Building+from+Source

       

      1. Nana

        Hi, Matthew King thankyou for your respond! Where i can found the link of Apache Maven 2.2? i think Apache Maven 2.2 Not longer support. So, i'm already download Apache Maven 3.3.3 (bin.zip) and set Environment Variable like this: in User variables: - JAVA_HOME -> path JAVA JDK in System variables : - M2_HOME -> C:\apache-maven-3.3.3 - M2 -> %M2_HOME%\bin - and adding JAVA_HOME and M2 to PATH variables i'm use Windows 8.1 so, i run CMD as Administrator and try to type : javac -version and the version of java JDK appear. but if i type : mvn --version i got this error "error:could not find or load main class org.codehaus.plexus.classworlds.launcher.launcher" so i'm trying to change M2 variable become MAVEN_HOME but it's still can't

      2. Nana

        i solve my problem ! i search Apache Maven 2.2 download link not from the official website.. and setup the environment variables like above.. and its work! Thankyou Walter and also Matthew King for help me out cheerss, Nana

      CommentAdd your comment...
    2.  
      2
      1
      0

      Run it in Joget Workflow installation directory and not at C:\

      The file setup-maven.xml is not in C:\ but instead in C:\Joget-v4-Enterprise\

      1. Nana

        okay, i didn't read the instruction to detail. Thankyou, Walter
        i have a problem again when executed the command why i still found "BUILD FAILED" error..
        i'm already change "mvn" to "mvn.bat" in setup-maven.xml like this screenshoot, but it's still FAILED.
        Do i missed something again in this command?

      CommentAdd your comment...
    3.  
      1
      0
      -1

      you can clean & build offline (not connected internet) with command  :

      install maven -o

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi Nana

        Please try with apache-maven-3.2.5, not 3.3.3 version, and set the path to point to the 3.2.5 path.

        1. Nana

           

          Hi Mat, i solved my Maven problem. So, i start "Create Userview Theme"
          but i got new problem again like this capture above. Can you tell me what should i do?

          Matthew King


          Thanks before

           

           

        CommentAdd your comment...