is it possible to use intellij to create a jar file? Ie some sort of plugin where you specify your classes and other files and it automatically generates a jar for you
is it possible to use intellij to create a jar file? Ie some sort of plugin where you specify your classes and other files and it automatically generates a jar for you
No, other than Ant. Sounds like a good plugin idea(no pun intended) though. It's been requested a lot.
is it possible to use intellij to create a jar file?
This has got to be one of the most FAQs ;)
The answer: no, not directly. You can use an ant script - something like this:
]]>
You can define the ${dir.dist}, ${project.name}, ${dir.classes} properties yourself, or use some of the predefined macro's - see the "Build file properties" for details.
Incidentally - anyone else think it's odd that in those predefined macro's, you can get the name of the project, but not of the current module?
Stuart wrote:
No, other than Ant. Sounds like a good plugin idea(no pun intended)
though. It's been requested a lot.
Stuart wrote:
This has got to be one of the most FAQs ;)
The answer: no, not directly. You can use an ant script - something like
this:
]]>
You can define the ${dir.dist}, ${project.name}, ${dir.classes}
properties yourself, or use some of the predefined macro's - see the
"Build file properties" for details.
Incidentally - anyone else think it's odd that in those predefined
macro's, you can get the name of the project, but not of the current
module?
Regards,
Edwin