-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Stefan,
On 2/21/20 11:44, Stefan Bodewig wrote: > On 2020-02-15, Christopher Schultz wrote: > >> Due to a mistake in a somewhat complicated build file, I >> discovered that pattern sets can be redefined in a way that is >> fairly surprising to this seasoned ant user. > > Yes, you references can be re-assigned. I'm not sure whether we > have this documented properly, anywhere, probably not. At least you > should see a warning. > > Historically properties became immutable (pre Ant 1.1) by accident > and then we thought this was neat and kept it that way. References > OTOH have never been immutable and I know a few build processes > that rely on this behavior. Aha, okay. I was mostly wondering if this was a bug or intended behavior. "Most likely ?? intended behavior" is a reasonable response :) It would be a good idea to explicitly document the intended behavior, here. If properties are immutable, we should say so (I'm sure that's there already). If reference names are *mutable*, then *that* should be explicitly noted and I'm almost positive it's nowhere in the documentation. Thanks! - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl5QDykACgkQHPApP6U8 pFja+Q/+PwOHj4zOBrxm18DXcRZ9PmzGHO/RmnQolUrIQASDjBhJJyggA2dpybjq tPVwKM1ESKhdOGqsSaZpccUlcQhSMo2RzfXGcU4QJPvxD1aahDzsMr2Meha/MjNJ 11vQfX2Tg34LbFO0y1xmcGTBB5V3XEg7GLtu9N0LmQHdcftxLh/HplBLbhHOIx3R g5s3sNi03joBq0lXdmhx6U+L7VAlnVyd4So8leATo2Qr0+9hUENGITkqstO6vFjc WOCDT6ZiAX5l8Ne2KIkuWANlk4J3k5Oy3Z4axyJM98Xg48Zm5KdN0IQenS93PV0r 8CvHdw5xbBcpKTTXZB3JplcdXf2s3wfWl/R5ioXMuB37Gjxxijbexa2XQmpyklLp N1nqxUWH8478mTz+Cj8bsWor+bKtvidLYXtniFjux5BFEwvmmDJg30ALpubSEgqD XKGaP6NlliqdP/MARL//9P23sMADEUnfUlbdTxnBiob0RxR5lp3CIg3WyytqwGbk em40kXCOtvkUH5OZFgJK3CvGzvSZE1OLoG/FGUS6BCVy9a5V5OYaIkA1uf/K5Itz C48e/v0gUqtkQSBDnEm15iZpNd0sqSzbXjDotWoer18hqJ8R92C4BJvQYKXcxNcL 4pOdzMbPuidZgAJeZzMzQVWjcnT8r/ZC3TsTyHN27j50VA/fV+c= =N9rk -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org