 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
phimalaya Guest
|
Posted: Thu Jul 13, 2006 9:45 pm Post subject: how to include .sql files |
|
|
hi,
using jbuilder 2006 i want to include a .sql file in my WAR file. what
should i do? |
|
| Back to top |
|
 |
Kevin Dean [TeamB] Guest
|
Posted: Thu Jul 13, 2006 11:28 pm Post subject: Re: how to include .sql files |
|
|
phimalaya wrote:
| Quote: | using jbuilder 2006 i want to include a .sql file in my WAR file. what
should i do?
|
Right-click on the WAR item in the project, select "Properties", and look
at the "Content" section. Online help should be able to guide you from
there.
--
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 |
|
 |
phimalaya Guest
|
Posted: Thu Jul 13, 2006 11:37 pm Post subject: Re: how to include .sql files |
|
|
kevin,
i already did that. but anyway still your suggestion will add that folder
and/file under "web-inf/classes" folder, which i do not want.
also fyi, i have made sure ".sql" is a valid "File Type" also.
any idea?
"Kevin Dean [TeamB]" <NkOdSePaAnM (AT) datadevelopment (DOT) com> wrote in message
news:xn0eoofb6g4gxg000-kdean (AT) www (DOT) teamb.com...
|
|
| Back to top |
|
 |
Kevin Dean [TeamB] Guest
|
Posted: Fri Jul 14, 2006 2:33 am Post subject: Re: how to include .sql files |
|
|
phimalaya wrote:
| Quote: | i already did that. but anyway still your suggestion will add that folder
and/file under "web-inf/classes" folder, which i do not want.
|
If the files are going to be placed outside the WEB-INF directory, they're
going to be accessible to everyone. If that's what you want, just put
them in the folder for the web application along with the JSP's and they
should be picked up.
--
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 |
|
 |
phimalaya Guest
|
Posted: Fri Jul 14, 2006 8:28 pm Post subject: Re: how to include .sql files |
|
|
kevin thanks for response. however, i have already copied (thru windows
explorer) the folder but is not picked up. what am i missing here?
"Kevin Dean [TeamB]" <NkOdSePaAnM (AT) datadevelopment (DOT) com> wrote in message
news:xn0eook6bmqfec000-kdean (AT) www (DOT) teamb.com...
| Quote: | phimalaya wrote:
i already did that. but anyway still your suggestion will add that folder
and/file under "web-inf/classes" folder, which i do not want.
If the files are going to be placed outside the WEB-INF directory, they're
going to be accessible to everyone. If that's what you want, just put
them in the folder for the web application along with the JSP's and they
should be picked up.
--
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 |
|
 |
Kevin Dean [TeamB] Guest
|
Posted: Sat Jul 15, 2006 12:20 am Post subject: Re: how to include .sql files |
|
|
phimalaya wrote:
| Quote: | kevin thanks for response. however, i have already copied (thru windows
explorer) the folder but is not picked up. what am i missing here?
|
I'm not sure, and I'm leaving for a week's vacation in about half an hour.
I'll have to leave this one for others to pick up.
--
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 |
|
 |
Paul Furbacher [TeamB] Guest
|
Posted: Sat Jul 15, 2006 8:12 am Post subject: Re: how to include .sql files |
|
|
Kevin Dean [TeamB] wrote:
| Quote: | phimalaya wrote:
kevin thanks for response. however, i have already copied (thru
windows explorer) the folder but is not picked up. what am i missing
here?
I'm not sure, and I'm leaving for a week's vacation in about half an
hour. I'll have to leave this one for others to pick up.
|
I'll try to help out.
Did you ever say *where* exactly you want these .sql files
to be located in your Web app's folder hierarchy? If they
are to be located anywhere but WEB-INF/classes or
WEB-INF/lib, you'll just have to put them manually where
you want them to be.
What is reading these files, if anything? Why do you
want them to be somewhere in your Web app's folders?
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://info.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: Sat Jul 15, 2006 8:12 am Post subject: Re: how to include .sql files |
|
|
I forgot to add that when I put a bogus.sql file in
the Web app's folder (i.e., the folder which contains
index.html and WEB-INF), and I select the radio button
"Include all classes and resources"
in the Web Module Properties > Content page,
I get a WAR file which contains the bogus.sql
file in the right place when I rebuild the
Web Module node.
Likewise, if I put a "bogus2.sql" file in the
WEB-INF/ folder and rebuild the Web Module
node, I see it in the WAR.
Paul Furbacher [TeamB] wrote:
| Quote: | I'll try to help out.
Did you ever say *where* exactly you want these .sql files
to be located in your Web app's folder hierarchy? If they
are to be located anywhere but WEB-INF/classes or
WEB-INF/lib, you'll just have to put them manually where
you want them to be.
What is reading these files, if anything? Why do you
want them to be somewhere in your Web app's folders?
|
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://info.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 |
|
 |
phimalaya Guest
|
Posted: Tue Jul 18, 2006 6:57 pm Post subject: Re: how to include .sql files |
|
|
thanks i got an answer.
"Paul Furbacher [TeamB]" <pfurbacher (AT) mac (DOT) com> wrote in message
news:44b86a3d$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I forgot to add that when I put a bogus.sql file in
the Web app's folder (i.e., the folder which contains
index.html and WEB-INF), and I select the radio button
"Include all classes and resources"
in the Web Module Properties > Content page,
I get a WAR file which contains the bogus.sql
file in the right place when I rebuild the
Web Module node.
Likewise, if I put a "bogus2.sql" file in the
WEB-INF/ folder and rebuild the Web Module
node, I see it in the WAR.
Paul Furbacher [TeamB] wrote:
I'll try to help out.
Did you ever say *where* exactly you want these .sql files
to be located in your Web app's folder hierarchy? If they
are to be located anywhere but WEB-INF/classes or
WEB-INF/lib, you'll just have to put them manually where
you want them to be.
What is reading these files, if anything? Why do you
want them to be somewhere in your Web app's folders?
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://info.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: Wed Jul 19, 2006 8:12 am Post subject: Re: how to include .sql files |
|
|
phimalaya wrote:
| Quote: | thanks i got an answer.
|
It would be very helpful if you would share your
answer. It's meant to be a two-way street here.
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://info.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 |
|
 |
phimalaya Guest
|
Posted: Fri Jul 21, 2006 12:04 am Post subject: Re: how to include .sql files |
|
|
paul, i meant your last answer was meaningful to me. based on that i decided
not to include these files.
"Paul Furbacher [TeamB]" <pfurbacher (AT) mac (DOT) com> wrote in message
news:44bda817$1 (AT) newsgroups (DOT) borland.com...
|
|
| Back to top |
|
 |
Paul Furbacher [TeamB] Guest
|
Posted: Fri Jul 21, 2006 8:12 am Post subject: Re: how to include .sql files |
|
|
phimalaya wrote:
| Quote: | paul, i meant your last answer was meaningful to me. based on that i decided
not to include these files.
|
Ah, okay. Thanks for clarifying that.
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://info.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
|
|