sure, but there are problems if you call it multiple times. - properties are immutable and is logged - overriding paths results in a log message
Jan > -----Urspr�ngliche Nachricht----- > Von: Laran Evans [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 9. Dezember 2004 18:20 > An: Ant User Mailing List > Betreff: Path definition in macro > > Is it allowed to define paths in a macro, like this: > > <macrodef name="configure-build-for-server"> > <attribute name="server-type"/> > <sequential> > <property name="my.dir.auto-deploy" > value="[EMAIL PROTECTED]"/> > > <property name="my.dir.server.compat" > value="[EMAIL PROTECTED]"/> > > <property name="my.pattern.server.compat" > value="[EMAIL PROTECTED]"/> > > <path id="my.lib.server-compat"> > <pathelement path="[EMAIL PROTECTED]"/> > </path> > > </sequential> > </macrodef> > > -- > Laran Evans - Cornell University > p: (607) 255-6864 f: (607) 255-0327 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
