Hi Vijay,

that's not correct. Eclipse allows you to put any file type you like in
the classes folder!

The only problem here is, that those files will be deleted after every
"rebuild" of the project.

On the other hand, all "non java" resources are copied automatically by
eclipse to the classes folder if located in a "source" folder. That's
why it's very easy to put the .xinfo file along with the corresponding
.java file in a source folder - it will be copied automatically to the
classes folder. Same with the block.xml - as long it is located in a
"source" folder.

Could you please describe in more detail what you are trying to achieve
- and I will try to give you a solution.

Andreas

> -----Original Message-----
> From: Sonu Vijay [mailto:[EMAIL PROTECTED]
> Sent: Samstag, 24. Januar 2004 05:47
> To: Avalon framework users
> Subject: Re: TypeUnknownException : location of .xinfo files in
Eclipse
> 
> Yeah I understand what you are saying. I have no
> problems using Maven in Eclipse, its just that Eclipse
> is not allowing me to place any thing else in the
> classes folder,besides the .class files.
> 
> But I'm going to find a way.
> 
> Thanks
> 
> 
> --- Niclas Hedhman <[EMAIL PROTECTED]> wrote:
> > 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]
> >
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
> http://webhosting.yahoo.com/ps/sb/
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to