How to add JAR creation to the build chain (builder) ? [message #203503] |
Sat, 14 May 2005 17:55  |
Eclipse User |
|
|
|
Originally posted by: sami.p.heikkinen.poista.mail.suomi.net
Hi,
After compiling source files, I would like to add the .class files to a JAR
file. THi scan be done using the export-funtionality and it also adds the
jar-task (description) to the dekstop, but how can I add this JAR creation
to the build chain (builder) so that it creates the JAR-file when I compile
to project? Or do I need to use ANT for that?
Regards, Sami
|
|
|
|
Re: How to add JAR creation to the build chain (builder) ? [message #203904 is a reply to message #203597] |
Tue, 17 May 2005 15:30  |
Eclipse User |
|
|
|
Originally posted by: sami.p.heikkinen.poista.mail.suomi.net
Thanks. Got it working.
"Eric Rizzo" <eclipse@rizzoweb.com> wrote in message
news:d6adoq$32k$2@news.eclipse.org...
> Sami Heikkinen wrote:
>> Hi,
>>
>> After compiling source files, I would like to add the .class files to a
>> JAR file. THi scan be done using the export-funtionality and it also adds
>> the jar-task (description) to the dekstop, but how can I add this JAR
>> creation to the build chain (builder) so that it creates the JAR-file
>> when I compile to project? Or do I need to use ANT for that?
>
> Yes, Ant is the answer (at least as far as Eclipse 3.0.2; perhaps 3.1 has
> some new functionality to help with this?)
> Note that you can create an Ant script that does the JAR and set that to
> automatically run after the Eclipse builder finishes compiling.
>
> HTH,
> Eric
|
|
|
Powered by
FUDForum. Page generated in 0.03439 seconds