Robb Penoyer wrote:


Thanks for the reply Stephen.


The excalibur-monitor jar indeed does not come "shipped" with any .xinfo file in it (and I would guess most excalibur components do not). I updated the ActiveMonitor and PassiveMonitor source with the complete tags (see diff - if you want the source, let me know).


Patch applied.


I did unravel the excalibur-monitor jar and put the xinfo files in, and it solved my current problem. Is this the only way to get the xinfo to the kernel?


Yes and No.

In a production environment the preumption is that all type meta is supplied in a sealed jar file. However, in a development environment you can include a directory path which in procipal can contain sudirectorys such as /org/apchche/... containing xifo resources. However, keep in mind this should only be used in development cotext. Future version of Merlin will almost certainly include controls to disable this possibility for production deployment.



Also, is there a reason why the excalibur jars don't build with the xinfo files?


A vote by the PMC to publish the Avalon Meta package concluded yesterday. The package is currently being prepared for imminent release. With that in place there are a bunch of things we can do to enhance the excalibur suite to leverage the meta info model. This will probably evolve with a progressive update of excalibur components to maven under which meta generation using the plugin becomes trivial.

Cheers, Steve.



Thanks,
R-



Index: ActiveMonitor.java
===================================================================
RCS file: /home/cvspublic/avalon-excalibur/monitor/src/java/org/apache/avalon/excalibur/monitor/ActiveMonitor.java,v


retrieving revision 1.20
diff -r1.20 ActiveMonitor.java
77,78c77,78
< * @avalon.component
< * @avalon.service type=org.apache.avalon.excalibur.monitor.Monitor
---
> * @avalon.component name="active-monitor" lifestyle="singleton"
> * @avalon.service type="org.apache.avalon.excalibur.monitor.Monitor" version="1.0"



Index: PassiveMonitor.java
===================================================================
RCS file: /home/cvspublic/avalon-excalibur/monitor/src/java/org/apache/avalon/excalibur/monitor/PassiveMonitor.java,v


retrieving revision 1.16
diff -r1.16 PassiveMonitor.java
75,76c75,76
< * @avalon.component
< * @avalon.service type=org.apache.avalon.excalibur.monitor.Monitor
---
> * @avalon.component name="passive-monitor" lifestyle="singleton"
> * @avalon.service type="org.apache.avalon.excalibur.monitor.Monitor" version="1.0"



At 06:56 AM 9/24/2003 +0200, Stephen McConnell wrote:



Robb Penoyer wrote:


I have what I hope is an easy one. I am working on getting an ActiveMonitor from Excalibur up in Merlin. From what I have read on the Stephen/Alex/Tim Bennett exchange earlier this month, I can reuse the .xinfo file I generated with ant and the avalon meta tags.



Hi Rob:


The avalon meta tags in the monitor package are the subset of tags used by Fortress prior to the finalization of the avalon-meta package. The sources in monitor need to be updated to the current tag spec and xinfo content regenerated using the task defintion in avalon-meta-tools-1.1.jar (or the avalon-meta-plugin-1.1.jar if your building with maven).

oh, yeah a question: for now I am using the maven merlin:simulate to test, however it blows the TypeUnknownException. Is the a way to present the .xinfo file without unwrapping the excalibur jar and putting it in there?



If there is a valid avalon-meta complianty xinfo in the monitor jar file (which is unlikely) then merlin will locate it automatically.
Stephen.


--

Stephen J. McConnell
mailto:[EMAIL PROTECTED]




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





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



--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]




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



Reply via email to