Community
Participate
Working Groups
Our (rather large) team uses both WTP 1.0 and WTP 1.5 to work on the code that is shared through CVS. Recent changes to "Web App Libraries" classpath container broke compatibility between the two WTP versions and projects created in WTP 1.0 do not compile in WTP 1.5 any more. More specifically, In WTP 1.0 dependent projects were *not* included into "Web App Libraries" classpath container, instead they were added as java project dependencies to .classpath. In WTP 1.5 "Web App Libraries" classpath container now includes dependent projects too, which results in duplicated entries if WTP 1.5 is used on a project created in WTP 1.5. I see two related issues. First, as discussed on dev least few weeks ago, it is important to support such mixture of WTP versions as it is unrealistic to expect large teams to move from one version to another without transition period during wich the two versions will have to coexist. Second, when the time is right, WTP 1.5 should know how to properly migrate projects from the old version. PS: I do beleive that dependent projects should be added to "Web App Libraries" classpath container, not as separate java project dependencies.
Chuck, is this related to the work you and Jason were doing?
Hi Jason, We really need to look at this as we have stated backward compatibility with 1.0 workspaces..... I know this is painful, but we may need to go to a model of the containers only contributing the dependent component classpath if it already doesn't exist.
*** Bug 139241 has been marked as a duplicate of this bug. ***
As pointed out in defect https://bugs.eclipse.org/bugs/show_bug.cgi?id=139241, while checking for existing entries it should also be checked if the particular entry exists in any one of the existing containers.
It looks like Igor describing two separate issues here: -- Compatibility between WTP 1.0 and 1.5 (somebody would have to look at the migration path) -- Duplicated entries in a build path, which was previously reported in Bug 139241 (from a slightlly different angle though)
This patch is also included in the latest patch for bug 144023 as these two bugs slightly overlap.
Created attachment 43496 [details] patch for FlexibleProjectContainer
duplicating against 144023 because the patch for that bug also contains this patch. *** This bug has been marked as a duplicate of 144023 ***
+1 1.5
What about migration part of the original report? Few words in "New and Noteworthy" should be enough.
Somehow related bug 154251
closing.