ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eli Skoran <>
Subject question about tstamp
Date Mon, 29 Oct 2012 07:39:41 GMT

I am using tstamp and I have a problem I did not find a solution for:
Here is a code sample:

<project name="XXX">
              <format property="date" pattern="dd_MM_yyyy" />
              <format property="time" pattern="HH_mm_ss" />

<property name = "" value="VERSION_NAME_${date}_${time}" />
       <property name = "" value="${svn.tags}/${}" />

<target name="create.tag">
                     <svnExists target="${}"/>
                           <echo>SVN tag already exists: ${}, reusing</echo>
                     <echo>Creating new folder in SVN: ${}</echo>
                     <svn username="${svn.username}" password="${svn.password}">
                           <mkdir url="${}" message="tag: ${p.tag}" />
                     <foreach param="module_name" target="tag.module" list="${svn.projects}"
parallel="false" maxthreads="10"  delimiter=";"/>

       <target name="tag.module">
              <echo message="tagging ${module_name}" />
              <echo>Copying from ${svn.root}/${module_name} to ${}</echo>
              <svn username="${svn.username}" password="${svn.password}">
                     <copy srcUrl="${svn.root}/${module_name}" destUrl="${}"
message="tag: ${}" />

The problem is that each time is used (inside the forreach -> tag.module)
the timestamp is different, hence there is a new folder created in SVN.

How can I fix that?

Eli Skoran

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message