Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 290543 - [hotbug] Backport the fix for bugilla#282936 to wtp 3.0.5
Summary: [hotbug] Backport the fix for bugilla#282936 to wtp 3.0.5
Status: CLOSED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: JSF Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.0.5 P   Edit
Assignee: Gerry Kessler CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-25 09:46 EDT by Xiaonan Jiang CLA
Modified: 2010-05-04 09:43 EDT (History)
2 users (show)

See Also:


Attachments
fix (32.85 KB, patch)
2009-09-25 11:34 EDT, Xiaonan Jiang CLA
no flags Details | Diff
fix (32.85 KB, patch)
2009-09-25 14:39 EDT, Xiaonan Jiang CLA
no flags Details | Diff
fix (31.95 KB, patch)
2009-09-25 16:08 EDT, Xiaonan Jiang CLA
no flags Details | Diff
patch for tests (953 bytes, patch)
2009-10-02 14:36 EDT, Gerry Kessler CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaonan Jiang CLA 2009-09-25 09:46:29 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.21 Safari/532.0
Build Identifier: wtp 3.0.5

Backport the fix for bugzilla#282936 to wtp 3.0.5

Reproducible: Always

Steps to Reproduce:
Since the fix for bugzilla#282936 greatly improved the performance of loading metadata, we expect the fix can also be in wtp 3.0.5 so that the products adopting wtp 3.0 can also benefit.
Comment 1 Xiaonan Jiang CLA 2009-09-25 11:34:39 EDT
Created attachment 148131 [details]
fix

Based on the patch in bugzilla#282936.
Comment 2 David Williams CLA 2009-09-25 13:19:07 EDT
Is the fix to the test required? Or just happened to be included here? 

I ask since we do not normally fix tests in patch streams. 

So, perhaps you could at least split up the patch into the code portion, and the test portion (if the test portion is important here). 

thanks,
Comment 3 David Williams CLA 2009-09-25 14:21:53 EDT
Comment on attachment 148131 [details]
fix

changing to "patch" attachment
Comment 4 Xiaonan Jiang CLA 2009-09-25 14:37:58 EDT
(In reply to comment #2)
> Is the fix to the test required? Or just happened to be included here? 
> 
> I ask since we do not normally fix tests in patch streams. 
> 
> So, perhaps you could at least split up the patch into the code portion, and
> the test portion (if the test portion is important here). 
> 
> thanks,

No, it is not required. It is there because the original patch in bugzilla#282936 has this change.
Comment 5 Xiaonan Jiang CLA 2009-09-25 14:39:24 EDT
Created attachment 148159 [details]
fix

forgot to select the "patch" checkbox.
Comment 6 David Williams CLA 2009-09-25 14:46:03 EDT
(In reply to comment #4)
> (In reply to comment #2)

> 
> No, it is not required. It is there because the original patch in
> bugzilla#282936 has this change.

Ok, thanks. Please re-attach new patch without the test bundle change. I just want to be sure it is very clear what needs to be done ... both for now, and 6 months in the future :)
Comment 7 Xiaonan Jiang CLA 2009-09-25 16:08:36 EDT
Created attachment 148166 [details]
fix

removed the test.
Comment 8 David Williams CLA 2009-09-28 15:05:15 EDT
Requesting high priority for 3.0.5 patch, for some IBM adopters. 

I'll provide more exact instructions shortly.
Comment 9 David Williams CLA 2009-09-28 16:08:29 EDT
We've used a "test patch" to confirm this fix works as expected. 


General procedure for creating patch feature.

To create patches, our latest general documentation is at 
http://wiki.eclipse.org/WTP/Build/WTP_Patches_for_Release_2.0.2 
and may be "dated" in some of the specifics, but the concepts are
the same. But here's the specifics for these 4 JSF bugs requested
for 3.0.5 patches: 

The patches involve 2 bundles, and the starting point is 
of course what was released in WTP 3.0.5, which can 
be found by looking in the map files for that release. 

First, load these bundles with these tag names into workspace: 

org.eclipse.jst.jsf.common  v20090128
org.eclipse.jst.jsf.core    v20090508

From those, use "Team, Branch ..." to create a branch named 
R3_0_5_patches

Apply the patches, and commit (to that branch) with appropriate 
cvs comments to reflect the bugs fixed. 

Once all have been committed, then use "Team, Tag as Version ..."
to tag those revisions with something like the usual tag name, 
such as v200909281200

Then let us know what tagged you used (for each bundle, if not 
exactly the same). 

Carl or I will do the rest. The feature these bundles were in 
was org.eclipse.jst.web_core.feature so they will go into 
a patch feature named org.eclipse.jst.web_core.feature.patch, 
which already exists in the R3_0_5_patches stream. 

Similarly, Carl or I can "manually" update the map files in 
releng.jsf which have already been branched to R3_0_5_patches. 
And, finally, we will do the actual build and make it available
in the usual place: http://download.eclipse.org/webtools/patches/


Be sure to merge or re-apply the fixes to 3.1.2 and Helios steams.
Comment 10 Raghunathan Srinivasan CLA 2009-09-30 19:48:54 EDT
Backport the fix for bug 282936
Comment 11 Gerry Kessler CLA 2009-10-02 14:36:56 EDT
Created attachment 148677 [details]
patch for tests

I have diffed and verified that the attached fix patch contains all the fixes in the Galileo original.  The only differences being with some $NON-NLS-N$ comments, and the removal of patch to the tests. 

I have also run all of the JUnits and performed some manual testing to ensure that this patch is good.   I have added back the patch for the tests in a separate file since it is necessary to allow the JUnits to succeed, and was not an enhancement.   

All is good.   Raghu, please apply both patches to the 3.0.5 branch.
Comment 12 Raghunathan Srinivasan CLA 2009-10-05 01:27:17 EDT
Tagged as v200910042227
Comment 13 Xiaonan Jiang CLA 2010-05-04 09:43:26 EDT
fixed