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 

output path problem

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





PostPosted: Thu Apr 14, 2005 4:35 pm    Post subject: output path problem Reply with quote




I enter web-inf/classes as my output path and I get an 'invalid output path' message that the path is controlled by the web module. It says that classes will be copied to the classes directory but they are not.

I am using WebLogic.

Any ideas of how I can choose the classes directory as the output path?

Thanks.

Marc
Back to top
Paul Furbacher [TeamB]
Guest





PostPosted: Thu Apr 14, 2005 5:51 pm    Post subject: Re: output path problem Reply with quote



Marc wrote:

Quote:
I enter web-inf/classes as my output path and
I get an 'invalid output path' message that the path
is controlled by the web module. It says that classes
will be copied to the classes directory but they are not.

I am using WebLogic.

Any ideas of how I can choose the classes directory as the output path?

Your problem is not with needing to set the output path
to the WEB-INF/classes instead of <project-dir>/classes.

If you are finding that your class files are not being
copied to the Web Module, right-click on the Web Module's
node in the Project Pane and select "Properties...".

On the "Build" page in that dialog, what is the setting
for "Build Web Directory:"? Quite often, one doesn't
want to rebuild the Web Directory on every project rebuild.
In such a case, it might be more convenient to set this
option to "When building module only", and in order to
get the class files to be copied, you would have to
right-click on the Web Module node in the Project Pane
and choose "Rebuild".

Or, in some cases, you might never want to rebuild a
Web Directory, most notably if its one which just contains
the static portion of your Web site -- i.e., it just
serves up .html, and image files.

What's your setting?

--


Paul Furbacher (TeamB)

Save time, search the archives:
http://www.borland.com/newsgroups/ngsearch.html

Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.

Back to top
Marc
Guest





PostPosted: Thu Apr 28, 2005 3:33 pm    Post subject: Re: output path problem Reply with quote




Paul,

Thanks for the response.

The thing I am confused about is that I did not create a web project. I do not have a Web Module node in the Project Pane.

Marc


"Paul Furbacher [TeamB]" <pfurbacher (AT) mac (DOT) com> wrote:
Quote:
Marc wrote:

I enter web-inf/classes as my output path and
I get an 'invalid output path' message that the path
is controlled by the web module. It says that classes
will be copied to the classes directory but they are not.

I am using WebLogic.

Any ideas of how I can choose the classes directory as the output path?

Your problem is not with needing to set the output path
to the WEB-INF/classes instead of <project-dir>/classes.

If you are finding that your class files are not being
copied to the Web Module, right-click on the Web Module's
node in the Project Pane and select "Properties...".

On the "Build" page in that dialog, what is the setting
for "Build Web Directory:"? Quite often, one doesn't
want to rebuild the Web Directory on every project rebuild.
In such a case, it might be more convenient to set this
option to "When building module only", and in order to
get the class files to be copied, you would have to
right-click on the Web Module node in the Project Pane
and choose "Rebuild".

Or, in some cases, you might never want to rebuild a
Web Directory, most notably if its one which just contains
the static portion of your Web site -- i.e., it just
serves up .html, and image files.

What's your setting?

--


Paul Furbacher (TeamB)

Save time, search the archives:
http://www.borland.com/newsgroups/ngsearch.html

Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.


Back to top
Paul Furbacher [TeamB]
Guest





PostPosted: Fri Apr 29, 2005 3:27 am    Post subject: Re: output path problem Reply with quote

Marc wrote:

Quote:
The thing I am confused about is that I did not create a web
project. I do not have a Web Module node in the Project Pane.

I don't want to doubt you about not having a Web Module node
in your Project, but a quick test on my end shows that the
message you got occurs *only* if you try to assign the
output path to the <project dir>/<webapp dir>/WEB-INF/classes
folder. If I take a project which does not have a Web Module
as a node in the Project Pane, and use the file system
browser to create a folder

<project dir>/webapp/WEB-INF/classes

and assign the output to the newly made folder,
the Project Properties dialog does not complain.

Nor does it complain if I assign the output path
to something like

some/path/other/than/project/webapp/WEB-INF/classes

Thus, I have to conclude that you indeed *do* have a
Web Module as part of your project, and that JBuilder
is designed to not accept the WEB-INF/classes as a
valid output dir. The latter makes some sense: JBuilder
manages that WEB-INF/classes directory in a manner different
from the conventional <project dir>/classes dir.

The best thing to do is to get a grip on your
project's contents, and then just use the standard or
conventional output path, and the use the "Make"
or "Rebuild" command for the Web Module to force
the copying of classes and resources into the
WEB-INF/classes and lib dirs.

As for using Weblogic, I doubt that has any bearing
on the matter.

Quote:
"Paul Furbacher [TeamB]" <pfurbacher (AT) mac (DOT) com> wrote:

Marc wrote:

I enter web-inf/classes as my output path and I get an 'invalid
output path' message that the path is controlled by the web
module. It says that classes will be copied to the classes
directory but they are not.

I am using WebLogic.

Any ideas of how I can choose the classes directory as the
output path?


--


Paul Furbacher (TeamB)

Save time, search the archives:
http://www.borland.com/newsgroups/ngsearch.html

Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Compiler 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.