Is there anyway to accomplish the following, or thoughts for the following down 
the road? 

Here is an example of an imported file:

<project name="importedfile">
  <target name="some-common-target" final="true">
     <echo message="This is a common target where everybody must use this 
implementation."/>
  </target>
</project>

<project name="importingfile">
  <target name="some-common-target">
        <echo message="I want to override it."/>
  </target>
</project>

And then invocation might say:

    BASH> ant -f importingfile.xml some-common-target

    Not allowed to override implementation of final target, some-common-target.
    Build failed

--
Galen Boyer



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

Reply via email to