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 

2007 output dir (class files vs jar)

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





PostPosted: Fri Jan 12, 2007 7:51 am    Post subject: 2007 output dir (class files vs jar) Reply with quote



I would like to have an output dir that contains just my files that will get deployed, such as the complete jar, a required dll, a property file and a readme.txt file

As it currently stands, when I "run" my project, JBuilder 2007 puts all my class files into a directory structure in the output dir, and I do not want that to get deployed.

Is it safe to say that I need to manually use maven or ant to create a second output dir and I have to manually run this build process to make the jar and put other desired stuff?

And if so, how can I get the maven / ant process to happen automatically when I run the project?

Specifically, I want the "main class" that the run task launches to be executed from within the built jar instead of from the class tree.

Perhaps I am missing something and there is an easier or better way to do this?
Back to top
Kevin Dean [TeamB]
Guest





PostPosted: Fri Jan 12, 2007 9:13 am    Post subject: Re: 2007 output dir (class files vs jar) Reply with quote



dingfelder wrote:

Quote:
I would like to have an output dir that contains just my files that will
get deployed, such as the complete jar, a required dll, a property file
and a readme.txt file

As it currently stands, when I "run" my project, JBuilder 2007 puts all my
class files into a directory structure in the output dir, and I do not
want that to get deployed.

Is it safe to say that I need to manually use maven or ant to create a
second output dir and I have to manually run this build process to make
the jar and put other desired stuff?

And if so, how can I get the maven / ant process to happen automatically
when I run the project?

Specifically, I want the "main class" that the run task launches to be
executed from within the built jar instead of from the class tree.

Perhaps I am missing something and there is an easier or better way to do
this?

The output directory is where compiled classes and copied resources go.
It's an intermediate step to building a JAR file (which I haven't figured
out how to do in JB 2007 yet).

I've never come across a case where running from a JAR file is necessary
in the development environment. If it runs against the output directory,
it should run just fine as a JAR file, assuming you copied all the
required resources.

--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Back to top
Patrick J. Maloney
Guest





PostPosted: Tue Apr 17, 2007 2:00 am    Post subject: Re: 2007 output dir (class files vs jar) Reply with quote



"dingfelder" <dingfeldera_nospam (AT) sirtrack (DOT) com> wrote in
news:45a6e986$1 (AT) newsgroups (DOT) borland.com:

Quote:
Perhaps I am missing something and there is an easier or better way to
do this?


Yes, stick with JB2006.

--
Patrick Maloney
New York State Workers' Compensation Board

(Remove REMOVE from e-mail address to reply)
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.