> -----Original Message-----
> From: Peter Neubauer [mailto:[EMAIL PROTECTED]
> Sent: 29 August 2004 22:45
> To: [EMAIL PROTECTED]
> Subject: Some magic questions
> 
> Hi,
> playing with magic, I got some questions regarding testing:
> 
> - in the x:component task, is it possible to nest x:configuration
> elements? I
> have seen it only for parameters.

Configuration elements are not supported yet - although I do have a
version locally which is reading <x:configuration>, arbitrary children,
attributes, and string values.  

> 
> - when I use merlin-unit, during the compile task the relevant .jar
file
> gets
> assembled into target/deliverables/jars/...jar, containing the newly
> compiled
> files and the meta files. How can I reference it in the test.block
file?

You can create a test block by setting the scope attribute to "TEST":

  <x:block name="widget" scope="TEST">
    <x:component name="gizmo" class="org.whatever.DefaultTestGizmo"/>
  </x:block>

Steve.



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

Reply via email to