Célio, I may be missing something... But where is project.properties defined?
Is it possible that your include file is not getting included? You might want to try adding an <echo> task within the project so you know that it is. Regards, Richard -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Célio Cidral Junior Sent: Tuesday, May 24, 2005 10:49 To: nant-users@lists.sourceforge.net Subject: [Nant-users] Cannot reference properties that are in an included file Hi! I'm getting an error when the properties in my build script are referencing other properties which are in an included build file. The main build file (called bootstrap.build) looks like this: <project name="Project Integrator" default="start-integration"> <include buildfile="${project.properties}" /> <property name="projects.path" value="c:\projects" /> <property name="project.path.workingfolder" value="${path::combine(projects.path, project.dir.local)}" /> ... </project> The included file (myproject.include): <project> <property name="project.path.repository" value="$/MyProject"/> <property name="project.dir.local" value="MyProject"/> ... </project> The output is shown as: C:\ccnet\server>nant -buildfile:bootstrap.build -D:project.properties=myproject.include ... Property evaluation failed. Expression: ${project.path.workingfolder} ^^^^^^^^^^^^^^^^^^^^^^^^^^ Property evaluation failed. Expression: ${path::combine(projects.path, project.dir.local)} ^^^^^^^^^^^^^^^^^ Property 'project.dir.local' has not been set. Have anyone experienced this problem? How could I solve it without having to give up using the include file? Thanks! Celio Cidral Junior WEG Eletric Brazil ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005 _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users