Letractively / jcatapult

Automatically exported from code.google.com/p/jcatapult
0 stars 0 forks source link

'ant rel' target throwing errors on Windows XP #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Running 'ant rel' target throws the following error on Windows XP:
     [exec] BUILD FAILED
     [exec]
C:\dev\jcatapult\ant\plugins\release-svn\1.0\release-snapshot.xml:45: The
following error occurred while executing this line:
     [exec]
C:\dev\jcatapult\ant\plugins\release-svn\1.0\release-common.xml:390: Unable
to delete directory C:\Documents and
Settings\jhenry\.jcatapult\release\texturemedia-core-2008-05-07-172331

This error doesn't break the release, but it doesn't properly clean up
after the build. This is only an issue on Windoze.

Thanks.

Original issue reported on code.google.com by joe.w.he...@gmail.com on 8 May 2008 at 2:51

GoogleCodeExporter commented 8 years ago
Possible Cause:
I believe this is a race case condition.  Windows locks the .jcatapult/release 
while
doing work and doesn't unlock it before the ant scripts try to delete it during 
the
clean up step.

Possible Solution:
Have ant pause for X amount of time prior to cleanup.

e.g.
<sleep seconds="5"/>

If this doesn't work, we might just have to kill the process directly.

Original comment by leafkn...@gmail.com on 8 May 2008 at 9:23

GoogleCodeExporter commented 8 years ago
resolved

Original comment by leafkn...@gmail.com on 23 May 2008 at 9:46

GoogleCodeExporter commented 8 years ago

Original comment by leafkn...@gmail.com on 23 May 2008 at 9:46