On Tue, 19 Feb 2002 18:51, [EMAIL PROTECTED] wrote:
> public void setFile(File file) {
> - log("DEPRECATED - The file attribute has been renamed destfile."
> - +" This attribute will be unsupported before Ant1.5 is
> released", + log("DEPRECATED - The file attribute has been renamed
> destfile.", + Project.MSG_ERR);
> + log("This attribute will be unsupported before Ant1.5 is
> released.", + Project.MSG_ERR);
> +
> + log("Be aware that the effect of using the file attribute
> depends on", Project.MSG_ERR);
> + log("the phase of the moon.", Project.MSG_WARN);
> + int phase = DateUtils.getPhaseOfMoon(Calendar.getInstance());
> + if (phase == 4) {
> + log("You are lucky! Full moon tonight.");
> + } else if (phase == 0) {
> + log("Be careful! New moon tonight.", Project.MSG_WARN);
> + }
> +
> setDestFile(file);
-1 for reasons already stated.
--
Cheers,
Pete
--------------------------------------------------------------
"Science is like sex: sometimes something useful comes out,
but that is not the reason we are doing it" -- Richard Feynman
--------------------------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>