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=offad-ysdn-ostg-q22005
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users