Vikas

The only purpose of the /BLOCK-INF folder is to provide the path to an embedded block defintion. When embedding a block def in a jar file it *must* be located at the resource address /BLOCK-INF/block.xml.

But if your just trying to run the component then you can declare a standalone block (anywhere) and reference that. Or, just reference the generated jar file.

One thing to remember concerning embedded blocks - the only difference is that the content from the root address of /BLOCK-INF/block.xml is included implicitly in the classpath of the container. So making up an explict block just means adding the classes directory to you classpath.

Stephen

Vikas Phonsa wrote:

Ok, I'm trying to run some components from within my Eclipse base WDSC IDE.

In This particular case, Eclipse won't allow me to place the BLOCK-INF
folder under the target/classes folder which is the output folder for my
classes.

In general it isn't allowing me to place the BLOCK-INF folder in any folder
that would act as my classes folder.

And Merlin CLI, which I have configured as an external tool in my IDE looks
for BLOCK-INF under classes folder and crashes.

So I was wondering if I can override the location where Merlin looks for
BLOCK-INF folder.

And Do you guys use IDEs ? If yes which one ?

Vikas



-----Original Message-----
From: Farr, Aaron [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 12:29 PM
To: 'Avalon framework users'
Subject: RE: can I change the location of block.xml





-----Original Message-----
From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 2:07 PM
To: 'Avalon framework users'
Subject: can I change the location of block.xml


Can I change the location where merlin CLI looks for block.xml ?


Vikas


Can you show an example of what you are trying to do?

J. Aaron Farr
  SONY ELECTRONICS
  DDP-CIM
  (724) 696-7653

---------------------------------------------------------------------
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]




--

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/merlin/distributions/latest    |
|------------------------------------------------|

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



Reply via email to