How to use script to build IntelliJ Idea project to a jar

user3068231

i have created an IntelliJ Idea (Community Edition) java project. the project is quite simple. it only contains a main() method, but uses another 2 jars as dependencies. I also created an artifact to the project to build it to a jar.

My question is there any way to build the jar using script? because I want to add the build process to an existing build script.

thanks

Alexander Goncharenko

IDEA doesn't do anything with the code on its own, it just counts on the default tools provided by SDK. In short, you will need javac and jar for packaging.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to add a project to build path in IntelliJ Idea

From Dev

How to use a "custom jar" in IntelliJ IDEA?

From Dev

How to add and use a jar library in IntelliJ IDEA?

From Dev

IntelliJ IDEA: StackOverflowError on Build Project

From Dev

How to debug specific build variant of Android Gradle project in IntelliJ IDEA?

From Dev

How to build project-wide UML diagram in IntelliJ IDEA?

From Dev

How to build project-wide UML diagram in IntelliJ IDEA?

From Dev

How to make gradle build use jdk 1.6 in IntelliJ IDEA

From Java

How to build an Uber JAR (Fat JAR) using SBT within IntelliJ IDEA?

From Dev

How to use an existing Gradle project in IntelliJ IDEA 13/14

From Dev

How do I use classes from another project in IntelliJ IDEA?

From Dev

How to include slf4j-simple in the artifact JAR when build from inside Intellij IDEA

From Dev

xsd file not build into jar when use IDEA

From Dev

Optimal plugins and project to use IntelliJ IDEA for JavaScript?

From Dev

How to sign the jar files in Intellij IDEA?

From Dev

How to sign the jar files in Intellij IDEA?

From Dev

How to simply show *.jar in Intellij Idea?

From Dev

How to use Library in IntelliJ IDEA

From Dev

Use Python script as external tool in IntelliJ IDEA

From Java

Correct way to add external jars (lib/*.jar) to an IntelliJ IDEA project

From Dev

How to show build directory in IntelliJ IDEA

From Dev

Intellij IDEA - how to find package usage in a project

From Dev

How to change Intellij IDEA Project Navigator Layout

From Dev

How to clone a project from Bitbucket into Intellij IDEA?

From Dev

How to organize a large java project in Intellij Idea

From Dev

Intellij IDEA how to run a class not the entire project?

From Dev

How to create a JAXB project in IntelliJ IDEA 13?

From Dev

How to create a JavaFX Maven project in IntelliJ IDEA?

From Dev

How to create a JAXB project in IntelliJ IDEA 13?

Related Related

  1. 1

    How to add a project to build path in IntelliJ Idea

  2. 2

    How to use a "custom jar" in IntelliJ IDEA?

  3. 3

    How to add and use a jar library in IntelliJ IDEA?

  4. 4

    IntelliJ IDEA: StackOverflowError on Build Project

  5. 5

    How to debug specific build variant of Android Gradle project in IntelliJ IDEA?

  6. 6

    How to build project-wide UML diagram in IntelliJ IDEA?

  7. 7

    How to build project-wide UML diagram in IntelliJ IDEA?

  8. 8

    How to make gradle build use jdk 1.6 in IntelliJ IDEA

  9. 9

    How to build an Uber JAR (Fat JAR) using SBT within IntelliJ IDEA?

  10. 10

    How to use an existing Gradle project in IntelliJ IDEA 13/14

  11. 11

    How do I use classes from another project in IntelliJ IDEA?

  12. 12

    How to include slf4j-simple in the artifact JAR when build from inside Intellij IDEA

  13. 13

    xsd file not build into jar when use IDEA

  14. 14

    Optimal plugins and project to use IntelliJ IDEA for JavaScript?

  15. 15

    How to sign the jar files in Intellij IDEA?

  16. 16

    How to sign the jar files in Intellij IDEA?

  17. 17

    How to simply show *.jar in Intellij Idea?

  18. 18

    How to use Library in IntelliJ IDEA

  19. 19

    Use Python script as external tool in IntelliJ IDEA

  20. 20

    Correct way to add external jars (lib/*.jar) to an IntelliJ IDEA project

  21. 21

    How to show build directory in IntelliJ IDEA

  22. 22

    Intellij IDEA - how to find package usage in a project

  23. 23

    How to change Intellij IDEA Project Navigator Layout

  24. 24

    How to clone a project from Bitbucket into Intellij IDEA?

  25. 25

    How to organize a large java project in Intellij Idea

  26. 26

    Intellij IDEA how to run a class not the entire project?

  27. 27

    How to create a JAXB project in IntelliJ IDEA 13?

  28. 28

    How to create a JavaFX Maven project in IntelliJ IDEA?

  29. 29

    How to create a JAXB project in IntelliJ IDEA 13?

HotTag

Archive