ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunils_82 <sunils...@yahoo.com>
Subject Error: Unable to Open
Date Fri, 30 Jan 2009 06:33:25 GMT

Hi,

I have a build.xml file in Folder_A
and another build.xml file in Folder_B

When i run both these build files separetely, they get executed
successfully.

But using the below code when i run build.xml file in Folder_B and make a
SUBANT call to target in build.xml file present in Folder_A.
i get Unable to open error.

Build.xml in Folder_B
--------------------------------
<target name="call.Folder_A">

	<subant target="compile.mxml" inheritall="false">
	      
	      <fileset dir="../Folder_A/" includes="build.xml" />
	      
	</subant>

</target>

Build.xml in Folder_A has target named "compile.mxml" which performs
compiling process of a mxml file.

I'm not getting FileNotFoundException, its an "Unable to open" Error.

I also tried
<target name="call.Folder_A">
    	<ant antfile="../Folder_A/build.xml" target="compile.mxml"
inheritall="false" />
</target> 
but get the same error. 

would appreciate any help. 

Thanks,
Sunils
-- 
View this message in context: http://www.nabble.com/Error%3A-Unable-to-Open-tp21742165p21742165.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message