use of Velocity #include

Matthew Hegarty <[email protected]>
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
Hello

I am having trouble getting the Velocity 'include' directive to work alongside Middlegen, eg:
 
I have the directive: 
	 	 	
#include( "copyright.txt" )

At the top of my vm file, but am not seeing any data from this included file in the generated file, after Middlegen is run.

I can't find anything helpful in either the Middlegen or Velocity documentation to do with this.

Has anyone managed to get this working?  If so, I would appreciate your advice.

Matt








-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.