I did some testing with this setup:
- Windows XP
- Java 1.6.0_10
- Apache Ant 1.7.1
- Python 2.5.2
Just invoking 'appgen' does not work on Windows. I was able to make progress by issuing:
python %EDK_HOME%binappgen
(where python is in the PATH, of course). I then encountered a Windows-specific problem with the appgen program that I was able to work around. After answering the questions, I got an error like:
| Code: : |
WindowsError: [Error 183] Cannot create a file when that file already exists: 'myNewApp\\SarContent\\WEB-INF'
|
The error code for Windows is different from the error code for Un*x systems. I edited line 58 of appgen so that it now reads:
| Code: : |
if errno == 17 or errno == 183:
|
After this change, appgen was able to complete its work successfully.
Give this a try and let me know if it helps you. I will fix this for the next release.