On Mon, Sep 14, 2009 at 6:39 PM, Andrew Wills <wills...@gmail.com> wrote:
>
> Andy,
>
> Looks like ${3} (a.k.a. ${targetDir}) is coming as
> "file:/C:/dev/uPortal-myws-2.6.1/jakarta-tomcat-5.5.9/webapps/WeatherPortlet"
> or something very close to that.
>
Right.
> I think the 'to-dir' attribute on <extract-archive> will interpret
> that as a relative path, and will look for a folder named 'file:' in
> the current execution directory. But file (folder) names can't have
> colons in them, and there you get the "filename, directory name, or
> volume label syntax is incorrect" message.
>
OK. I changed the way the 'targetDir' ($3) is passed in. It is no
longer a URI from a File, but rather just a straight Windows path and
I've gotten past the extract problem.
But now, this same parameter is causing some problems with accessing
the files in the extracted archive. Take a look at
http://pastebin.com/m435e326e (link is good for 30 days). Based on
the scripts I posted yesterday, should the ${doc()} phrase use
something other than targetDir for it's path?