From: Colin Sampaleanu [colinml1@exis.com]
- when using the normal ant support in Eclipse, I am
setting the build
to use Eclipse's compile, by using the following target
which is a
dependency of my init:
<target name="configure.eclipse" if="eclipse.running">
<property name="build.compiler"
value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
<echo message="Configuring compiler for
Eclipse..."/>
</target>
With the antview plugin, this fails, presumably because
the
eclipse.running property is not being set, and of course
the whole
compile fails since the classic compiler is not available.
This
mechanism or something similar needs to be available
when using
AntView., so that the compile can be set conditionally
instead of always.
Logged In: YES
user_id=398209
Set ant property eclipse.running