Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Are projects in released map files supposed to build in the PDE?

All,

I was going to open a bug report on this, but wanted to ensure that what I'm attempting is a supported use of the WTP codebase.

What I'm seeing with each new RC build of WTP is the inability for that build to compile cleanly in the PDE. This was the case with the earliest build I tested (M6) and is still true with RC3,when imported from the map file. Here are the steps I've taken; please let me know if what I'm doing is not supported.

1) Start with an empty workspace
2) Import all the WTP prerequisite projects (EMF/GEF/XSD/JEM, etc) as binary plugin projects 3) Create a simple Project and copy the latest build's map file (http://download.eclipse.org/webtools/downloads/drops/S-1.5RC3-200605182217/directory.txt) into it.
4) Use the Eclipse releng tools to load the projects in the map file.
5) Allow the worspace to build.

With RC3, there were 100 errors reported at the end of this process. The majority of the errors are caused by plugins that don't specify an explicit dependency on org.apache.xerces or one of the facet plugins. I was able to manually correct the issues just by fixing the dependencies in several projects and have attached a patch file that shows all the changes.

So, is my usage pattern for the WTP source supported? If so, does anyone know why I'm seeing these errors and I assume others are not? For example, am I the only one building all of WTP in the PDE instead of externally?

Thanks in advance,
Todd
### Eclipse Workspace Patch 1.0
#P org.eclipse.jst.jsp.core
#P org.eclipse.wst.html.ui
#P org.eclipse.wst.html.core
Index: META-INF/MANIFEST.MF
===================================================================
RCS file: /cvsroot/webtools/wst/components/html/plugins/org.eclipse.wst.html.core/META-INF/MANIFEST.MF,v
retrieving revision 1.13
diff -u -r1.13 MANIFEST.MF
--- META-INF/MANIFEST.MF	10 May 2006 07:19:35 -0000	1.13
+++ META-INF/MANIFEST.MF	22 May 2006 14:31:12 -0000
@@ -33,5 +33,6 @@
 org.eclipse.wst.common.uriresolver,
 org.eclipse.core.resources,
 org.eclipse.core.runtime,
- com.ibm.icu
+ com.ibm.icu,
+ org.apache.xerces
Eclipse-LazyStart: true; exceptions="org.eclipse.wst.html.core.internal.contenttype"
#P org.eclipse.wst.xml.ui
Index: META-INF/MANIFEST.MF
===================================================================
RCS file: /cvsroot/webtools/wst/components/xml/plugins/org.eclipse.wst.xml.ui/META-INF/MANIFEST.MF,v
retrieving revision 1.17
diff -u -r1.17 MANIFEST.MF
--- META-INF/MANIFEST.MF	29 Mar 2006 10:02:35 -0000	1.17
+++ META-INF/MANIFEST.MF	22 May 2006 14:31:16 -0000
@@ -56,5 +56,6 @@
 org.eclipse.wst.xml.core,
 org.eclipse.wst.common.ui,
 org.eclipse.wst.validation,
- com.ibm.icu
+ com.ibm.icu,
+ org.apache.xerces
Eclipse-LazyStart: true
#P org.eclipse.jst.jsp.ui
Index: META-INF/MANIFEST.MF
===================================================================
RCS file: /cvsroot/webtools/jst/components/jsp/plugins/org.eclipse.jst.jsp.ui/META-INF/MANIFEST.MF,v
retrieving revision 1.13
diff -u -r1.13 MANIFEST.MF
--- META-INF/MANIFEST.MF	10 May 2006 07:19:03 -0000	1.13
+++ META-INF/MANIFEST.MF	22 May 2006 14:31:20 -0000
@@ -58,5 +58,6 @@
 org.eclipse.ui.ide,
 org.eclipse.wst.javascript.ui,
 org.eclipse.ui.views,
