[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[Wtp-wst-dev] Xerces & EMF
|
Our experience (Lomboz) with xerces as a plugin has been very negative. We
often run into conflicts with other plugins and JDK1.4, and it created
headaches for ordinary users. Our fix (not a solution) was to clean the
code not use xerces, this meant we had to give up a few things for the sake
of manageability.
-EMF and -Djava.endorsed.dirs is also a clumsy fix too.
If the setup is not managed by an "Installer", these will create problems.
I don't think there is a simple solution as longs as eclipse based
installations remain "unzip" and jdk/xerces conflict remains.
At 12:14 AM 11/3/2004, Dave Carlson wrote:
If a someone is using WTP in combination with EMF development, we also must
have a compatible solution. On the EMF download page
(http://download.eclipse.org/tools/emf/scripts/downloads.php) follow the
link to "Click here if you load or import model(s) from XML Schema."
On that page, they tell you to use the -Djava.endorsed.dirs system parameter
to make Xerces the default JVM parser. I have my environment set up this
way so that Xerces is the built-in parser while running Eclipse. If I also
have a plugin containing Xerces, I had a problem in one instance with
conflicting class loaders both containing Xerces.
On this EMF download page, they also have a link to download
org.apache.xerces_2.6.2. Don't know if this is packaged as a plugin or just
a ZIP containing the Xerces libraries.
Requiring users to launch Eclipse with the -D vmargs option is very
confusing. Check with Ed Merks for his experiences with the EMF/XSD users.
Cheers,
Dave Carlson
> -----Original Message-----
> From: wtp-wst-dev-admin@xxxxxxxxxxx
> [mailto:wtp-wst-dev-admin@xxxxxxxxxxx] On Behalf Of Jim des Rivieres
> Sent: Tuesday, November 02, 2004 1:29 PM
> To: wtp-jst-dev@xxxxxxxxxxx; wtp-wst-dev@xxxxxxxxxxx
> Subject: [Wtp-wst-dev] Re: [wtp-jst-dev] Is there a need for
> a common Xerces plugin?
>
>
> Lawrence,
>
> In Eclipse 3.0, we had to remove the org.apache.xerces from
> the Eclipse
> Platform because of conflicts between the code in the Xerces
> JAR and the
> built-in XML support from some J2SE 1.4 vendors. Whatever is
> done here
> should be done in light of these experiences, to make sure we have a
> workable story on all operating environments. For details on
> the conflict,
> see:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=37696
>
> http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.eclips
> e.platform.doc.isv/porting/incompatibilities.html#Removal%20of
> %20Xerces%20plug-in
>
> ---jim
>
_______________________________________________
wtp-wst-dev mailing list
wtp-wst-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/wtp-wst-dev
Naci Dai,
Managing Director
eteration a.s.
Inonu cad. Sumer sok. Zitas D1-15
Kozyatagi, Istanbul 81090
+90 (532) 573 7783 (cell)
+90 (216) 361 5434 (phone)
+90 (216) 361 2034 (fax)
http://www.eteration.com
mailto:nacidai@xxxxxxx
mailto:naci@xxxxxxxxxxxxx