If I do this I receive the following message:
BUILD FAILED
File...... c:\myProject\component\maven.xml
Element... x:parse
Line...... 62
Column.... 110
c Nested exception: c
Please note that I'm using windows.
The statement in maven.xml is now:
<x:parse var="myFile" xml="file://${basedir}/../mydir/myFile.xml"/>
and the path resolved looks similar too:
file://c:\myProject\component/../mydir/myFile.xml
Cheers
Silvio
-----Original Message-----
From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 1. September 2005 16:00
To: Maven Users List
Subject: Re: "x:parse" with absolute filename does not work
On Thu, 1 Sep 2005, Haldi, Silvio wrote:
x:parse expects an URL, so prefix the filename with 'file://'.
> Hi
> I wan't to parse an XML document on my filesystem using the parse tag
> from the XML Jelly-library.
> If I specify the source XML file by an absolute Path it does not work.
> It seems that the parse tag is expecting a relative (to ${basedir})
> path.
>
> I want to to something like this:
>
> <x:parse var="myFile" xml="${basedir}/../mydir/myFile.xml"/>
>
> How can I do this?
>
> Thanks
> Silvio
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]