ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: Problems with Perforce tasks
Date Sun, 27 Apr 2003 19:08:47 GMT
There has been a bug which has been introduced in ant 1.5.1 . It is fixed in
the current ant CVS head.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18956
Antoine
----- Original Message -----
From: "David Corbin" <dcorbin@machturtle.com>
To: <user@ant.apache.org>
Sent: Sunday, April 27, 2003 3:29 PM
Subject: Problems with Perforce tasks


> I'm trying to get my build script to automatically update a build number.
>
> Here's the series of ant tasks I'm using:
>
>          <p4change description="Adjust Build Version" failonerror="yes"/>
>          <p4edit view="${version.file}" change="${p4.change}"
> failonerror="yes"/>
>          <buildnumber file="${version.file}" />
>          <p4submit change="${p4.change}"  failonerror="yes"/>
>
> What's happening is, it appears to hang  I'm giving it many minutes to
> complete.  Executing similar commands by hand takes a second at most.
> It spits out the following:
> ---start---
> branch:
>   [p4change] Executing 'p4' with arguments:
>   [p4change] 'change'
>   [p4change] '-o'
>   [p4change]
>   [p4change] The ' characters around the executable and arguments are
>   [p4change] not part of the command.
>   [p4change] Executing 'p4' with arguments:
>   [p4change] 'change'
>   [p4change] '-i'
>   [p4change]
>   [p4change] The ' characters around the executable and arguments are
>   [p4change] not part of the command.
> ---end---
>
> When I press ctrl-C, I then get:
>
> ---start---
> Property ${p4.change} has not been set
>     [p4edit] Executing 'p4' with arguments:
>     [p4edit] '-s'
>     [p4edit] 'edit'
>     [p4edit] '-c'
>     [p4edit] '${p4.change}'
>     [p4edit] 'VERSION'
>     [p4edit]
>     [p4edit] The ' characters around the executable and arguments are
>     [p4edit] not part of the command.
> ---end---
>
> Can anyone make any suggestion as to what's happening?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


Mime
View raw message