- com.ibm.icu
+ com.ibm.icu,
+ org.apache.xerces
Eclipse-LazyStart: true
#P org.eclipse.jst.server.websphere.core
Index: META-INF/MANIFEST.MF
===================================================================
RCS file: /cvsroot/webtools/jst/components/server/plugins/org.eclipse.jst.server.websphere.core/META-INF/MANIFEST.MF,v
retrieving revision 1.8
diff -u -r1.8 MANIFEST.MF
--- META-INF/MANIFEST.MF	16 May 2006 21:31:36 -0000	1.8
+++ META-INF/MANIFEST.MF	22 May 2006 14:31:26 -0000
@@ -23,6 +23,9 @@
 org.eclipse.emf.ecore.xmi,
 org.eclipse.wst.common.modulecore,
 org.eclipse.core.runtime,
- org.eclipse.core.resources
+ org.eclipse.core.resources,
+ org.eclipse.jst.common.project.facet.core,
+ org.eclipse.wst.common.project.facet.core,
+ org.eclipse.wst.common.project.facet.ui
Eclipse-AutoStart: true
Export-Package: org.eclipse.jst.server.websphere.core
#P org.eclipse.jst.common.annotations.ui
Index: .settings/org.eclipse.pde.prefs
===================================================================
RCS file: .settings/org.eclipse.pde.prefs
diff -N .settings/org.eclipse.pde.prefs
--- .settings/org.eclipse.pde.prefs	17 Apr 2006 07:11:19 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-#Sun Apr 16 17:14:52 EDT 2006
-compilers.p.build=0
-compilers.p.deprecated=0
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=0
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=0
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
#P org.eclipse.wst.css.ui
Index: META-INF/MANIFEST.MF
===================================================================
RCS file: /cvsroot/webtools/wst/components/css/plugins/org.eclipse.wst.css.ui/META-INF/MANIFEST.MF,v
retrieving revision 1.11
diff -u -r1.11 MANIFEST.MF
--- META-INF/MANIFEST.MF	10 May 2006 07:16:51 -0000	1.11
+++ META-INF/MANIFEST.MF	22 May 2006 14:31:30 -0000
@@ -43,5 +43,6 @@
 org.eclipse.core.resources,
 org.eclipse.core.runtime,
 org.eclipse.ui.ide,
- com.ibm.icu
+ com.ibm.icu,
+ org.apache.xerces
Eclipse-LazyStart: true
#P org.eclipse.jst.server.tomcat.ui
Index: META-INF/MANIFEST.MF
===================================================================
RCS file: /cvsroot/webtools/jst/components/server/plugins/org.eclipse.jst.server.tomcat.ui/META-INF/MANIFEST.MF,v
retrieving revision 1.13
diff -u -r1.13 MANIFEST.MF
--- META-INF/MANIFEST.MF	16 May 2006 21:29:07 -0000	1.13
+++ META-INF/MANIFEST.MF	22 May 2006 14:31:34 -0000
@@ -21,5 +21,6 @@
 org.eclipse.wst.server.ui,
 org.eclipse.jst.server.core,
 org.eclipse.jst.server.ui,
- org.eclipse.jst.server.tomcat.core
+ org.eclipse.jst.server.tomcat.core,
+ org.eclipse.wst.common.project.facet.ui
Eclipse-LazyStart: true
#P org.eclipse.jst.server.tomcat.core
Index: META-INF/MANIFEST.MF
===================================================================
RCS file: /cvsroot/webtools/jst/components/server/plugins/org.eclipse.jst.server.tomcat.core/META-INF/MANIFEST.MF,v
retrieving revision 1.11
diff -u -r1.11 MANIFEST.MF
--- META-INF/MANIFEST.MF	16 May 2006 21:28:03 -0000	1.11
+++ META-INF/MANIFEST.MF	22 May 2006 14:31:38 -0000
@@ -18,5 +18,6 @@
 org.eclipse.jdt.core,
 org.eclipse.jdt.launching,
 org.eclipse.wst.server.core,
- org.eclipse.jst.server.core
+ org.eclipse.jst.server.core,
+ org.eclipse.jst.common.project.facet.core
Eclipse-LazyStart: true

Back to the top