problems with cctimestamp

Sascha Ernst <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hello,

I got some strange behavior with cctimestamp...

First some words about the environment:
Current version of cruisecontrol
OS: ubuntu 9.1 64bit
Ant: 1.7.1
Java: 1.6.0_11

Now a snipplet of my CC config.xml

<cruisecontrol>

  <property name="ant.home"   value="/space/ant/apache-ant-1.7.1" />
  <property name="maven.home" value="/space/maven/apache-maven-2.2.1" />

  <!-- sets root directory for the NightlyBuildSystem -->
  <property name="_NBS.dir" value="/space/NBS"/>
 <!-- timestamp will be used in ant-buildscript -->
  <property name="_NBS.timestamp" value="${cctimestamp}"/>

  <system>
    <configuration>
      <!-- number of builds that can run simultaneously -->
      <threads count="4"/>
    </configuration>
  </system>


  <project name="Mailminder NBS" buildafterfailed="false" requireModification="false">

    <property name="_NBS.mm.project.root.dir" value="${_NBS.dir}/mailminder"/>

    <listeners>
      <currentbuildstatuslistener file="logs/${project.name}/status.txt" />
    </listeners>

    <bootstrappers>
                  <!-- we do not do the checkout here -->
    </bootstrappers>

    <modificationset>
                <!-- run the build every night at 0:00 -->
      <timebuild time="0000" />

                <!-- run one build after another - ->
                <alwaysbuild /> -->
    </modificationset>

                <!-- interval="120" for testing purposes, intervall="3600" for real live -->
    <schedule interval="43200" >
      <ant antscript="${ant.home}/bin/ant"
                   buildfile="${_NBS.mm.project.root.dir}/build.xml"
                   target="build_complete"
                   uselogger="true"
                   showProgress="true"
                   showAntOutput="true">
                   <property name="timestamp" value="${_NBS.timestamp}" />
                </ant>
     </schedule>


Now to my problem:
The property "timestamp" is not set in the ant-script.
If I run the same script on my windows buildserver (old, freaky, unstable), ant uses the timestamp without
any problem.

I tried several ways to submit the cctimestamp to the buildscript. No chance :( .

Has anyone an idea how to deal with this?
I use the timestamp to create an unique folder for each build (we keep the last 10 builds).

Regards

///Sascha Ernst///



Ein Gruss von der Saar

--
Sascha Ernst
Dipl. Inform.
Head of Software Quality Management
________________________________

Telefon: + 49 (0)681 - 302 - 5133
Telefax: + 49 (0)681 - 302 - 5109
E-Mail: [email protected]<mailto:[email protected]>
Website: http://www.living-e.com<http://www.living-e.com/>
________________________________

Living-e AG
Campus D3 2
66123 Saarbrücken
________________________________

Vorstand: Guido Polko
Aufsichtsratsvorsitzender: Uwe Feuersenger
Amtsgericht: Mannheim, HRB 111323


Informationen zu Messeauftritten und Events finden Sie unter http://www.living-e.de/de/news/events.php

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.