Hi all,
because of the higher acceptance of ant within my company I would like to switch from maven to ant. During this procedure I get the following error and I have no idea why this error occurs. I am using my own cartridge and have built the project with version 3.1-RC1-20050704135227. ------- AndroMDA Exception Recording ------- Version ........: 3.1-RC1-20050704135227 Error ..........: Error performing ModelProcessor.process with model(s) --> 'file:D:devzaehlerrueckmeldung_ANTmdasrcumlZaehlerRueckmeldungModel.xml.zip!ZaehlerRueckmeldungModel.xml' Build ..........: 2005-07-04 13:52:27 Build System ...: Windows XP-5.1 Build JDK ......: Sun Microsystems Inc.-1.4.2_05-b04 Build Builder ..: T.Plodeck Run System .....: Windows XP5.1 Run JDK ........: Sun Microsystems Inc.1.4.2_05-b04 Main Exception .: No repository implementations have been registered, make sure you have at least one valid repository registered under a namespace on your classpath Root Exception .: org.andromda.core.engine.ModelProcessorException: No repository implementations have been registered, make sure you have at least one valid repository registered under a namespace on your classpath org.andromda.core.engine.ModelProcessorException: No repository implementations have been registered, make sure you have at least one valid repository registered under a namespace on your classpath at org.andromda.core.engine.ModelProcessor.getRepositoryImplementation(ModelProcessor.java:756) at org.andromda.core.engine.ModelProcessor.loadModelIfNecessary(ModelProcessor.java:332) at org.andromda.core.engine.ModelProcessor.loadIfNecessary(ModelProcessor.java:515) at org.andromda.core.engine.ModelProcessor.processModels(ModelProcessor.java:213) at org.andromda.core.engine.ModelProcessor.process(ModelProcessor.java:150) at org.andromda.core.engine.ModelProcessor.process(ModelProcessor.java:87) at org.andromda.core.engine.Engine.run(Engine.java:76) at org.andromda.core.AndroMDA.run(AndroMDA.java:129) at org.andromda.core.AndroMDA.run(AndroMDA.java:91) at org.andromda.ant.task.AndroMDAGenTask.execute(AndroMDAGenTask.java:77) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeTarget(Project.java:1214) at org.apache.tools.ant.Project.executeTargets(Project.java:1062) at org.apache.tools.ant.Main.runBuild(Main.java:673) at org.apache.tools.ant.Main.startAnt(Main.java:188) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) and here is the correponding andromda.xml: <andromda> <properties> <property name="modelValidation">true</property> </properties> <repositories> <repository name="netBeansMDR"> <models> <model> <uri>${model.uri}</uri> <moduleSearchLocations> <location>${profiles.dir}</location> </moduleSearchLocations> </model> </models> </repository> </repositories> <namespaces> <namespace name="default"> <properties> <property name="languageMappingsUri">Java</property> <property name="wrapperMappingsUri">JavaWrapper</property> <property name="sqlMappingsUri">${sql.mappings}</property> <property name="jdbcMappingsUri">JDBC</property> <property name="maxSqlNameLength">30</property> <property name="foreignKeySuffix">_FK</property> <property name="ejbJndiNamePrefix">${application.id}</property> </properties> </namespace> <namespace name="dpcom-bpm4jformular"> <properties> <property name="forms">${ant.andromda.web.generated.dir}</property> <property name="pages">${ant.andromda.web.view.generated.dir}</property> <property name="includes-impl">${ant.andromda.web.view.impl.dir}</property> <property name="actions">${ant.andromda.web.generated.dir}</property> <property name="controllers">${ant.andromda.web.generated.dir}</property> <property name="controller-impls">${ant.andromda.web.manual.java.dir}</property> <property name="decorators">${ant.andromda.web.manual.java.dir}</property> <property name="web.xml">${ant.andromda.web.generated.dir}/WEB-INF</property> <property name="config">${ant.andromda.web.generated.dir}/WEB-INF/classes/de/jformular/config</property> <property name="menu">${ant.andromda.web.generated.dir}/WEB-INF/classes/de/jformular/menuconfig</property> <property name="event">${ant.andromda.web.manual.java.dir}</property> <property name="exceptions">${ant.andromda.web.manual.java.dir}</property> <property name="population">${ant.andromda.web.manual.java.dir}</property> <property name="validation">${ant.andromda.web.manual.java.dir}</property> <property name="to">${ant.andromda.web.manual.java.dir}</property> <property name="tointerfaces">${ant.andromda.web.manual.java.dir}</property> <property name="tobuilder">${ant.andromda.web.manual.java.dir}</property> </properties> </namespace> </namespaces> </andromda> So "netBeansMDR" is my registered repository, isn`t it? Is there another step that I have to do in order to register the repository? With maven I have no problems, but as I already mentioned I need to use ant. So I would be happy if somebody can help me. Thanks Timo -- ...and that's the way the cookie crumbles _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3095#3095 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user