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>

&nbsp; &nbsp; <properties>

&nbsp; &nbsp; &nbsp; &nbsp; <property name="modelValidation">true</property>

&nbsp; &nbsp; </properties>

&nbsp; &nbsp; <repositories>

&nbsp; &nbsp; &nbsp; &nbsp; <repository name="netBeansMDR">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <models>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <model>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<uri>$&#123;model.uri&#125;</uri>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<moduleSearchLocations>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; <location>$&#123;profiles.dir&#125;</location>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
</moduleSearchLocations>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </model>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </models>

&nbsp; &nbsp; &nbsp; &nbsp; </repository>

&nbsp; &nbsp; </repositories>

&nbsp; &nbsp; <namespaces>

&nbsp; &nbsp; &nbsp; &nbsp; <namespace name="default">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <properties>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="languageMappingsUri">Java</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="wrapperMappingsUri">JavaWrapper</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="sqlMappingsUri">$&#123;sql.mappings&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="jdbcMappingsUri">JDBC</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="maxSqlNameLength">30</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="foreignKeySuffix">_FK</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="ejbJndiNamePrefix">$&#123;application.id&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </properties>

&nbsp; &nbsp; &nbsp; &nbsp; </namespace>

&nbsp; &nbsp; &nbsp; &nbsp; <namespace name="dpcom-bpm4jformular">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <properties>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="forms">$&#123;ant.andromda.web.generated.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="pages">$&#123;ant.andromda.web.view.generated.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="includes-impl">$&#123;ant.andromda.web.view.impl.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="actions">$&#123;ant.andromda.web.generated.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="controllers">$&#123;ant.andromda.web.generated.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="controller-impls">$&#123;ant.andromda.web.manual.java.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="decorators">$&#123;ant.andromda.web.manual.java.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="web.xml">$&#123;ant.andromda.web.generated.dir&#125;/WEB-INF</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="config">$&#123;ant.andromda.web.generated.dir&#125;/WEB-INF/classes/de/jformular/config</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="menu">$&#123;ant.andromda.web.generated.dir&#125;/WEB-INF/classes/de/jformular/menuconfig</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="event">$&#123;ant.andromda.web.manual.java.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="exceptions">$&#123;ant.andromda.web.manual.java.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="population">$&#123;ant.andromda.web.manual.java.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="validation">$&#123;ant.andromda.web.manual.java.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="to">$&#123;ant.andromda.web.manual.java.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="tointerfaces">$&#123;ant.andromda.web.manual.java.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<property 
name="tobuilder">$&#123;ant.andromda.web.manual.java.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </properties>

&nbsp; &nbsp; &nbsp; &nbsp; </namespace>

&nbsp; &nbsp; </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

Reply via email to