ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: Generating build files with XSLT
Date Tue, 10 Jul 2001 15:22:59 GMT

Use ${{name}} in the XSL, you will get what you want.

If you want to keep an eye of how to generate build automatically, then you
should get Ant GUMP (see Alexandria project)

Cheers,

-- 
 Stephane Bailliez 
 Software Engineer, Paris - France 
 iMediation - http://www.imediation.com 
 Disclaimer: All the opinions expressed above are mine and not those from my
company. 



> -----Original Message-----
> From: Frank Carver [mailto:frank@efsol.com]
> Sent: Tuesday, July 10, 2001 11:21 AM
> To: ant-user@jakarta.apache.org
> Subject: Generating build files with XSLT
> 
> 
> There has been some discussion here about generating build 
> files with XSLT, so I tried it yesterday.  
> I came up against a problem which seems to be the result of 
> an ANT design decision and I wonder 
> if anyone has worked round it.
> 
> My need is to maintain a central, large, "template" build 
> file with various subsitutions in it, and generate 
> a specific build file for each new project or to update the 
> build file of all the existing projects when the 
> template changes.  This seemed an ideal use for XSLT - I 
> could specify the project as a simple XML 
> defintion, and the XSLT style process would merge the 
> template and any extension specified in the 
> project file.
> 
> Unfortunately, Ant uses ${name} to refer to properties, and 
> {name} is reserved XSLT syntax.  When I ran
> my XSLT process the resulting build file was full of just 
> "$", which made no sense to Ant.
> 
> Any suggestions?
> 
> 

Mime
View raw message