You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Benson Margulies <bi...@gmail.com> on 2010/03/01 21:35:22 UTC
Windows versus maven-eclipse-plugin versus file: url
I'm on Windows, running mvn from cygwin, using the maven-eclipse-plugin. I
construct a file URL that works fine in IE and firefox, but fails in maven:
[INFO] Unable to read file:
file://C:/cygwin2/home/benson/wst/BasisCodeFormatter.xml
Anyone have a suggestion?
Re: Windows versus maven-eclipse-plugin versus file: url
Posted by Benson Margulies <bi...@gmail.com>.
Oh, duh. Thanks.
On Mon, Mar 1, 2010 at 7:16 PM, Barrie Treloar <ba...@gmail.com> wrote:
> On Tue, Mar 2, 2010 at 7:05 AM, Benson Margulies <bi...@gmail.com>
> wrote:
> > I'm on Windows, running mvn from cygwin, using the maven-eclipse-plugin.
> I
> > construct a file URL that works fine in IE and firefox, but fails in
> maven:
> >
> > [INFO] Unable to read file:
> > file://C:/cygwin2/home/benson/wst/BasisCodeFormatter.xml
> >
> > Anyone have a suggestion?
> >
>
> Try http://en.wikipedia.org/wiki/File_URI_scheme
>
> Your url looks like it has two slashes which impies C: is the hostname.
>
> Try
>
> file:///C:/cygwin2/home/benson/wst/BasisCodeFormatter.xml
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Windows versus maven-eclipse-plugin versus file: url
Posted by Barrie Treloar <ba...@gmail.com>.
On Tue, Mar 2, 2010 at 7:05 AM, Benson Margulies <bi...@gmail.com> wrote:
> I'm on Windows, running mvn from cygwin, using the maven-eclipse-plugin. I
> construct a file URL that works fine in IE and firefox, but fails in maven:
>
> [INFO] Unable to read file:
> file://C:/cygwin2/home/benson/wst/BasisCodeFormatter.xml
>
> Anyone have a suggestion?
>
Try http://en.wikipedia.org/wiki/File_URI_scheme
Your url looks like it has two slashes which impies C: is the hostname.
Try
file:///C:/cygwin2/home/benson/wst/BasisCodeFormatter.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org