Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349988 - Delete an Html under WebContent directory triggered unchanged servlets to be built
Summary: Delete an Html under WebContent directory triggered unchanged servlets to be ...
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.html (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.html CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-21 16:01 EDT by Christine CLA
Modified: 2011-06-21 16:13 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christine CLA 2011-06-21 16:01:11 EDT
Build Identifier: 

Using Helios with WTP support. Deleted an html file (the only html under the WebContent folder) created by using new web page wizard. It triggers a build. Unchanged servlet files are rebuilt too which should not be.

Reproducible: Always

Steps to Reproduce:
1.Create a Dynamic Web Project
2.Add a new Servlet class to this project
3.Select WebContent -> right click mouse and select New -> Web Page
4.In the new web page wizard, type in a name, then select HTML/XHTML under Basic Templates
5.Delete the html created in step 4
6.Notice that the servlet created in step 2 is recompiled
Comment 1 Christine CLA 2011-06-21 16:08:09 EDT
Observed that when creating an html using web page wizard, org.eclipse.core.resources.prefs is added to project .settings folder. It explicitly sets the encoding for this html. E.g.

eclipse.preferences.version=1
encoding//WebContent/aaa.html=ISO-8859-1

When delete the only html file, this .prefs file is deleted as well. Validate Links, build workspaces are triggered.
Comment 2 Nitin Dahyabhai CLA 2011-06-21 16:12:19 EDT
The Web Page wizard and Link validation features you mention do not come from Eclipse, but instead are part of the IBM product you're using.