ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <>
Subject RE: Problems building EJBs
Date Tue, 01 Oct 2002 15:36:58 GMT
> -----Original Message-----
> From: Tammy Croteau []
> Sent: Monday, September 30, 2002 7:16 PM
> To: Ant Users List
> Subject: Problems building EJBs
> Hi,
> I have an ant build task that build EJBs using Bluestone.  Everything
> compiles and builds, however the final step of the EJB  build 
> process is
> to copy the jar file to the target destination.  The copy fails with a
> "file in use" error.  I am forking during the java call to build the
> EJBs and have also tried introducing a sleep to ensure that all file
> locks have been released.  This process fails on some machines and
> succeeds on others - the pattern seems to be fairly random.

I would guess this is on Windows?  That kind of error usually means that
some other process has a file open that you're trying to write to, like the
application server and the jar file.  Are you doing this while the
application server is running?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message