[xwiki-devs] my attempt at building a development curriki

Paul Libbrecht paul at activemath.org
Tue Jun 3 10:03:40 CEST 2008


Le 03-juin-08 à 09:03, Vincent Massol a écrit :

>> The location was determined when xwiki was using Ant instead of Maven
>> and I have not found how to pass the appropriate options to the Maven
>> gwt compiler that would put the compiled code in the right location,
>> nor how to run a post-compile move of the directory as an  
>> alternative.
>
> post-compile move is an "Ant"ish thing and should be avoided if
> possible.

In a perfect world I agree...
Untill then, something has to be done.
I searched ~/.m2/repository/com/google/gwt/ and there's not single  
script in there.
I know ant is old-fashioned but please... a script there would have  
made things very easy!

> One thing you could do is check the sources of the GWT plugin. I do
> that frequently with the other plugins and it helps. If that doesn't
> work maybe you could ask on the GWT plugin's mailing list/forum.

That seems like a non-trivial thing to do, at least their docs do not  
show the properties for such settings.

 From their documentation page:
   http://code.google.com/p/gwt-maven/
(supposedly)
I seem to find that there's a property for maven1 but not for maven2  
plugin:
   google.webtoolkit.output

> PS: I'm not even understanding what you're trying to do so I'm just
> answering generically here.

a post-compile move is what we are trying to do without considering  
writing a plugin for such a task!
Following the curriki installation task-list.
   http://curriki.xwiki.org/xwiki/bin/view/Main/InstallationInstructions

where there are more of these manual moves which are fully natural  
things in a world that is almost perfect.

paul
(wishing curriki went to maven-1.1! ;-))


More information about the devs mailing list