HEADS-project / training

Training material to get started with the HEADS technologies
10 stars 16 forks source link

Always looking into http://registry.kevoree.org/ when resolving modules #17

Closed kehusa closed 9 years ago

kehusa commented 9 years ago

There is a problem with resolving modules from my local repo. Seems like http://registry.kevoree.org/ is always preferred and Helloworld is defined in there as an deployment unit already. I am trying to rename my Component to MyHelloWorld but then I get:

[INFO] Installing C:\Users\KnutEilif\HeadsIde\workspace\training\2.Kevoree_Basic s\4.Its_About_Sending_A_Message\java\target\myhelloworld-0.0.1-SNAPSHOT.jar to C :\Users\KnutEilif.m2\repository\org\kevoree\example\myhelloworld\0.0.1-SNAPSHOT \myhelloworld-0.0.1-SNAPSHOT.jar [INFO] Installing C:\Users\KnutEilif\HeadsIde\workspace\training\2.Kevoree_Basic s\4.Its_About_Sending_A_Message\java\pom.xml to C:\Users\KnutEilif.m2\repositor y\org\kevoree\example\myhelloworld\0.0.1-SNAPSHOT\myhelloworld-0.0.1-SNAPSHOT.po m [INFO]

[INFO] --- org.kevoree.tools.mavenplugin:5.2.1:run (default-cli) @ myhelloworld

00:00 INFO: Bootstrap Kevoree node : node0, version 5.2.1 00:00 INFO: Resolved 96 typeDefinitions from Kevoree Registry http://registry.ke voree.org/v5/ (JavaNode/5.0.3,JavaNode/5.0.4,JavaNode/5.0.5,WSGroup/5.0.8-SNAPSH OT,JavaNode/5.0.6,SyncBroadcast/5.0.7-SNAPSHOT,JavaNode/5.0.7,SyncBroadcast/5.2. 3-SNAPSHOT,JavaNode/5.0.3-SNAPSHOT,JavaNode/5.1.1-SNAPSHOT,ConsolePrinter/5.1.3, ConsolePrinter/5.1.2,JavaNode/5.1.2-SNAPSHOT,WSGroup/5.0.7,SyncBroadcast/5.2.1,S yncBroadcast/5.2.0,ConsolePrinter/5.1.1-SNAPSHOT,WSGroup/5.2.3-SNAPSHOT,WSGroup/ 5.0.7-SNAPSHOT,JavaNode/5.1.1,JavaNode/5.1.2,JavaNode/5.1.3,ConsolePrinter/5.0.7 -SNAPSHOT,WSGroup/5.0.3,WSGroup/0.1.0,WSGroup/5.0.4,WSGroup/5.0.3-SNAPSHOT,SyncB roadcast/5.2.2,WSGroup/5.0.5,WSGroup/5.0.6,JavaNode/5.0.8-SNAPSHOT,ConsolePrinte r/5.1.2-SNAPSHOT,ConsolePrinter/5.0.4-SNAPSHOT,ConsolePrinter/5.2.2,ConsolePrint er/5.2.1,ConsolePrinter/5.1.1,ConsolePrinter/5.1.0,SyncBroadcast/5.1.0,JavaNode/ 5.0.5-SNAPSHOT,SyncBroadcast/5.1.2,SyncBroadcast/5.1.1,SyncBroadcast/5.0.3-SNAPS HOT,SyncBroadcast/5.0.8-SNAPSHOT,JavaNode/5.2.0,JavaNode/5.2.1,WSGroup/5.2.1-SNA PSHOT,JavaNode/5.2.2,WSGroup/5.0.5-SNAPSHOT,JavaNode/5.0.6-SNAPSHOT,JavaNode/5.1 .4-SNAPSHOT,JavaNode/5.2.2-SNAPSHOT,ConsolePrinter/5.2.2-SNAPSHOT,WSGroup/5.1.2, WSGroup/5.1.3,SyncBroadcast/5.1.3,ConsolePrinter/5.1.4-SNAPSHOT,WSGroup/5.1.4,WS Group/5.1.0,WSGroup/5.1.1,SyncBroadcast/5.0.4-SNAPSHOT,SyncBroadcast/5.1.2-SNAPS HOT,ConsolePrinter/5.2.0,ConsolePrinter/0.1.0,ConsolePrinter/5.2.1-SNAPSHOT,Sync Broadcast/5.2.1-SNAPSHOT,SyncBroadcast/5.0.5-SNAPSHOT,WSGroup/5.2.2-SNAPSHOT,Syn cBroadcast/5.0.3,SyncBroadcast/5.1.1-SNAPSHOT,WSGroup/5.1.2-SNAPSHOT,ConsolePrin ter/5.0.5-SNAPSHOT,JavaNode/5.2.3-SNAPSHOT,JavaNode/5.1.0,JavaNode/5.0.7-SNAPSHO T,ConsolePrinter/5.2.3-SNAPSHOT,JavaNode/5.2.1-SNAPSHOT,SyncBroadcast/5.2.2-SNAP SHOT,WSGroup/5.2.1,SyncBroadcast/5.0.5,WSGroup/5.2.2,SyncBroadcast/5.0.4,SyncBro adcast/5.0.7,SyncBroadcast/5.0.6,WSGroup/5.1.1-SNAPSHOT,WSGroup/5.2.0,ConsolePri nter/5.0.7,ConsolePrinter/5.0.6,ConsolePrinter/5.0.5,ConsolePrinter/5.0.4,Consol ePrinter/5.0.3,WSGroup/5.1.4-SNAPSHOT,SyncBroadcast/5.1.4-SNAPSHOT,ConsolePrinte r/5.0.3-SNAPSHOT,JavaNode/5.0.4-SNAPSHOT,WSGroup/5.0.4-SNAPSHOT,ConsolePrinter/5 .0.8-SNAPSHOT) 00:00 WARN: Try to select snapshot in best effort mode for org.kevoree.example.M yHelloWorld java.lang.Exception: TypeDefinition not found with : org.kevoree.example.MyHello World and version null in 0 selected at org.kevoree.kevscript.util.TypeDefinitionResolver.resolve(TypeDefinit ionResolver.java:124) at org.kevoree.kevscript.KevScriptEngine.interpret(KevScriptEngine.java: 128) at org.kevoree.kevscript.KevScriptEngine.interpret(KevScriptEngine.java: 124) at org.kevoree.kevscript.KevScriptEngine.interpret(KevScriptEngine.java: 119) at org.kevoree.kevscript.KevScriptEngine.executeFromStream(KevScriptEngi ne.java:58) at org.kevoree.bootstrap.Bootstrap.bootstrapFromKevScript(Bootstrap.java :218) at org.kevoree.bootstrap.Bootstrap.bootstrapFromKevScript(Bootstrap.java :248) at org.kevoree.bootstrap.Bootstrap.bootstrapFromFile(Bootstrap.java:337)

    at org.kevoree.bootstrap.Bootstrap.main(Bootstrap.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.kevoree.microkernel.impl.KevoreeMicroKernelImpl$1.run(KevoreeMicr oKernelImpl.java:223) 01:08 INFO: Stopping Kevoree 01:08 INFO: Kevoree core stopped 01:08 INFO: Stopped. What am I missing here?

maxleiko commented 9 years ago

Same as #26