Hi Frank, that's it! I don't know how this invalid "-"-sign (which looks exactly the same as the "correct" one) got into my script, but since I have been copying and pasting another "-" from the script it works without any problems!
Thanks, Marc Frank Harnack wrote: > > Hi Marc, > > maybe the character "-" (in "-logger") is the problem. The hexcode of the > character must be "2d". > > Regards > > Frank > > > Quoting sunnymarc <[EMAIL PROTECTED]>: > >> >> Hi Frank, >> thank you very much for your posting. The special character you can see >> in >> my email doesn't exist in the real script - I don't know how it slipped >> into >> the mail. Anyway, there isn't any special character. Does anybody have >> another idea why ANT acts that strangely? >> >> Kind regards >> Marc >> >> >> Frank Harnack wrote: >> > >> > Hi, >> > in your email I can see a special character between >> > "BuildDrsPro_Rel401.properties" and "-logger". >> > That should be the problem. >> > >> > Regards >> > >> > Frank >> > >> > >> > Quoting sunnymarc <[EMAIL PROTECTED]>: >> > >> >> >> >> Hi, >> >> I have a problem calling Ant using the "-logger" parameter in order to >> >> substitute the DefaultLogger by the MailLogger. My call to Ant is as >> >> follows: >> >> "ant -f BuildDrsProSubversion.xml build -l >> c:\BuildDrsProSubversion.log >> >> -Dbasedir=c: -propertyfile BuildDrsPro_Rel401.properties ÃÂ-logger >> >> org.apache.tools.ant.listener.MailLogger". >> >> When I execute the call above I get the following message back from >> Ant: >> >> "Target `álogger' does not exist in this project." >> >> What does Ant mean by this message? I didn't mention any target called >> >> "álogger". Is it possible that Ant does not understand that I want >> to >> >> specify a special logger with the "-logger" parameter? If so, why? >> >> >> >> Thank you very much for your help. >> >> -- >> >> View this message in context: >> >> >> > >> > http://www.nabble.com/Problem-calling-ANT-with-%22-logger%22-parameter-tf3161809.html#a8770264 >> >> Sent from the Ant - Users mailing list archive at Nabble.com. >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> > >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> View this message in context: >> > http://www.nabble.com/Problem-calling-ANT-with-%22-logger%22-parameter-tf3161809.html#a8802848 >> Sent from the Ant - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Problem-calling-ANT-with-%22-logger%22-parameter-tf3161809.html#a9155957 Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]