Vincent,
I'll go with the option of running in a Ubuntu virtual machine under
VirtualBox. I think that's cleaner than cygwin. Thanks for everyone's help.
I'll be back after I get the new environment set up.
--Gary
-----Original Message-----
From: devs-bounces(a)xwiki.org [mailto:devs-bounces@xwiki.org] On Behalf Of
Vincent Massol
Sent: Tuesday, July 24, 2012 6:10 PM
To: XWiki Developers
Subject: Re: [xwiki-devs] Errors Building xwiki-commons
Hi Gary,
On Jul 25, 2012, at 1:55 AM, Gary Kopp wrote:
Vincent,
How did you guess that? <g> Yes, 64-bit Windows 7. I have a Ubuntu
virtual machine as well (I'm using a 16GB workstation, so anything is
feasible). I never finished configuring my Linux VM under VirtualBox,
but I _have_ been giving some serious thought to using it for all
XWiki development. Reading between the lines, do you feel I'd be
happier under Linux? Frankly, I've _never_ liked Windows in any form
(in fact, I was sort of an evangelist for
OS/2 back in the day), but there are a few useful Windows tools I use
that may or not be happy under Wine, so I've been taking the path of
least resistance (you know, buying a new portable workstation that
always comes with Windows and Microsoft Office pre-installed :-). It
wouldn't take much to convince me to live in the Linux world.
Since you asked about Windows, and there is a message about a path
element, I'm guessing this whole mess has something to do with the
presence of blanks in Windows pathed directory names like "Program Files."
It's a problem of max path size on Windows.
What you can do is use cygwin and build from it, it should support long path
names.
As Sergiu mentioned we know about this issue but we've been lazy and haven't
fixed it. Our bad. Here's a thread about it for reference:
http://markmail.org/thread/hlnqke3igkbec332
It would be good that we fix it (it's going to touch a lot of places
though).
I don't have a world clock, but isn't it
awfully late in Paris? Thanks
for your continued responses!
Just back from the party!
Thanks
-Vincent
--Gary
-----Original Message-----
From: devs-bounces(a)xwiki.org [mailto:devs-bounces@xwiki.org] On Behalf
Of Vincent Massol
Sent: Tuesday, July 24, 2012 5:34 PM
To: XWiki Developers
Subject: Re: [xwiki-devs] Errors Building xwiki-commons
Hi Gary,
Are you building on Windows by any chance?
-Vincent
On Jul 24, 2012, at 11:37 PM, Gary Kopp wrote:
I am unable to build xwiki-commons from the
command line. First, I
had to skip tests, and then, after I tweaked my setup to get back to
Java
6 (I typically use Java 7), Maven debug output includes the text
pasted
below.
> The empty "bad path element" of "" has me baffled, but I'm
ignoring
> that for the moment. Meanwhile, can anyone explain the problem with
> AetherExtensionRepository?
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> (default-compile) on project xwiki-commons-extension-repository-maven:
> Compilation failure: Compilation failure:
> [ERROR] bad path element "": no such file or directory [ERROR]
> S:\xwiki-commons\xwiki-commons-core\xwiki-commons-extension\xwiki-com
> m
> ons-ex
> tension-repositories\xwiki-commons-extension-repository-maven\src\mai
> n
> \java\
> org\xwiki\extension\repository\aether\internal\AetherExtensionReposit
> o
> ry.jav
> a:[107,22] cannot find symbol
> [ERROR] symbol : class AetherExtensionRepositoryFactory [ERROR]
> location: class
> org.xwiki.extension.repository.aether.internal.AetherExtensionReposit
> o
> ry
> [ERROR]
> S:\xwiki-commons\xwiki-commons-core\xwiki-commons-extension\xwiki-com
> m
> ons-ex
> tension-repositories\xwiki-commons-extension-repository-maven\src\mai
> n
> \java\
> org\xwiki\extension\repository\aether\internal\AetherExtensionReposit
> o
> ry.jav
> a:[110,8] cannot find symbol
> [ERROR] symbol : class AetherExtensionRepositoryFactory [ERROR]
> location: class
> org.xwiki.extension.repository.aether.internal.AetherExtensionReposit
> o
> ry
> [ERROR]
> [ERROR]
> S:\xwiki-commons\xwiki-commons-core\xwiki-commons-extension\xwiki-com
> m
> ons-ex
> tension-repositories\xwiki-commons-extension-repository-maven\src\mai
> n
> \java\
> org\xwiki\extension\repository\aether\internal\AetherExtensionReposit
> o
> ry.jav
> a:[107,22] cannot find symbol
> [ERROR] symbol : class AetherExtensionRepositoryFactory [ERROR]
> location: class
> org.xwiki.extension.repository.aether.internal.AetherExtensionReposit
> o
> ry
> [ERROR]
> S:\xwiki-commons\xwiki-commons-core\xwiki-commons-extension\xwiki-com
> m
> ons-ex
> tension-repositories\xwiki-commons-extension-repository-maven\src\mai
> n
> \java\
> org\xwiki\extension\repository\aether\internal\AetherExtensionReposit
> o
> ry.jav
> a:[110,8] cannot find symbol
> [ERROR] symbol : class AetherExtensionRepositoryFactory [ERROR]
> location: class
> org.xwiki.extension.repository.aether.internal.AetherExtensionReposit
> o
> ry
>
> --Gary
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs