This content has been marked as final.
Show 6 replies
-
1. Re: Installshield, setup.xml for core, admin messages, bb &
julien1 Jan 14, 2004 5:57 PM (in response to noel.rocher)"cooper" wrote:
ok, I suppose the statements are the same than in the "traditional" files (setup.ddl). Is there a way to generate the ddl files from the xml files in order to avoid maintaining both in sync ? an ANT task for example could do that. -
2. Re: Installshield, setup.xml for core, admin messages, bb &
noel.rocher Jan 15, 2004 3:22 AM (in response to noel.rocher)"noel.rocher" wrote:
Do you prefer XSLT transformation or a class based on a SAX parsing ? -
3. Re: Installshield, setup.xml for core, admin messages, bb &
julien1 Jan 15, 2004 8:06 AM (in response to noel.rocher)"cooper" wrote:
XSLT will do (if you are familliar with of course). -
4. Re: Installshield, setup.xml for core, admin messages, bb &
noel.rocher Jan 16, 2004 3:00 AM (in response to noel.rocher)"noel.rocher" wrote:
This is the XSLT file.
I Don't know where to put it, which build.xml file to modify.
Any help ?<?xml version='1.0'?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > <xsl:template match="/"> <xsl:apply-templates/> </xsl:template> <xsl:template match="module"> # Nukes on JBoss # module : <xsl:value-of select="@description" /> # setup.ddl # # WARNING: # This file is generated automatically, please do not modify it # directly, your changes will be lost during next generation. # Modify the setup.xml file to make permanent changes. <xsl:apply-templates /> </xsl:template> <!-- action --> <xsl:template match="action"> # # -- <xsl:value-of select="@description" /> # <xsl:apply-templates /> </xsl:template> <!-- statement --> <xsl:template match="statement"> # <xsl:value-of select="@description" /> <xsl:apply-templates /> </xsl:template> </xsl:stylesheet>
-
5. Re: Installshield, setup.xml for core, admin messages, bb &
noel.rocher Jan 16, 2004 7:20 AM (in response to noel.rocher)"noel.rocher" wrote:
forgot to put the line before the first template :
<xsl:output method="text" /> -
6. Re: Installshield, setup.xml for core, admin messages, bb &
julien1 Jan 18, 2004 5:30 AM (in response to noel.rocher)"cooper" wrote:
you should put that under nukes/nukes I think in resources :
nukes/nukes/src/resources/someclevername.xsl
and add a task in the build system called : build-ddl that generates that file.