On Friday 23 January 2004 15:48, Vikas Phonsa wrote:
> Now can I specify a different location for my .xinfo files. I specified a
> different location for my block.xml in merlin.properties using
> "merlin.deployment".
>
> What abt the .xinfo files ?

I believe that the .xinfo file is located by calling 
getClassLoader().getResourceAsStream(), which means that the .xinfo must be 
in the classpath of the classloader in use.

I.e. The easiest way is to have the .xinfo file in the same JAR ( and of 
course the same directory within that JAR) as the .class file.
Technically, you could do it other ways, but I strongly discourage it.

You should also let the Meta plugin generate the .xinfo file, and there is a 
ANT task (if you don't want to / can not use Maven) for the purpose.

http://avalon.apache.org/meta/tools/ant.html

If you absolutely need your handcoded .xinfo file, then I would suggest that 
you plainly put it together with the Java file, and it should be packaged 
correctly.

Niclas

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

Reply via email to