Backup and Compiling with Build Forge
5 answers
the feature you want to look into is .date
http://publib.boulder.ibm.com/infocenter/bldforge/v7r1m2/index.jsp?topic=/com.ibm.rational.buildforge.doc/topics/dotcmd_date.html
use the example in the docs and in your mkdir use the $TIMESTAMP variable that was created by the example.
http://publib.boulder.ibm.com/infocenter/bldforge/v7r1m2/index.jsp?topic=/com.ibm.rational.buildforge.doc/topics/dotcmd_date.html
use the example in the docs and in your mkdir use the $TIMESTAMP variable that was created by the example.
the feature you want to look into is .date
http://publib.boulder.ibm.com/infocenter/bldforge/v7r1m2/index.jsp?topic=/com.ibm.rational.buildforge.doc/topics/dotcmd_date.html
use the example in the docs and in your mkdir use the $TIMESTAMP variable that was created by the example.
I'm trying this way
$FolderName = .date %d-%b-%Y.%H:%M:%S
echo FolderName
.mkdir FolderName
Error Mesagge
.date is not recognized as an internal or external command
whats wrong?
the example isn't clear.
create an environment variable in your environment group for the project. set the value of that variable to ".date %d-%b-%Y.%H:%M:%S". Reference that variable later.
.date isn't a dot command to use in a stepcommand box. It's a special environment variable value. At least that's the way you need to use it here.
create an environment variable in your environment group for the project. set the value of that variable to ".date %d-%b-%Y.%H:%M:%S". Reference that variable later.
.date isn't a dot command to use in a stepcommand box. It's a special environment variable value. At least that's the way you need to use it here.
the example isn't clear.
create an environment variable in your environment group for the project. set the value of that variable to ".date %d-%b-%Y.%H:%M:%S". Reference that variable later.
.date isn't a dot command to use in a stepcommand box. It's a special environment variable value. At least that's the way you need to use it here.
I assign the variable in this way:
.set env HelloWorldEnvironment "FolderName = .date %d-%b-%Y.%H:%M:%S"
and the result of (echo FolderName) is:
.date d-b-H:S
Do you have any example?