Re: create jar file

JM Ibanez <[email protected]> Fri, 13 Jul 2007 00:27:02 +0800
Newsgroups gmane.emacs.jdee
Organization Orange & Bronze Software Labs, Ltd. Co.
Message-ID <[email protected]>
Arantxa Otegi <[email protected]> writes:

> Hi!
> I'm using emacs (JDEE) for developing my java project. But I have
> problems to compile and creat a jar file.
> These is the structure of my project:
>
> src
>  process
>    (java files)
>  util
>    (java files)
>
> I want to compile and create a jar file with all those java files. Can
> anybody help me? I'm a little bit lost with all jde-compile,
> jde-make... configurations.
>
> I'm also interested in knowing how to crate a war file using JDEE.

I suggest you write an ant build file. There should be a lot of HOWTOs
online on doing that.

JDEE can integrate with ant when building, so that you can run Ant to
build your project. I use the following settings for that:

   (setq jde-build-function 'jde-ant-build)
   (setq jde-ant-read-target t)

Read the docs on the jde-build-function variable, or hit M-x
customize-variable jde-ant-build.


-- 
JM Ibanez
Software Architect
Orange & Bronze Software Labs, Ltd. Co.

[email protected]
http://software.orangeandbronze.com/