I just upgraded to Windows 7. It seems to have broken my launch4j build setup.
Using the launch file below, I now get these errors:
launch4j: Compiling resources
launch4j: H:\Documents\QueryAnalyzerFaker\QueryAnalyzerFaker\.\batchexport.exe (The process cannot access the file because it is being used by another process)
launch4j: java.io.FileNotFoundException: H:\Documents\QueryAnalyzerFaker\QueryAnalyzerFaker\.\batchexport.exe (The process cannot access the file because it is being used by another process)
batchexport.exe is the file I'm trying to build. It does not exist in the dir at this point.
Here's the build script:
<path>C:\Program Files (x86)\Java\jre6</path>
And the answer is (drumroll): Build on a local drive.
It only happens on my network drive. I suspect that some synchronization daemon grabs ownership of the file halfways through the build.
Log in to post a comment.