ASAIK no. Main.main() -> Main.start() -> Main.Main() and none of these methods store the arguments. So you can´t access them. You can modify this class (should be very easy ...). But then you have a customized version of an Ant base class.
BTW You´re using the old email adress [EMAIL PROTECTED] The new one is [EMAIL PROTECTED] CU Jan > -----Ursprüngliche Nachricht----- > Von: Harsha Kalidindi [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 6. Mai 2003 18:11 > An: [EMAIL PROTECTED] > Betreff: command line option visibility within a task .. > > Hi: > > I am trying to write a few tasks to extend ant in > our environment. > > I would like these tasks to emit some debug > information depending > on the command line options used with the ant invocation. > > Is there a way I can get a list of command line > options that ant > was invoked with? > > Thanks, > Harsha > > [EMAIL PROTECTED] 212.762.4165 > > This communication is intended for the addressee(s) and may contain > confidential and legally privileged information. We do not waive > confidentiality or privilege by mis-transmission. If you have > received this > communication in error, any use, dissemination, printing or > copying is > strictly prohibited; please destroy all electronic and paper > copies and > notify the sender immediately. >