How to compile a plugin from Github

Discussion in 'Programming' started by serenadeje, Nov 11, 2016.

  1. Hi there, I'm very new to all of these, is there any kind heart can share me a piece of article/information on how can I compile source code from Github into a plugin??

    Thanks
     
    • Not Helpful
    Sure.

    Step 1: Don't steal others code
    Step 2: Profit
     
    • Optimistic Optimistic x 2
    • Creative Creative x 1
  2. Its free for download, I don't think its stealing?
     
    • Agree Agree x 2
    • Informative Informative x 1
  3. Hi there, I would like to ask, "Run 'maven clean package'" do you mean open Run Command and type in 'maven clean package'? It prompt out error, I think I misunderstand..
     
  4. You have to open an Command Shell (cmd.exe) and if maven is in your system path variable you will be able to execute maven from it.
    The script I mentioned above does that for you (sets the enviroment variables and all that stuff)
     
  5. When i type 'maven clean package' into my command prompt and run it, it shows me

    'maven' is not recognized as an internal or external command,
    operable program or batch file.

    After I reinstall your windows batch file (to check again if there's any error), I spotted some red words and an error, I uploaded the image file, please have a look. Thanks :)
     

    Attached Files:

  6. Download the script again, the mirror the script was using was taken down or something.
     
  7. After installing, i notice there's a zip file apache-maven-3.3.9 in the folder, after unzipping it, is there anything I should do about it?

    I tried 'maven clean package' in command prompt again, but I still get the same message,
    'maven' is not recognized as an internal or external command,
    operable program or batch file.
     

    Attached Files:

  8. Close all the command prompts and open them again, see if that works.
     
  9. Nop, it doesn't do the trick, I even restarted my computer... Or maybe can you help me to compile and send me a download link first please? I'm actually can't wait to try out my app before end of the day...
     
  10. Send link of the repo
     
  11. Ok, my bad, I think I had made some misunderstanding in this post, so sorry, thanks for your patient anyway. :)