Can't be done that way; however, you can use xml to achieve the same effect, see http://jakarta.apache.org/ant/faq.html#xml-entity-include
-----Original Message----- From: Maria Ivanova [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 11:39 AM To: [EMAIL PROTECTED] Subject: extend a project Is it possible one project to extend another, in this way inheriting all targets defined in the parent project. If "ant" task is used, e.g.: <target name="ftpconsole"> <echo message="test it"/> <ant antfile="build.xml" target="ftpconsole"/> </target> all targets from the parent project must be redefined in the child project in order to be accessed. Is there something like this: <project name="childproject" extends="parentproject.xml" ..> //all targets from parent project can be accessed here, </project> Let's have defined target "test" in parentproject.xml, I need to call it this way: ant -buildfile childproject.xml test Best regards, Maria Ivanova -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
