ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holger Danske <holgerdansk...@yahoo.de>
Subject Re: Scope of a property
Date Wed, 28 Nov 2001 12:09:54 GMT
> is this literally taken from your buildfile?  What
> do you expect that
> property task to do without either a value, location
> or ref attribute?


  <target name="check" unless="is.checked">
    <property name="is.checked"/>
    <!-- Applicationtype -->
    <condition
property="check.application_type.setting">
      ...
    </condition>

    <!-- Deploy -->
    <condition property="check.deploy.setting"
value="true">
      ...
    </condition>
  </target>


  <!-- Redeployen der Anwendung im ausgepackten
Zustand -->
  <target name="redeploy.expand" depends="init,
check">
    <antcall target="clear"/>
    <antcall target="deploy.expand"/>
  </target>


  <target name="clear" depends="init, check"
if="check.application_type.setting">
    ...
  </target>

  <target name="deploy.expand" depends="init, check"
if="check.deploy.setting">
    ...
  </target>


The check target is running thrice.

JD

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Ihre E-Mail noch individueller? - http://domains.yahoo.de

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message