Hi,

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" />
</target>

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

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

Regards,
Sunils
-- 
View this message in context: 
http://www.nabble.com/Calling-task-in-another-xml-file-from-main-build-file-tp14306496p21704208.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to