Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Web App Deployment
Web App Deployment [message #199289] Fri, 31 August 2007 16:22 Go to next message
Eclipse UserFriend
Originally posted by: gmrenak.topdownsoftware.com

Eclipse 3.2.1

How does eclipse determine what to include in a WAR file when it's
deployed? I think I learned the hard way that simply placing a related
project on the Web-app's build path doesn't do it.

Gary
Re: Web App Deployment [message #199321 is a reply to message #199289] Mon, 03 September 2007 01:25 Go to previous messageGo to next message
Zhaoming Lin is currently offline Zhaoming LinFriend
Messages: 2
Registered: July 2009
Junior Member
Hi Gary,
I think the content of exported war file is determined by the component
file.
..settings/org.eclipse.wst.common.component.
You can change the source and deploy path in the web-resource xml element.

"Gary Mrenak" <gmrenak@topdownsoftware.com> wrote in message
news:fb9fjk$h11$2@build.eclipse.org...
> Eclipse 3.2.1
>
> How does eclipse determine what to include in a WAR file when it's
> deployed? I think I learned the hard way that simply placing a related
> project on the Web-app's build path doesn't do it.
>
> Gary
Re: Web App Deployment [message #199329 is a reply to message #199321] Mon, 03 September 2007 12:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gmrenak.topdownsoftware.com

zhaoming lin wrote:
> Hi Gary,
> I think the content of exported war file is determined by the component
> file.
> .settings/org.eclipse.wst.common.component.
> You can change the source and deploy path in the web-resource xml element.
>
> "Gary Mrenak" <gmrenak@topdownsoftware.com> wrote in message
> news:fb9fjk$h11$2@build.eclipse.org...
>> Eclipse 3.2.1
>>
>> How does eclipse determine what to include in a WAR file when it's
>> deployed? I think I learned the hard way that simply placing a related
>> project on the Web-app's build path doesn't do it.
>>
>> Gary
>
>
Thanks very much ... I had no idea those ".settings" files were there.
Now it will be much simpler to experiment and see what particular
Eclipse actions cause WAR file inclusions.

Gary
Re: Web App Deployment [message #199359 is a reply to message #199329] Tue, 04 September 2007 14:05 Go to previous message
Rob Frost is currently offline Rob FrostFriend
Messages: 64
Registered: July 2009
Member
It is not just the component file: project classpath entries can also be
bundled into the WAR (in WEB-INF/lib) if those entries have the appropriate
WTP attribute.

Management of WEB-INF/lib dependencies (whether persisted in the component
file or via a classpath entry attribute) is done via the J2EE Module
Dependencies UI.

-Rob

"Gary Mrenak" <gmrenak@topdownsoftware.com> wrote in message
news:fbgv3k$97v$1@build.eclipse.org...
> zhaoming lin wrote:
>> Hi Gary,
>> I think the content of exported war file is determined by the component
>> file.
>> .settings/org.eclipse.wst.common.component.
>> You can change the source and deploy path in the web-resource xml
>> element.
>>
>> "Gary Mrenak" <gmrenak@topdownsoftware.com> wrote in message
>> news:fb9fjk$h11$2@build.eclipse.org...
>>> Eclipse 3.2.1
>>>
>>> How does eclipse determine what to include in a WAR file when it's
>>> deployed? I think I learned the hard way that simply placing a related
>>> project on the Web-app's build path doesn't do it.
>>>
>>> Gary
>>
>>
> Thanks very much ... I had no idea those ".settings" files were there. Now
> it will be much simpler to experiment and see what particular Eclipse
> actions cause WAR file inclusions.
>
> Gary
Previous Topic:Deleting files in "project explorer" doesn't remove them from that view
Next Topic:New JSDT Feature Demos Available
Goto Forum:
  


Current Time: Sat Apr 20 04:31:39 GMT 2024

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

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

Back to the top