[xwiki-devs] Due to gwt-maven, it's impossible to build xwiki-web/wysiwyg under Windows
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
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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
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 <[email protected]> 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 [email protected] 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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
If you have trouble building, you can grab a snapshot at http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-jet... Ludovic Pascal Voitot a écrit :
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 <[email protected]> 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 [email protected] 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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
Thanks, I was wondering whether it was available on a repository :) On Sun, Jan 11, 2009 at 10:30 PM, Ludovic Dubost <[email protected]> wrote:
If you have trouble building, you can grab a snapshot at
http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-jet...
Ludovic
Pascal Voitot a écrit :
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 <[email protected]> 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 [email protected] 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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] 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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (2)
-
Ludovic Dubost -
Pascal Voitot