--- Ninju Bohra <[EMAIL PROTECTED]> wrote:
> Date: Tue, 29 Mar 2005 11:43:55 -0800 (PST)
> From: Ninju Bohra <[EMAIL PROTECTED]>
> Subject: Re: [Cruisecontrol-user] Using import in
> config.xml
> To: "Pascal Giard (QC/EMC)"
> <[EMAIL PROTECTED]>
> 
> I didn't think <import> was a valid element in a
> config.xml file.  You may be mistakening the
> config.xml for an ANT script file (in which <import>
> is a valid task)
> 
> You may want to try just a simple XML entity
> fragment
> include metadata at the top of the file...
> <!DOCTYPE project PUBLIC "-//ANT//DTD project//EN"
> "ant.dtd" [
>   <!ENTITY properties SYSTEM
> "file:../Build/properties.xml">
>   <!ENTITY targets SYSTEM
> "file:../Build/targets.xml">
> ]>
> 
> 
> Followed by referencing the named fragments
> (properties and targets in my example) with in the
> body of the .xml file with the & notation
> 
> <cruisecontrol>
>       .
>       .
>      &properties
> </cruisecontrol>
> --- "Pascal Giard (QC/EMC)"
> <[EMAIL PROTECTED]> wrote:
> > Hi guys,
> >     i've a huge config.xml and would like to split it
> > into pieces.
> > 
> > Is there a way i can use something like import?
> > 
> > i've tried using something like:
> > 
> > <cruisecontrol>
> >   <!-- Common project -->
> >   <project name="common" buildafterfailed="true">
> >     [...]
> >   </project>
> > 
> >   <import file="wutever.xml"/>
> > </cruisecontrol>
> > 
> > The wutever.xml starts and ends with project tags
> > but it's being ignored by
> > cruisecontrol.
> > 
> > How do i acheive my goal?
> > 
> > -Pascal
> > 
> 
> 
>               
> __________________________________ 
> Do you Yahoo!? 
> Make Yahoo! your home page 
> http://www.yahoo.com/r/hs
> 


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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

Reply via email to