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?
Build Error when using apache-ant
-
- Posts: 6
- Joined: Wed Jul 12, 2006 12:43 pm
Work Around
I created a work around by copying the files that are in-use to another directory and updating the installaware script to use the other directory.
FYI: Files marked as read-only can be compressed so it must be a problem with something like FILE_SHARE_NONE.
FYI: Files marked as read-only can be compressed so it must be a problem with something like FILE_SHARE_NONE.
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Thanks, I'll report this and try to get it resolved.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 185 guests