Export (in eclipse) a .jar but how with Intellij idea

Discussion in 'Plugin Development' started by BlaSfaiMe, Jan 31, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    BlaSfaiMe

    Hi !
    I have a another problem : since a while, I use Intellij Idea but I don't know how to "export" a projet as on Eclipe ?
    I know, it's "build" in Intellij but how to do, I don't know !

    Please help me...
     
  2. Offline

    Tango_

    Right click your project, click Export, select Jar File, then choose the save location and click finish
     
  3. Offline

    BlaSfaiMe

    @Tango_ not on Eclipse but on Intellij Idea
     
  4. Offline

    Tango_

    Found this:
    1. File > Project Structure
    2. Click on Artifacts
    3. Click the green + to add a new artifact
    4. Select Jar > Empty
    5. Give it a name
    6. Add your plugins "compile output"
    7. Add your plugins plugin,yml, config.yml, and any other raw files you need in the jar
    8. Click OK
    9. Build > Build Artifacts
    10. Choose the name of the artifact you just created
    11. Click build
    12. Go to the directory of your project and find the artifacts folder to see the jar.
     
  5. Offline

    BlaSfaiMe

Thread Status:
Not open for further replies.

Share This Page