Inconsistent property resolving in Magic
Raffael Herzog
herzog-lists at raffael.ch
Mon Mar 7 08:49:57 EST 2005
Hi,
Magic behaves inconsistently when resolving properties:
When doing imports, the class Index uses Project#replaceProperties() for
resolving the properties, i.e. the properties defined in the Ant project
are used.
Any other code uses ElementHelper#normalize(String value), which in turn
calls ElementHelper#normalize(String value, Properties props) with the
system properties as value for 'props'. Therefore, Properties defined in
the Ant project aren't used in e.g. info/group.
cu,
Raffi
--
The difference between theory and practice is that in theory, there is
no difference, but in practice, there is.
Raffael Herzog <herzog at raffael.ch> -- ICQ #67961355
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.ibiblio.org/pipermail/dev-dpml/attachments/20050307/92bcaf15/attachment.bin
More information about the dev-dpml
mailing list