Dominique Devienne wrote:
>>From: Steve Loughran [mailto:stevel@apache.org]
>>
>>I'm thinking more of automatically pulling the entire set of files in a
>>directory, even if that (SCM-managed) dir changes.
>>
>>I'm trying to put together our plan for an ant1.7-only build process,
>>and am working out how best to manage lib and antlib dependencies. We
>>can tell everyone to set ant args to -lib .../smartfrog/core/ant/lib ,
>>and then roll out updates to files automatically, but I guess IDEs still
>>need hand-nurturing.
>
>
> They do, and it's a pain IMHO. Some (all?) also don't understand <import>
> properly, at least not when there are properties involved. My builds start
> out as:
>
> <project name="foo" ...>
> <property environment="env" />
> <import file="${env.BUILDTOOLS}/config/module.xml" />
> ...
> </project>
>
> and for sure IntelliJ doesn't list the target which are not explicitly in
> foo, i.e. ignores all targets from the imported module.xml. Does any other
> IDE deals with this correctly?
intellij does work for me, though its a bit quirky; it automatically
filters them out unless you ask for them.
Eclipse doesnt handle impoprts properly as it copies the build,xml to
its workspace, you need to go
<import file="${basedir}/common.xml" />
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|