Hi,

Although this is quite old topic, let me add two cents since I'd been guided
by it when faced the same trouble.

The initial question mentioned using
<?eclipse.ant.import?> on the top of the manual edited file
which assumes that main build file (passed to Ant and from which default
"build" target is invoked) is generated by Eclipse (build.xml). Such
build.xml in turn automatically imports user's build file:
><import file="build.proxies.xml"/> 

The solution proposed above makes user's build file the main one (and
generated build file becomes included).
Thus the feature of automatic importing files annotated with
"<?eclipse.ant.import?>" is not used.
That is what wasn't mentioned and had me to stop and think :) 

Please correct me if I am wrong, but I've tried the way where
"build.proxies.xml" was included one and referred to "foo.build", and that
way Ant didn't work well.

-- 
View this message in context: 
http://www.nabble.com/Target-overriding-inside-imported-files.-tp20737999p25530419.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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

Reply via email to