Thank you very much for the quick answer.
Everything was almost done.
The problem is that the path for saxon is not relative.
Therefore if you work in a different directory than C:\projects\webwork you
get the failure.

The only way I have found to make it location independant is to use the
include project classpath option.

I modified the .ipr file to have three entries in the additionalClassPath
section of the buildFile section.
See the following excerpt of the new project file.

    <buildFile url="file://$PROJECT_DIR$/src/build/build.xml">

      ...

      <additionalClassPath>
        <entry path="$PROJECT_DIR$\lib\crimson.jar" />
        <entry path="$PROJECT_DIR$\lib\jaxp.jar" />
        <entry path="$PROJECT_DIR$\src\lib\saxon.jar" />
      </additionalClassPath>

      ...

    </buildFile>

This works but the next time you use IntelliJ, $PROJECT_DIR$ gets converted
to an absolute path value.

Cheers,
___________________________
François Beauregard, b.ing.
Vice-président
Recherche et développement
Pyxis Technologies
www.pyxis-tech.com

T : (450) 681-9094, poste 102
F : (450) 681-5758
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott
Farquhar
Sent: April 10, 2002 10:35 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: [Webwork-user] Re: [Webwork-devel] IntelliJ


AFAIK you can do this by right clicking in your "Ant Build" window, and
choose "build properties".  From there you can add properties to the
build file.

Cheers,
Scott

François Beauregard wrote:
> Yesterday I decided to give a first try at IntelliJ.
>
> Since WebWork has an already defined project for IntelliJ, I decided to
> start with this.
>
>
>
> When I invoke the dist target from within the IDE the style task fails
> cause it tries to work with xalan instead of saxon.
>
>  From build.bat, this is done using :
> -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryI
mpl
>
>
>
> How do we fix this in IntelliJ?
>
>
>
> Cheers,
> ___________________________
> *François Beauregard, b.ing.*
> Vice-président
> Recherche et développement
> *Pyxis* *Technologies*
> www.pyxis-tech.com <http://www.pyxis-tech.com/>
>
> T : (450) 681-9094, poste 102
> F : (450) 681-5758
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
>


--
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
      Supporting YOUR J2EE World



_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user


_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to