Title
BUILD FAILED for target "buildfile" when installing AIA FP2 demos

Date
2008-07-15

Summary
This is actually a stupid error, but it annoyed me for a good 30 seconds before I realized what the issue was, so I decided to document it.

Installing the AIA FP2 demos requires running the following commands:
    set ORACLE_HOME=e:\oracle\product\2.0.1\AIAFP2
    cd %ORACLE_HOME%\bin
    aiaenv.bat
    cd %AIA_HOME%\AIADemo\scripts
    ant -buildfile DeployDemo.xml
However, I received the following error:
    Buildfile: build.xml

    BUILD FAILED
    Target "ûbuildfile" does not exist in the project "build".

    Total time: 0 seconds
Details
1. The section titled "Task 5-2: Start the Demo Deployment" in the AIA Installation Guide (E11111-02.pdf) lists the ant command to run.

Do not copy/paste the command from the PDF file as the - (minus) sign is not copied as the ASCII character 45, hence it cannot find that specific buildfile when you issue the command.

Type the command by hand:
ant -buildfile DeployDemo.xml

Applicable Versions
Oracle Application Integration Architecture (AIA) Foundation Pack 2 (2.0.1)

References
Oracle Application Integration Architecture Foundation Pack 2.0.1: Installation Guide Release 2.0.1 E11111-02.pdf
Ahmed Aboulnaga

.com .com