ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charbel BITAR <antprettybu...@free.fr>
Subject RE: Ant Pretty Build... (The Return)
Date Mon, 11 Aug 2003 10:47:45 GMT

Well, Jan, your wish was exauced...
Here is a screenshot of the 'util.xml' rendering:
http://antprettybuild.free.fr/xsl/screenshot.html

--
Charbel


Quoting Jan.Materne@rzf.fin-nrw.de:

> > I'll explicitly describe how to use this tool:
> 
> Screenshots would be good so the user knows what he should get :-)
> 
> 
> 
> > 2- Environment variables.
> > Environment variables may be set or not in the xsl stylesheet 
> > depending on your 
> > system.
> > So, if you already have configured your environment to run Ant,
> > you only need to clear tag content of xsl:variable like this:
> > 
> >   <!-- Environment Variables -->
> >   <xsl:variable name="JAVA_HOME"></xsl:variable>
> >   <xsl:variable name="ANT_HOME"></xsl:variable>
> >   <xsl:variable name="PATH"></xsl:variable>
> > 
> > If not, you have to set variables to match your local paths.
> > (I can't imagine you don't know what are JAVA_HOME, ANT_HOME 
> > and PATH!)
> > In the tag text, you can use '/' or '\\' as separator this way:
> > 
> >   <!-- Environment Variables -->
> >   <xsl:variable name="JAVA_HOME"></xsl:variable>
> >   <xsl:variable name="ANT_HOME">C:/Program Files/Apache 
> > Group/Ant</xsl:variable>
> >   <xsl:variable name="PATH">%PATH%;C:/Program Files/Apache 
> > Group/Ant/bin</xsl:variable>
> > 
> > or 
> > 
> >   <!-- Environment Variables -->
> >   <xsl:variable name="JAVA_HOME"></xsl:variable>
> >   <xsl:variable name="ANT_HOME">C:\\Program Files\\Apache 
> > Group\\Ant</xsl:variable>
> >   <xsl:variable name="PATH">%PATH%;C:/Program Files/Apache 
> > Group/Ant/bin</xsl:variable>
> 
> 
> fine
> 
> 
> > If someone needs to pass these as params from outside the 
> > xsl, <xsl:param>s may 
> > be used instead of <xsl:variable>s.
> 
> 
> You should use the <xsl:param> instead of <xsl:variable>. <param>s
can
> define
> the values like <variable>s but have the ability that the can be set from
> outside.
> 
> 
> 
> 
> Jan
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message