Sure. I've attached the file.

The reported error doesn't seem to indicate that the problem is in the
.xslt file. Then again, this is my first time trying to pass parameters
to <style> so maybe the problem is there.

--Edwin

-----Original Message-----
From: Felice Vittoria [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 11:46 AM
To: Castro, Edwin Gabriel (Firing Systems Engr.)
Subject: RE: [Nant-users] include global properties

Is it possible to get a copy of your ccnet.config.xsl file?  

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Castro,
Edwin Gabriel (Firing Systems Engr.)
Sent: Thursday, September 23, 2004 12:10 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] include global properties


Hi,

I'm trying to include a buildfile with global properties into another
buildfile which would then use these properties. When I execute a target
in the second buildfile NAnt complains the properties are not set...

I've attached the buildfile, the include file, and the verbose output
from NAnt. Here is the non-verbose output form NAnt:

<CommandLine>
T:\firingsystems\nightlybuild>nant ccnet.config
NAnt 0.85 (Build 0.85.1714.0; net-1.0.win32; nightly; 9/10/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///T:/firingsystems/nightlybuild/ccnet.config.build
Target(s) specified: ccnet.config


ccnet.config:


BUILD FAILED

T:\firingsystems\nightlybuild\ccnet.config.build(13,6):
Property evaluation failed.
Expression: ${global.baseurl}
              ^^^^^^^^^^^^^^
    Property 'global.baseurl' has not been set.

Total time: 0 seconds.
</CommandLine>

I've tried a simple case where I try to include a single property and
the single target in the buildfile simple <echo>s the property's value.
That works as expected. I fear there might be a simple error in my
buildfile or my include file but I can't figure out what that might be.

Thanks for the help!

--Edwin

Attachment: ccnet.config.xslt
Description: ccnet.config.xslt

Reply via email to