ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxime CARPENTIER <maxime.carpent...@cirso.fr>
Subject trying to commit not up-to-date files doesn't make the build fail
Date Thu, 05 Apr 2012 11:59:03 GMT
Hello list,

i'm having trouble using the cvs commit command via ant :

<cvs command="commit -m &quot; test message &quot;" dest="..." cvsRoot=
"..." />

this command works well except for one thing : it doesn't fail if someone 
else changes and commit files i want to commit just before the command 
commit : 

      [cvs] cvs commit: Examining .
      [cvs] cvs commit: Up-to-date check failed for `version.properties'
      [cvs] cvs [commit aborted]: correct above errors first!

Only a "commit aborted" message shows off, but the build stays 
successful...For other errors like cvs connexion fails, etc...there is a 
message + the build fails.
Any idea on how could i solve this ? is there a command to check that 
everything has been commited and fails otherwise ?

Thanxs for your help,
Max

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