ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: hooks/post-commit not being called when commiting with Ant.
Date Tue, 29 Jul 2008 10:47:51 GMT
mindspin311 wrote:
> What I'm doing is tagging a build in an ant script using a user 'build'. This
> is an actual user, and not something like apache or someone without a shell
> account.
> 
> I've got automated builds triggered using Atlassian Bamboo when done from
> the command line or doing a commit in a third party app like Eclipse. This
> works fine.
> 
> The thing is, when I do an automated tag in my build script using <svn
> javahl=${javahl}> ...... </svn>, it doesn't seem to get read in the
> post-commit script. 
> 
> It seems to be either a problem with post-commit not being called when a tag
> is done, or it not being called when committing in ant.
> 
> Anyone have any ideas?

ant's svn command just relays out to the svn command on the command 
line; you can see this in a -v or -d run. So if that command line tool 
run that script, then Ant should too.

Try getting the command line with the -verbose option and type it by 
hand to see if the scripts get called then

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message