Intellij include src files in jar file

前端 未结 3 1677
鱼传尺愫
鱼传尺愫 2021-01-01 18:05

I remember a while back with eclipse or netbeans I was able to easily include my source files in my jar file. I have moved to intellij 10 community edition and find myself n

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-01 19:04

    did you try this

    http://blogs.jetbrains.com/idea/tag/artifacts/

    basically you

    1. right click on the project
    2. select Open Module Settings
    3. add a build artefact of type jar. You should see something like alt text

    4. Now in the build menu option you can build the jar.

提交回复
热议问题