From: David C. <dav...@gm...> - 2010-07-13 07:53:29
|
Hi! As I commented before, I'm interested in sequence and state-machines support in ea_toolsupport. I've managed to get some time to hack ea_toolsupport in order to develop support for such diagrams. I've been some days studying the source code, and now I would like to run the tests and play a little with the debugger prior to start coding. I had no experience with Maven, but I thought I had managed to correctly configure the develop environment. I'm using Eclipse and m2eclipse, and after a little research I have a workspace without errors. I had problems with the artifacts "com.sparxsystems:eaapi:jar:0.7.846" and "com.sparxsystems:ssjavacom:dll:0.7.846", but I think I solved it with the commands: mvn install:install-file -DgroupId=com.sparxsystems -DartifactId=eaapi -Dversion=0.7.846 -Dpackaging=jar -Dfile=/path/to/file mvn install:install-file -DgroupId=com.sparxsystems -DartifactId=ssjavacom -Dversion=0.7.846 -Dpackaging=dll -Dfile=/path/to/file If I execute the command "mvn compile" into the directory "ea_com_interface", the build is successful both in Eclipse and terminal. Unfortunately the command "mvn test" fails with 17 errors, and the logs show the error "java.lang.NoClassDefFoundError: Could not initialize class org.sparx.Repository". I've attached one of the XML log files. I have no idea why the tests are failing, and how I can solve that. Could someone comment on how you have configured your development environment?, I would be very grateful if some someone could help me with the problems I pointed before. Thank you very much :-) Cheers! David Castellanos -- David Castellanos Serrano LouiSE Research Group http://www.i3a.uclm.es/ http://www.uclm.es |