Re: [Codenarc-developer] does RunCodeNarcAgainstProjectSourceCodeTestneed to use Ant?
Brought to you by:
chrismair
From: Hamlet D. <ham...@ca...> - 2010-11-11 13:31:09
|
But why go through Ant instead of just calling the task directly. Wouldn't def task = new CodeNarcTask() task.properties = ... task.execute() be simpler? -- Hamlet D'Arcy ham...@ca... Ah, I had not seen that page. Perhaps we can close the ticket I opened. Ant creates a lot of noise, but oh well. -- Hamlet D'Arcy ham...@ca... Message That test was my way of running CodeNarc against its own source code so that I could avoid the irony of having the project source code violate its own rules. We do not have to use Ant for that. I documented it as a mechanism for use by others on the "Run as a Test" page of the online docs. Chris -----Original Message----- From: Hamlet DArcy [mailto:ham...@ca...] Sent: Thursday, November 11, 2010 2:13 AM To: codenarc-developer Subject: [Codenarc-developer] does RunCodeNarcAgainstProjectSourceCodeTestneed to use Ant? Does the test RunCodeNarcAgainstProjectSourceCodeTest Need to be implemented using Ant? Is this testing Ant or CodeNarc? It would run faster and with less verbose output if it were not Ant. That would be good. -- Hamlet D'Arcy ham...@ca... |