ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunils_82 <>
Subject Re: AW: Calling task in another xml file from main build file
Date Wed, 28 Jan 2009 11:44:02 GMT


I have used the following code to access build.xml file present in sample_1
folder from sample_2 folder.

<target name="Another.Build.File">
<ant antfile="../sample_1/build.xml" target="myBuild" inheritall="false" />

Call to another build.xml file is made successfully, but the task in that
build file fails with error stating

    [mxmlc] Loading configuration file C:\Program Files\Adobe\Flex Builder
    [mxmlc] Error: unable to open 'src/DiscoveredObjects.mxml'
    [mxmlc] Use 'mxmlc -help' for information about using the command line.
      [ant] Exiting C:\myProject\sample\build.xml.

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message