ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: code assist in eclipse
Date Mon, 28 Aug 2006 07:05:47 GMT
This is more an Eclipse related question.
And in a plain text mail - your "highlighted" properties are not visible ;-)

AFAIK Eclipse highlighted properties while typing. It knows that because of the syntax ${PROPNAME}.
Code Assist instead needs an already defined property. E.g. in your "compress" target - where
is the definition of ${dist}?


>-----Urspr√ľngliche Nachricht-----
>Von: [] 
>Gesendet: Freitag, 25. August 2006 19:26
>Betreff: code assist in eclipse 
>Hi All,
> I have the following simple build file .All the highlighted 
>properties are not available through Code Assist.Where as 
>other properties like message , source are available 
>throughout the build.xml.Is it something Im doing wrong ?
><?xml version="1.0" ?>
><project name="makefile" default="main">
>          <property name="message" value="Building the 
>project.jar file."
>          <property name="message2" value="Building the 
>project.jar2 file."
>          <property name="source" location="src" />
>          <property name="basedir" location="." />
>          <property name="build" location="build" />
>          <property name="output" location="classes" />
>          <property name="mydir" location="classes" />
>   <target name="init">
>                  <mkdir dir="${output}" />
>                  <mkdir dir="${build}" />
>   </target>
>    <target name="main" depends="init,compile, compress" 
>description="Main target">
>        <echo>
>            ${message}
>        </echo>
>    </target>
>    <target name="compile" description="Compilation target">
>        <javac srcdir="${source}" destdir="${output}"/>
>    </target>
>  <target name="compress" description="Compression target">
>        <jar destfile="${dist}/Project.jar" zipfile="${build}/"
>includes="*.class" />
>  </target>
>Vinodh Subbiah
>This communication may contain privileged and/or confidential 
>information. It is intended solely for the use of the 
>addressee. If you are not the intended recipient, you are 
>strictly prohibited from disclosing, copying, distributing or 
>using any of this information. If you received this 
>communication in error, please contact the sender immediately 
>and destroy the material in its entirety, whether electronic 
>or hard copy. This communication may contain nonpublic 
>personal information about consumers subject to the 
>restrictions of the Gramm-Leach-Bliley Act. You may not 
>directly or indirectly reuse or redisclose such information 
>for any purpose other than to provide the services for which 
>you are receiving the information.
>127 Public Square, Cleveland, OH 44114
>If you prefer not to receive future e-mail offers for products 
>or services from Key send an e-mail to 
>with 'No Promotional E-mails' in the SUBJECT line.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message