How do I build a project into a JAR file?

Hi Guys !

i started to work with intellij, and failed to find a way to build my (simple) project / class files into a JAR.

can you please let me know how to do it?

10x in advance
avishai

8 comments
Comment actions Permalink

Avishai wrote:

i started to work with intellij, and failed to find a way to build my (simple) project / class files into a JAR.


Currently the easiest way to build jar is to use Ant integration and
]]> task.

--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

"Low hanging fruit alert"

There is an open request for this, but it has not gotten much traction.
It's a pretty easy solution, since they already have the ability to jar
up web applications.

Norris Shelton
Sun Certified Java Programmer




Avishai wrote:

>Hi Guys !
>
>i started to work with intellij, and failed to find a way to build my (simple) project / class files into a JAR.
>
>can you please let me know how to do it?
>
>10x in advance
>avishai

>

0
Comment actions Permalink

I remember when I first saw that IntelliJ didn't have this capability like
JBuilder did. After learning Ant better I didn't miss it at all. It's
worth the time to learn how to do this in Ant.

On Thu, 10 Jun 2004 11:21:05 -0400, Norris Shelton <i.hate.spam@yahoo.com>
wrote:

"Low hanging fruit alert"

>

There is an open request for this, but it has not gotten much traction.
It's a pretty easy solution, since they already have the ability to jar
up web applications.

>

Norris Shelton
Sun Certified Java Programmer

>
>
>
>

Avishai wrote:

>
>> Hi Guys !
>>
>> i started to work with intellij, and failed to find a way to build my
>> (simple) project / class files into a JAR.
>>
>> can you please let me know how to do it?
>>
>> 10x in advance
>> avishai
>>



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

0
Comment actions Permalink

Please could you explain "use Ant integration and
]]> task" in a little more detail. Forte had a jar option in the menu, I dont understand why Intellij would not include this feature.

0
Comment actions Permalink

Please could you explain "use Ant integration and

The EAP has a new feature, generate Ant script from IDEA project, then you can use the ant panel to add this script as a build script, that is the Ant integration.

<jar> task" in a little more detail. Forte had a jar

Double click the jar task.

option in the menu, I dont understand why Intellij
would not include this feature.


0
Comment actions Permalink

The last time I tried this with a webapp, it generated a file with errors.

tc master wrote:

>>Please could you explain "use Ant integration and
>>
>>
>The EAP has a new feature, generate Ant script from IDEA project, then you can use the ant panel to add this script as a build script, that is the Ant integration.
>

>
>> task" in a little more detail. Forte had a jar >> >> >Double click the jar task. >]]>

>
>>option in the menu, I dont understand why Intellij
>>would not include this feature.
>>
>>
>
>

>

0
Comment actions Permalink

Well, Ant is an independent build tools. Take some time to learn it. You will earn every minute you spent in the future. BTW, it is said that netbean 3.6 use Ant as build tool.

0
Comment actions Permalink

Sorry, no time to learn ant.

tc master wrote:

>Well, Ant is an independent build tools. Take some time to learn it. You will earn every minute you spent in the future. BTW, it is said that netbean 3.6 use Ant as build tool.

>

0

Please sign in to leave a comment.