[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: How to set global Ant properties?

You would enter
Name: build.compiler
Value: org.eclipse.jdt.core.JDTCompilerAdapter

To test if a property is set as you expect
<echo message="${build.compiler}"/>

In this example, the echo will only occur if my.property has been set to
some value.
The echo message will display the value of my.property:
<target name="reportPropertySet" if="my.property">
    <echo message="${my.property}/>
</target>

HTH
Darins

<hans.schwaebli@xxxxxxxxxxxx> wrote in message
news:b8m2ph$4l7$1@xxxxxxxxxxxxxxxx
> I have this property:
> -Dbuild.compiler=org.eclipse.jdt.core.JDTCompilerAdapter
>
> When entering data in the little global properties dialog (two text
boxes),
> is it correct to use it like this:
> Name: compiler
> Value: org.eclipse.jdt.core.JDTCompilerAdapter
>
> ???
>
>
> "Darin Swanson" <Darin_Swanson@xxxxxxxxxx> schrieb im Newsbeitrag
> news:b8lt0h$u3k$1@xxxxxxxxxxxxxxxx
> > Window>Preferences>Ant>Runtime>Properties.
> >
> > In this tab you can specify global properties or property files.
> > See
> >
>
http://dev.eclipse.org/help21/index.jsp?topic=/org.eclipse.platform.doc.user
> > /reference/ref-antruntimeprefs.htm
> >
> > HTH
> > Darins
> >
> > Please note that this newsgroup is deprecated and Ant questions can be
> asked
> > at eclipse.platform. Thanks.
> >
> > <hans.schwaebli@xxxxxxxxxxxx> wrote in message
> > news:b8lnt8$pej$1@xxxxxxxxxxxxxxxx
> > > How can I set global Ant properties in Eclipse 2.1?
> > >
> > > Please give me a detailed description or where I can find the Help.
> > >
> > >
> >
> >
>
>