Hi all,
I have another problem.
I have nant build script which uses subwcrev, which take revision, last
date change and so from svn and use this for replace some strings in file.
I use this way.
I have source file named rev.source like this :
<?xml version="1.0"?>
<project xmlns="http://nant.sf.net/release/0.85/nant.xsd";
default="SetProp" name="MarkGetProp" >
  <target name="SetProp">
    <property name="revisionXSLTemplates" value="$WCREV$" />
    <property name="revisionXSLTemplatesDate" value="$WCDATE=%Y%m%d%H%M$" />
    <property name="revisionXSLTemplatesDateString" value="$WCDATE$" />
  </target>
</project>
Nant build use subwcrev on that file:
<exec program="${subwcrev}" commandline="${SourceCodeDir} rev.source
rev.build" />
So now I have build file which looks like :
<?xml version="1.0"?>
<project xmlns="http://nant.sf.net/release/0.85/nant.xsd";
default="SetProp" name="MarkGetProp" >
  <target name="SetProp">
    <property name="revision" value="35172" />
    <property name="revisionDate" value="200908271759" />
    <property name="revDateString" value="2009/08/27 17:59:32" />
  </target>
</project>
I cannot include that file in my build beacause on build script statrs
file rev.build does not exists yet.
So I try to use
<nant buildfile="rev.build" />
in my build task, but there is a problem, nant will ends with this error:
Property 'revisionDate' has not been set.

Can you help me with that?

A.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to