The hivemind jar file will have its own hivemodule.xml file in it when you
deploy your application.  HiveMind loads *all* hivemodule.xml files it finds
on the classpath.

-----Original Message-----
From: John Coleman [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 17, 2006 4:10 PM
To: Tapestry users
Subject: [HiveMind] Fw: JAR issue

anyone here have an idea how to do this please?


----- Original Message ----- 
From: John Coleman 
To: hivemind-user@jakarta.apache.org 
Sent: Friday, March 17, 2006 7:30 PM
Subject: JAR issue


I'm trying to JAR my application using Ant, but both my applications
hivemodule.xml and the HiveMinds one end up under META-INF, so when the JAR
is executed only the last one written is found. This means I always get
Exception in thread "main" org.apache.hivemind.ApplicationRuntimeException:
There is no service point for interface... thrown.

      <DEFANGED_metainf dir="src/main/resources/META-INF">
       <include name="hivemodule.xml"/>               <-- location of the
apps hivemodule
      </metainf>
      <zipgroupfileset dir="lib" includes="**/*.*"/>     <-- contains
hivemind.jar

How can the 2 coexist? Must I write my own registry loader? (seems drastic)

TIA
John




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to