[ http://jira.andromda.org/browse/JBPM-3?page=history ] Wouter Zoons closed JBPM-3: ---------------------------
Resolution: Fixed Fix Version: 3.1-RC1 the problem was that you have given the same name to both the use-case and one of it's action states .. this was resulting in two files with the same name being generated, the second overwriting the first one I have changed the name of the interfaces generated from the use-case so that it is less likely an action state will have the same name, and in case it does the cartridge will warn you from now on > jBPM generated code is generating errors at compile time > -------------------------------------------------------- > > Key: JBPM-3 > URL: http://jira.andromda.org/browse/JBPM-3 > Project: jBPM Cartridge > Type: Bug > Versions: 3.1-M1 > Environment: OS: WinXP > Java: 1.4.2_08 > Maven: 1.0.2 > JBoss: 4.0.2 > Hibernate: 3.0 > DB: PostgreSQL 8.0 > Reporter: Diego Bendlin > Assignee: Wouter Zoons > Fix For: 3.1-RC1 > Attachments: JupenCalcuModel.xml, andromda.xml, project.properties > > After creating a simple activity diagram, when trying to generate the whole > project with maven -o clean install (Or just with maven -o) Im getting > compile time errors: > build:start: > multiproject:install-callback: > [echo] Running jar:install for Jupen Calcu Workflow System > java:prepare-filesystem: > [mkdir] Created dir: D:\tmp\JupenCalcu\workflow\target\classes > java:compile: > [echo] Compiling to D:\tmp\JupenCalcu\workflow/target/classes > [echo] > ========================================================== > NOTE: Targetting JVM 1.4, classes > will not run on earlier JVMs > ========================================================== > [javac] Compiling 13 source files to D:\tmp\JupenCalcu\workflow\target\classes > D:\tmp\JupenCalcu\workflow\target\src\jupen\calcu\dpnc\CargarSalario.java:94: > jupen.calcu.dpnc.Carga > rSalarioNode is abstract; cannot be instantiated > if (NODE_CARGAR_SALARIO.equals(nodeName)) node = new > CargarSalarioNode(token); else > ^ > D:\tmp\JupenCalcu\workflow\target\src\jupen\calcu\dpnc\InicioNode.java:60: > jupen.calcu.dpnc.CargarSa > larioNode is abstract; cannot be instantiated > return new CargarSalarioNode(this.token); > ^ > 2 errors > BUILD FAILED > File...... C:\Documents and > Settings\administrator\.maven\cache\maven-multiproject-plugin-1.3.1\plug > in.jelly > Element... maven:reactor > Line...... 217 > Column.... 9 > Unable to obtain goal [multiproject:install-callback] -- C:\Documents and > Settings\administrator\.ma > ven\cache\maven-java-plugin-1.5\plugin.jelly:63:48: <ant:javac> Compile > failed; see the compiler err > or output for details. > INFO [App] Total time: 2 minutes 14 seconds > INFO [App] Finished at: Fri Aug 19 21:18:56 GMT-04:00 2005 > INFO [App] > This happends even when when following the docs for the jbpm cartridge. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf