Setting property depend of other properties

2001-11-12 Thread Holger Danske
Hallo Ant-User. I want to set a new property depend on others properties, something like: condition name=newproperty and available _property_A available _property_B available _property_c /and /condition Does anybody have an idea. TIA JD

Starting exec in separate Thread

2001-11-21 Thread Holger Danske
Hallo Ant-Users. Following problem. I want to restart the Tomcat 3.2.1 Server by using his shutdown.bat and startup.bat. target name=restart echo message=${appserver.home}/ exec dir=${appserver.home}/bin executable=cmd.exe arg line=/c shutdown.bat/ /exec exec

Re: Copy-Task only if target file does not exist

2001-11-27 Thread Holger Danske
I it is one special. target name=check available file=. property=check.new.class/ /target target name=new.class depends=check unless=check.new.class copy file= todir=./ /target But this doesn't work on a collection of files.

Scope of a property

2001-11-28 Thread Holger Danske
Hello Ant-users. I have the following problem. I have a check target to check all my propereties. Many targets depends on this check target. But it is only once necessary to run the check target. So I try this: target name=check unless=is.checked property name=is.checked/ But

Re: Scope of a property

2001-11-28 Thread Holger Danske
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