« Return to Thread: Incompatible Xalan

Re: Incompatible Xalan

by Emilian Bold-2 :: Rate this Message:

Reply to Author | View in Thread

I don't know anything about this error, but just to make it clear:
xalan is a library wrapper you use ? Or something you add the the boot
classpath of the platform ?

Also, most likely the netbeans.do.not.check.xalan must be set in the
etc/netbeans.conf with -J-Dnetbeans.do.not.check.xalan=true . There's
also an property you can use for the site but I forgot it; the problem
is that afaik, it doesn't propagage to the conf file.

PS: After reading the FAQ in the wiki it's quite clear that you have
an altered JRE. Could you try using a library wrapper instead and
leave the JRE clean ?

--emi



On Sat, Sep 13, 2008 at 12:22 AM, Mike Bailey <jmbailey@...> wrote:

> NB 6.1: I seem to be experiencing an old problem that has never been
> adequately resolved: I need xalan.jar in my RCP application because some of
> my code has been explicitly written to it. But when it's there, a zipped
> distribution of my application won't launch on a Mac because:
>
> "An incompatible Xalan version has been detected on the IDE's classpath. The
> IDE cannot start. Please see http://wiki.netbeans.org/wiki/view/FaqXalanOnCP
> for more information."
>
> That page, and others which are somewhat related, does not adequately
> describe the root of the problem nor a sensible way to address it.
> Apparently:
> 1. Apache's xalan has some bug in it (according to NB folks) which screws up
> the project system in the platform.
> 2. Instead of working around it, it was decided to simply throw up the above
> message then terminate.
> 3. In the 1-2 years since this was discovered, no fix has been forthcoming
> from the Apache team.
>
> Point #3 is hard to believe, but c'est la vie.
>
> The reference wiki page must have been written before there was such a thing
> as a Netbeans Platform application, because the work around (using two
> versions of the JRE) is a non-starter for customers as opposed to
> developers.
>
> In searching this list and other places, there seems to be a property value
> (netbeans.do.not.check.xalan) which might assist in this confusion, but
> where and how to set it among the several modules that make up my
> application is unclear, and several attempts have proven unsuccessful.
>
> I'd appreciate hearing from anyone who has successfully mastered this
> roadblock.
>
> Mike Bailey
> jmbailey@...
> ________________________________
> View this message in context: Incompatible Xalan
> Sent from the Netbeans - Open API mailing list archive at Nabble.com.
>



--
Emilian Bold
+40 740235562
http://www.emilianbold.ro

Java and NetBeans Platform-loving consulting services from Timisoara, Romania.

 « Return to Thread: Incompatible Xalan