Thread View: borland.public.jbuilder.compiler
4 messages
4 total messages
Started by Marc
Thu, 14 Apr 2005 16:35
output path problem
Author: Marc
Date: Thu, 14 Apr 2005 16:35
Date: Thu, 14 Apr 2005 16:35
10 lines
1110 bytes
1110 bytes
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
Re: output path problem
Author: Paul Furbacher [TeamB]
Date: Thu, 14 Apr 2005 17:51
Date: Thu, 14 Apr 2005 17:51
48 lines
2630 bytes
2630 bytes
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.
Re: output path problem
Author: Marc
Date: Thu, 28 Apr 2005 15:33
Date: Thu, 28 Apr 2005 15:33
59 lines
2876 bytes
2876 bytes
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@mac.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? > >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.
Re: output path problem
Author: Paul Furbacher [TeamB]
Date: Fri, 29 Apr 2005 03:27
Date: Fri, 29 Apr 2005 03:27
69 lines
3388 bytes
3388 bytes
Marc wrote:
> 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.
> "Paul Furbacher [TeamB]" <pfurbacher@mac.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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads