From: jcash (A. F. <fo...@an...> - 2005-11-03 23:58:57
|
I have just migrated to AndroMDA 3.0 from 2.1.2 and can no longer generate EJBs. My model contains 2 classes sterotyped as Service and 1 as ApplicationException. The Exception is sucessfully generated but the session beans are not. No errors are logged. I am using ant to run AndroMDA. My target is defined as follows: <!-- Generate the session bean class with xdoclet annotations --> <target name="compile-uml" depends="prepare-xmi"> <!-- AndroMDA Task Definition --> <taskdef name="andromda" classname="org.andromda.ant.task.AndroMDAGenTask" classpathref="andromda.classpath"/> <andromda lastModifiedCheck="true" cartridgeFilter="java, ejb" xmlValidation="true" modelValidation="true" basedir="${model.source}" includes="logical_slsb.xmi"> <mappingsSearchPath> <pathelement location="${andromda.home}/ant/mappings"/> </mappingsSearchPath> <namespace name="default" ignore="true"> <property name="sqlMappingsUri" value="${datasource.type}"/> <property name="jdbcMappingsUri" value="JDBC"/> <property name="wrapperMappingsUri" value="JavaWrapper"/> <property name="languageMappingsUri" value="Java"/> <property name="foreignKeySuffix" value="_FK"/> <property name="maxSqlNameLength" value="30"/> </namespace> <namespace name="java" ignore="false"> <property name="exceptions" value="${app.root.dir}/common/target/src"/> <property name="enumerations" value="${app.root.dir}/common/target/src"/> <property name="value-objects" value="${app.root.dir}/common/target/src"/> </namespace> <namespace name="hibernate" ignore="true"> <property name="hibernateTypeMappingsUri" value="Hibernate"/> <property name="dataSource" value="${datasource.jndi}"/> <property name="hibernateDialect" value="${hibernate.db.dialect}"/> <property name="hibernateTransactionManagerLookup" value="${hibernate.transaction.manager.lookup}"/> <property name="hibernateShowSql" value="true"/> <property name="hibernateJdbcBatchSize" value="0"/> <property name="entities" value="${app.root.dir}/hibernate/ejb/target/src"/> <property name="entity-impls" value="${app.root.dir}/hibernate/ejb/src/java"/> <property name="session-beans" value="${app.root.dir}/hibernate/ejb/target/src"/> <property name="session-impls" value="${app.root.dir}/hibernate/ejb/src/java"/> <property name="configuration" value="${app.root.dir}/hibernate/ejb/target/conf"/> </namespace> <namespace name="ejb" ignore="false"> <property name="entity-beans" value="${app.root.dir}/ejb/target/src"/> <property name="entity-impls" value="${app.root.dir}/ejb/src/java"/> <property name="session-beans" value="${app.root.dir}/ejb/target/src"/> <property name="session-impls" value="${app.root.dir}/ejb/src/java"/> </namespace> <namespace name="bpm4struts" ignore="true"> <property name="xhtml" value="false"/> <property name="security" value="false"/> <property name="securityRealm" value="other"/> <property name="clientValidation" value="true"/> <property name="serverValidation" value="true"/> <property name="welcomeFileName" value="index.jsp"/> <property name="maxBreadCrumbs" value="5"/> <property name="dummyData" value="true"/> <property name="onlineHelp" value="true"/> <property name="pages" value="${app.root.dir}/web/src/jsp"/> <property name="forms" value="${app.root.dir}/web/target/src"/> <property name="actions" value="${app.root.dir}/web/target/src"/> <property name="controllers" value="${app.root.dir}/web/target/src"/> <property name="controller-impls" value="${app.root.dir}/web/src/java"/> <property name="messages" value="${app.root.dir}/web/src/properties"/> <property name="configuration" value="${app.root.dir}/web/target/src/WEB-INF"/> </namespace> <namespace name="webservice" ignore="true"> <property name="applicationName" value="${application.name}"/> <property name="wsdlSoapAddress" value="${default.webservices.url}"/> <property name="wsdls" value="${app.root.dir}/webservice/target/wsdl"/> <property name="java-types" value="${app.root.dir}/webservice/target/src" ignore="true"/> <property name="axis-configuration" value="${app.root.dir}/webservice/target/axis"/> <property name="schemaTypeMappingsUri" value="XmlSchema"/> <property name="qualifiedNameLocalPartPattern" value="WS{0}"/> <property name="namespacePattern" value="{0}"/> <property name="reverseNamespace" value="true"/> </namespace> </andromda> </target> Prior to migrating, the sessions were generated but the exceptions were not, and the throws part was not added to the end of the signiture in the session bean. Any help would be much apprecieated. Regards Jamie -- Jamie Cash _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=6599#6599 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! |