RE: [Webwork-user] Re: [Webwork-devel] IntelliJ
Brought to you by:
baldree,
rickardoberg
From: <fbe...@py...> - 2002-04-10 16:49:18
|
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 fbe...@py... -----Original Message----- From: web...@li... [mailto:web...@li...]On Behalf Of Scott Farquhar Sent: April 10, 2002 10:35 AM To: fbe...@py... Cc: web...@li...; web...@li... 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 > fbe...@py... <mailto:fbe...@py...> > > > -- Scott Farquhar :: sc...@at... Atlassian :: http://www.atlassian.com Supporting YOUR J2EE World _______________________________________________ Webwork-user mailing list Web...@li... https://lists.sourceforge.net/lists/listinfo/webwork-user |