You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Sunils_82 <su...@yahoo.com> on 2009/01/30 07:33:25 UTC

Error: Unable to Open

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


Re: Error: Unable to Open

Posted by Mark Salter <ma...@talktalk.net>.
Sunils_82 wrote:

> I have a build.xml file in Folder_A
> and another build.xml file in Folder_B
> 
[snip]
> I'm not getting FileNotFoundException, its an "Unable to open" Error.
What is the *exact* error please?

  ant -verbose

will show you the files being used and a more of what is happening,
perhaps post the output here?

-- 
Mark

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