I'm no authority, but is your include tag actually doing anything?

I haven't seen any documentation from an authority anywhere, but the way
to get a maven.xml file to 'extend' another one, is to have their
companion project.xml files extend each other (i.e. your method doesn't
work). 

The reason it prints out the <include> tag is because it doesn't
understand it, so spews it out to System.out to tell you so.

Max
On Thu, 2004-05-06 at 11:19, [EMAIL PROTECTED] wrote:
> Quick question:
> 
> If I've got a maven.xml that looks like this:
> 
> <project>
>       <!-- contains definition of foo goal>
>       <include file="../maven.xml" />
> 
>       <goal name="bar">
>               <attainGoal name="foo" />
>       </goal>
> </project>
> 
> When I execute it works as expected, but this gets printed in the output
> 
>       <include file="../maven.xml"></include>
> 
> which obviously isn't fatal, but is annoying.  Can this be suppressed, or am
> I just doing it wrong?
> 
> thanks
> 
> James
> 
> 
> 
> ------------------------------------------------------------------------
> For more information about Barclays Capital, please
> visit our web site at http://www.barcap.com.
> 
> 
> Internet communications are not secure and therefore the Barclays 
> Group does not accept legal responsibility for the contents of this 
> message.  Although the Barclays Group operates anti-virus programmes, 
> it does not accept responsibility for any damage whatsoever that is 
> caused by viruses being passed.  Any views or opinions presented are 
> solely those of the author and do not necessarily represent those of the 
> Barclays Group.  Replies to this email may be monitored by the Barclays 
> Group for operational or business reasons.
> 
> ------------------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
[M. Grender-Jones                                ] 
[MSN: [EMAIL PROTECTED]       ICQ: 28467015] 

A lot of money is tainted.  It taint yours and it taint mine.


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

Reply via email to