Hi,

-----Original Message-----
From: Mitja B. [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 19, 2007 7:50 AM
To: user@ant.apache.org
Subject: import file inside target

/*
<target name="compile" depends="init" description="Compile">
<import file="build_ModelIRC200.xml"/>g
<import file="build_Model.xml"/>
<import file="build_View.xml"/>
</target>

i get error that import is only allowed as a top-level task.

I need to call this files inside compile target. How can i make this?
/*

Do you want to load properties via import ?
Use <xmlproperty ... />, <property ... />, <loadproperties ... />
or <loadfile ... />

Do you want to do some xml transformation / need to edit
xml files ?
Use the <xmltask>

Do you want to call other buildfiles ?
Use the <ant antfile="..." ... /> task


Regards, Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to