[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -Dants.debugFlags=ANTS_DANTE (etc.) is Evil (tm)
>> Hi. In today's weekly ABOCC teleconference, we (the Activate
>> project at ISI and SRI) decided that the way that ANTS passes
>> command-line debugging flags is Evil (tm).
>>
>> Do you think it would be reasonable to make
>> "edu.utah.janos.nodeos.Main" to take flags (perhaps woth the same
>> syntax,) to set the debug flags before calling its own target class?
>
>I don't have a problem with it... How about:
>
> -janos.debugFlags=NODEOS_BLAH for edu.utah.janos.nodeos.Main
>
> and
>
> -ants.debugFlags=ANTS_BLAH for ants.core.ConfigurationManager
Er, so if I wanted to set both, the ABoneShell command would
be something like this?
pload J=http://bro.isi.edu/ANTS/ants2.0/~edu.utah.janos.nodeos.Main \
T=${TYPE} D=T${TYPE} C=ANTS_2 R=err O=out V=${jdk} \
S=-janos.debugFlags=NODEOS_BLAH \
S=ants.core.ConfigurationManager \
S=-ants.debugFlags=ANTS_BLAH \
S=core.config S=${vaddr}
That's OK by me, although on second thought maybe:
pload J=http://bro.isi.edu/ANTS/ants2.0/~edu.utah.janos.nodeos.Main \
T=${TYPE} D=T${TYPE} C=ANTS_2 R=err O=out V=${jdk} \
S=--debug=NODEOS_BLAH \
S=ants.core.ConfigurationManager \
S=--debug=ANTS_BLAH \
S=core.config S=${vaddr}
would look a little more "normal" to the Unix hoi polloi. Note also
that I used double-dashes for the Gnu-at-heart (in this case, also
known as the POSIXly enhanced). Comments?
>I'd still like to keep the original method available too though,
>okie?
Sure. Leaving the original method in place doesn't cause a
security heartache for us, so long as we don't have to worry about
someone using it. :-)
Craig Milo Rogers
[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah