BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Generate Jar file from JB 2007 Enterprise

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE
View previous topic :: View next topic  
Author Message
Jim Willeke
Guest





PostPosted: Wed Apr 25, 2007 7:22 pm    Post subject: Generate Jar file from JB 2007 Enterprise Reply with 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?

Thanks
-jim
Back to top
Gillmer J. Derge [TeamB]
Guest





PostPosted: Wed Apr 25, 2007 7:40 pm    Post subject: Re: Generate Jar file from JB 2007 Enterprise Reply with quote



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





PostPosted: Thu Apr 26, 2007 6:09 pm    Post subject: Re: Generate Jar file from JB 2007 Enterprise Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.