Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to NOT include a file in war distribution
How to NOT include a file in war distribution [message #173657] Sun, 09 July 2006 00:05 Go to next message
Eclipse UserFriend
Originally posted by: fsa3.optonline.net

Hi, I have a file in my eclipse web project that has system specific
settings that I do not want to have included in my war (that I publish to
my production system) but do need on my development environment. What is
the easiest/best way to do this?

Thanks,
Frank
Re: How to NOT include a file in war distribution [message #175474 is a reply to message #173657] Wed, 26 July 2006 11:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ptctt.163.com

Generate the war regularly and remove that file from war.

"Frank A." <fsa3@optonline.net> wrote in message
news:2fd3f4ae797dc421bf0d409c33d4fe17$1@www.eclipse.org...
> Hi, I have a file in my eclipse web project that has system specific
> settings that I do not want to have included in my war (that I publish to
> my production system) but do need on my development environment. What is
> the easiest/best way to do this?
>
> Thanks,
> Frank
>
>
Re: How to NOT include a file in war distribution [message #175615 is a reply to message #175474] Thu, 27 July 2006 18:08 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2341
Registered: July 2009
Senior Member
Tylor Peng wrote:
> Generate the war regularly and remove that file from war.

Well, that's a terrible solution. Frank, can you open a feature
request?

--
- Nitin


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: How to NOT include a file in war distribution [message #175631 is a reply to message #175615] Thu, 27 July 2006 20:01 Go to previous message
Neeraj Agrawal is currently offline Neeraj AgrawalFriend
Messages: 22
Registered: July 2009
Junior Member
You can put the file in a folder, and the folder should not be mapped to
be deployed, i.e. it is not in the
settings/org.eclipse.wst.common.component file of the Web project
Previous Topic:Another problem with starting JSPs in 3.2
Next Topic:Creating Enterprise Application Project
Goto Forum:
  


Current Time: Thu Dec 18 08:36:14 GMT 2014

Powered by FUDForum. Page generated in 0.19466 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software