Re: [Codenarc-developer] does RunCodeNarcAgainstProjectSourceCodeTestneed to use Ant?
Brought to you by:
chrismair
From: Hamlet D. <ham...@ca...> - 2010-11-11 19:12:13
|
I converted it to something different, but in the end the Ant approach used the least code, so there is no reason to change it. -- Hamlet D'Arcy ham...@ca... Yes, feel free. That would be great if we could simplify that use case -- for us and for others Thanks. Chris Hamlet DArcy <ham...@ca...> 11/11/2010 08:56 AM To codenarc-developer <cod...@li...> cc Subject Re: [Codenarc-developer] does RunCodeNarcAgainstProjectSourceCodeTestneed to use Ant? I think you should stay on the reviews of all the new rules... this can wait. I don't want to hold up the build. I was thinking about cleaning up the test case, then people could use it to run the tests themselves with less boilerplate. I would add to this class the API of "get subversion changelist" and "get git changelist". Just a small but useful thing IMO. -- Hamlet D'Arcy ham...@ca... Hmmm. You know, it never occurred to me that would work -- I assumed that to run an Ant Task, and have it behave properly, you had to run it within the Ant "container". Interesting. When I get a chance, I'll take a look -----Original Message----- From: Hamlet DArcy [mailto:ham...@ca...] Sent: Thursday, November 11, 2010 8:31 AM To: codenarc-developer Subject: Re: [Codenarc-developer] does RunCodeNarcAgainstProjectSourceCodeTestneed to use Ant? 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... 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... ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev_______________________________________________ Codenarc-developer mailing list Cod...@li... https://lists.sourceforge.net/lists/listinfo/codenarc-developer ForwardSourceID:NT000CE5FA |