| View previous topic :: View next topic |
| Author |
Message |
Jim Willeke Guest
|
Posted: Wed Apr 25, 2007 7:22 pm Post subject: Generate Jar file from JB 2007 Enterprise |
|
|
We do a lot of custom Java apps for others and used to be able to
generate jar files that would include all dependencies referenced from
the application.
How can we do this with JB2007?
Thanks
-jim |
|
| Back to top |
|
 |
Gillmer J. Derge [TeamB] Guest
|
Posted: Wed Apr 25, 2007 7:40 pm Post subject: Re: Generate Jar file from JB 2007 Enterprise |
|
|
Jim Willeke wrote:
| Quote: | We do a lot of custom Java apps for others and used to be able to
generate jar files that would include all dependencies referenced from
the application.
How can we do this with JB2007?
|
You can do it manually (semi-automated, but you need to trigger the
build) with the File | Export... menu item. If you browse to Java / JAR
file, you get a dialog where you can configure what belongs in the JAR.
You can also save the details in a descriptor file that lets you
rebuild it in one step the next time.
If you want it completely automated (JAR gets rebuilt whenever the
application changes) then you'll need to set up an Ant script and add
that script as a builder for the project. You can do that on the
Builders page of the project properties dialog.
--
Gillmer J. Derge [TeamB] |
|
| Back to top |
|
 |
Jim Willeke Guest
|
Posted: Thu Apr 26, 2007 6:09 pm Post subject: Re: Generate Jar file from JB 2007 Enterprise |
|
|
Thanks for your response.
However, this certainly seems like a loss of a feature from JB 6 and
quite a burden for us as we often use libraries and code from other
projects.
Sure seems unreasonable for a product of this cost magnitude.
-jim
Gillmer J. Derge [TeamB] wrote:
| Quote: | Jim Willeke wrote:
We do a lot of custom Java apps for others and used to be able to
generate jar files that would include all dependencies referenced from
the application.
How can we do this with JB2007?
You can do it manually (semi-automated, but you need to trigger the
build) with the File | Export... menu item. If you browse to Java / JAR
file, you get a dialog where you can configure what belongs in the JAR.
You can also save the details in a descriptor file that lets you
rebuild it in one step the next time.
If you want it completely automated (JAR gets rebuilt whenever the
application changes) then you'll need to set up an Ant script and add
that script as a builder for the project. You can do that on the
Builders page of the project properties dialog.
|
|
|
| Back to top |
|
 |
|