ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: import file inside target
Date Wed, 19 Sep 2007 06:40:38 GMT
 
Hi,

-----Original Message-----
From: Mitja B. [mailto:info@mitjab.com] 
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message