 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Marc Guest
|
Posted: Thu Apr 14, 2005 4:35 pm Post subject: output path problem |
|
|
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
|
Posted: Thu Apr 14, 2005 5:51 pm Post subject: Re: output path problem |
|
|
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
|
Posted: Thu Apr 28, 2005 3:33 pm Post subject: Re: output path problem |
|
|
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
|
Posted: Fri Apr 29, 2005 3:27 am Post subject: Re: output path problem |
|
|
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 |
|
 |
|
|
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
|
|