Build Error when using apache-ant
Posted: Wed Jul 12, 2006 12:54 pm
I just purchased InstallAware and am having problems integrating InstallAware with out ant build process.
When I use the command line by itself everything works fine. When I run the command line from within an ant script the build fails as soon as it tries to package a jar file.
The problem is that the jar file has already been loaded by ant so the operating system says that it is in use.
We used the same procedure with wise without problems. I assume that InstallAware is opening files for "read/write" access during the compression instead of "read" access.
The error message is:
Error during build: Cannot open file "<path to jar file>". The process cannot access the file because it is being used by another process
Are there any work arounds?
When I use the command line by itself everything works fine. When I run the command line from within an ant script the build fails as soon as it tries to package a jar file.
The problem is that the jar file has already been loaded by ant so the operating system says that it is in use.
We used the same procedure with wise without problems. I assume that InstallAware is opening files for "read/write" access during the compression instead of "read" access.
The error message is:
Error during build: Cannot open file "<path to jar file>". The process cannot access the file because it is being used by another process
Are there any work arounds?