i'm trying to build jBPM Web Designer from sources and i've encountered some compilation errors pointing to org.jbpm.designer.web.server.SimulationServlet.
Odd because the revision i'm trying to build is supposed to be stable (2.4.0.Final)
To get the sources i launched :
-- git clone firstname.lastname@example.org:droolsjbpm/jbpm-desiger.git -b 2.4.x
-- git checkout 2.4.0.Final
(-b switch of clone command doesn't change much i suppose)
Then I used mvn clean install to build the entire thing.
See attachment for a full error stack (maven console output).
After upgrading jbpm-simulation dependency to 1.1.0-SNAPSHOT some of the compilation errors disappeared but now it started complaining about org.kie.api.runtime.CommandExecutor.execute method (illegal argument type) :
[ERROR] \scott\jbpm\jbpm-designer\src\main\java\org\jbpm\designer\web\server\SimulationServlet.java:[163,23] <T>execute(org.kie.api.command.Command<T>) in org.kie.api.runtime.CommandExecutor cannot be applied to (org.drools.command.runtime.rule.InsertElementsCommand)
I might try to fix this one as well (InsertElementsCommand implements the Command interface but the execute method mentioned expects 'Command<T>' argument - not '? extends Command<T>' - so the subtypes are excluded, if i understand generic methods correctly), but i'm no jbpm expert and wouldn't want to break something.
Besides - a 'final' release shouldn't require tampering with.
Thanks in advance for any assistance.
problem solved (nexus update did the trick as there were some issues with jbpm-simulation maven dependency)
Many thanks to Tihomir for addressing this (more on this topic here, if anyone's interested : http://surdilovic.wordpress.com/2012/11/27/jbpm-designer-2-4-0-final-released/#comment-1146)