At 12:21 4/9/00 -0400, you wrote: >Hi, this is my first post to Ant, but I've been working on developing a GUI >front-end to Ant so that it can be used as installer software (ala >InstallShield). In doing this, I've run across a few bugs, and some things >I've added for convenience.
kewl ! Is it going to be opensource ??? >2. When using the "if" attribute for a target, it could only ask if >something exists, and execute if it did. However, I wanted to ask if >something didn't exist, and execute the task only then. At first, I tried >some very clumsy, awkward stuff in the build file, but then I got tired of >debugging that, so I added the ability to use the NOT operator within the if >value. So, I can write <target name="install_apache" depends="init" >if="!apache_installed">, and it will install apache only if it's not already >installed (or, to be precise, only if the property, "apache_installed", does >NOT exist). we already have an unless attribute that does just that. Download latest CVS and try it out :P Cheers, Pete *------------------------------------------------------* | "Nearly all men can stand adversity, but if you want | | to test a man's character, give him power." | | -Abraham Lincoln | *------------------------------------------------------*
