[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: XBootClasspath

I believe the JDK1.4 endorsed standards override mechanism can help you
here: http://java.sun.com/j2se/1.4/docs/guide/standards/index.html

When you startup Eclipse define the java.endorsed.dirs system property to
include dir paths of the overriding jars or classes using the
eclipse -vmargs commandline option, e.g.,

c:>\eclipse\eclipse.exe -vmargs -Djava.endorsed.dirs=C:\javalibs\xml-apis.ja
r;C:\javalibs\xercesImpl.jar;C:\javalibs\xalan.jar;

I have used this approach successfully with Eclipse launch configurations,
other Java environments, and it should work here for the Eclipse application
and all plugins.

Good luck.

Wayne Parrott
Genuitec


"Colin Savage" <sav912@xxxxxxxxxxx> wrote in message
news:atvamk$tl8$1@xxxxxxxxxxxxxxxx
> The plugin I am developing depends on some features from Xalan 2.4.1, but
> with java 1.4.x there is an older version of xalan included already.
>
> I can launch the runtime workbench using the following VM args to override
> it and all is well.
>
> -Xbootclasspath:C:\javalibs\xml-apis.jar;C:\javalibs\xercesImpl.jar;C:\jav
alibs\xalan.jar;C:\j2sdk1.4.1_01\jre\lib\rt.jar
>
> Is there a way to make this happen "automagically" when the plugin is
> installed, or is there a command-line for starting eclipse that can be
> used?
>
> Any help would be appreciated.
> Thanks
> Colin
>