ProtoCom cannot generate Code with JEE settings
Code generation does not work with JEE settings. When chosing JSE settings the generation works.
Generator seems to bind in jars from the old ProtoCom release.
Based on some more complex examples, my last commits fixed some classpath bugs that occurred when components where assembled multiple times. However, in general the problem is not completely solved yet; I created as a dedicated description. The issues mentioned in this Jira are, however, resolved now.
After deep investigation, I guess that you did not configure a suitable Glassfish server? Without that, the generated prototype misses required libraries.
As a future help, we now generate into the Readme.txt file a small guide:
The current EJB ProtoType is tied to a Glassfish 4 runtime environment. We currently require to have such an
environment with the name "GlassFish 4" installed. Check your Eclipse settings under "Server -> Runtime Environments" to
check this requirement. In future versions, we plan to parametrize the target runtime; see:
Please report if you mange to generate prototypes now...
In my last commit (Rev. 29095; see Subversion changes), I managed to fix the dependency issue for ProtoCom/EJB as well (an API call now gets the recent version of a given plug-in from the Eclipse platform).
The issue that Robert identified is therefore resolved. However, the package structure seems to be messed up in my first test. This might be due to newer xtend and/or newer Palladio libraries. This issue needs investigation next.
ProtoCom Java EE for Servlets (with a Tomcat SAP HANA Cloud server as target) now work again. Required JARs are received from your current Eclipse platform now (instead of being delivered in out-dated version along with the ProtoCom EE Framework).
Next, I'm investigating what's still wrong with the ProtoCom Java EE for EJBs.
de.uka.ipd.sdq.simucomframework.variables_18.104.22.168401301023.jar (available but uses older version)
org.palladiosimulator.protocom.framework_22.214.171.124401301023.jar (not available)