|
|
Re: SAXON in Eclipse [message #327890 is a reply to message #327885] |
Wed, 07 May 2008 13:45 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Gaff wrote:
> Hi all,
>
> I'm trying to get a transform working from an RCP application. Works
> fine for simple transform but I need to use SAXON 2.0 processor.
>
> I'm guessing what I need to do is get some kind of SAXON plugin?
>
> I'm not sure exactly what I need. I've seen a couple of Commerical
> pugins but I need something free.
>
> Can someone recommend what I should use.
I would just include the SAXON JAR in the project (in a lib/ directory
and included on the project's classpath) and then you can call it's code
directly. When your app is built/exported, the JAR will be included - no
extra plugin necessary.
Hope this helps,
Eric
|
|
|
|
Re: SAXON in Eclipse [message #327920 is a reply to message #327908] |
Thu, 08 May 2008 13:01 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Gaff wrote:
> Hi Eric,
>
> I right-clicked on my project and used Build path to add external
> libraries. I can now import saxon API's.
>
> However I'm not sure I've done this correctly as my code does not execute.
>
> I'm using net.sf.saxon.TransformerFactoryImpl, when I try to execute
> code with this it stops at this line and does not go any further.
I'm not sure what that means. Does it throw an exception?
Adding a library to the project's build path is only half the work - you
also need to include the same library(ies) on the runtime classpath; you
need to make sure it is specified in the Launch Configuration that you
use to run your application.
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.03999 seconds