On Sun, 12 Jan 2003, Vincent Massol <[EMAIL PROTECTED]> wrote:
> the disconnected mode, i.e. it does not work anymore if you're not
> connected to the internet. Thus, I now have to modify the build.xml
> and comment out the <cvschangelog> task whenever I need to generate
> the doc when not connected to the internet.
>From Ant's build file:
<condition property="offline">
<or>
<isset property="offline"/>
<not>
<http url="http://www.apache.org/"/>
</not>
</or>
</condition>
and only run <cvschangelog> when offline has not been set?
Due to property immutability the <isset/> looks redundant, but it
saves you the (potentially time-consuming) check if you know that the
system is not connected.
Stefan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>