Hi

When I combine 2 preprocessor constants with a space inbetween the behavior
is somwhat inconsistent
wir CCNet 1.6.7649.1.

With the following Config File it creates the directories
C:\Test\Space Error\Artifacts
C:\Test\Space Error\Working
and
C:\Test\SpaceError\BuildLogs <- No Space between 'Space' and 'Error'.

It also has a problem writing the Statefile.

This did work with CCNet 1.5.7256.1, it created the folders then always with
spaces.

Regards
Malte


<?xml version="1.0" encoding="utf-8"?>
<cruisecontrol xmlns:cb="urn:ccnet.config.builder" xmlns="
http://thoughtworks.org/ccnet/1/5";>
  <project>
    <name>Space Error Demo</name>

    <cb:define Name1="Space" />
    <cb:define Name2="Error" />

    <cb:define BaseBuildDir="C:\Test\$(Name1) $(Name2)\" />

    <workingDirectory>$(BaseBuildDir)Working</workingDirectory>
    <artifactDirectory>$(BaseBuildDir)Artifacts</artifactDirectory>

    <state type="state" directory="$(BaseBuildDir)State" />

    <!-- Force only -->
    <triggers />

    <tasks>
      <exec>
        <executable>C:\Windows\System32\cmd.exe</executable>
        <buildArgs>/c dir</buildArgs>
      </exec>
    </tasks>
    <publishers>
      <xmllogger logDir="$(BaseBuildDir)BuildLogs" />
      <statistics />
    </publishers>
  </project>
</cruisecontrol>

Reply via email to