I also tried this :)
The workspace is something like "c:\perso\dev\web" (too long certainly but
not so long also :) )
I also used a subst to put the maven repository at the root level of a disk
like "z:\com\xpn..."
So nothing too strange about the directory... but the generated classpath is
really huged...
So I still get the "line too long"...
Anyway, I think this is not a good solution... lots of people are
complaining about this... I will follow gwt-maven to see if they find a
solution and I will try to find one by myself when I have time because I'm
eager to see the wysiwyg... In a few weeks, I should be able to go back to
Linux :)... Until then, I will test it on Windows...
Pascal
On Sun, Jan 11, 2009 at 9:09 PM, Ludovic Dubost <ludovic(a)xwiki.org> wrote:
Hi Pascal,
Is the path of where you are to compile in a deep subdirectory tree from
the root and/or contains a white space ?
I think if you move it to a lower depth in the tree from root and
without white space it will work fine (without symlinks because I think
it resolves to the 'real' directory before calling the gwt compile).
Ludovic
Pascal Voitot a écrit :
I go on compiling XWiki under windows until I get
back my beloved linux
platform :)... Finally, it appears not to be so trivial... Last week, I
found 2 minor issues but this last one is a blocking one.
When you build wysiwyg under windows, the gwt-maven plugin generates a
script "compile.cmd" in order to compile GWT code.
But, when it launches the script, you get an error "Line too long"...
And this is true, due to the huge number of dependencies with long
directories, the Classpath variables are too long for Windows... I love
Windows :):):)
Apparently, this is a well known bug of gwt-maven but seems not easy to
solve or not enough important to be solved :)
Anyway, until this bug is solved or if somebody finds a clever workaround
solution, it will remain impossible to compile wysiwyg under windows.
This is disturbing because, if you don't compile WYSIWYG, you can compile
XE
without any problem but when you launch the
server, you get a weird error
such as "Can't find class file RemoteService" and the jetty server
don't
bind to classic port 8080.
So the only solution I found is to remove "wysiwyg" module from profile
"xe"
in xwiki-web.
best regards
Pascal
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Ludovic Dubost
Blog:
http://blog.ludovic.org/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs