Hi if the source files are plain text, you could try the following : ° count all lines ° count all comment lines ° if the percentage is lower than X, throw error
the counting of the comment lines does not have to be 100% accurate for a demo project ;-) just an idea with kind regards Ruben Willems On Thu, Apr 9, 2009 at 8:40 AM, madhu nambiar <[email protected]>wrote: > Hi ruben, > Thanks a lot for this input,but there is one thing i want to tell.I > am doing this for my demo purpose,so i am a bit confused in thinking of what > kind of validation check can be performed?. > > with kind regards > Maddy > > On Thu, Apr 9, 2009 at 11:57 AM, Ruben Willems <[email protected]>wrote: > >> Hi >> >> do you mean the following sequence : >> >> ° get source >> ° do a validation check >> ° if ok, compile, test, ... >> >> >> if so, place your validation check in the < prebuild> section >> There you can put tasks as in the <tasks> section. >> >> If the validation fails, the <tasks> section will not be executed, the >> publisher section will be executed. >> >> >> with kind regards >> Ruben Willems >> >> >> >> >> On Thu, Apr 9, 2009 at 8:04 AM, Maddy <[email protected]> wrote: >> >>> >>> Hi , >>> Can anyone please suggest me any type of validation check that >>> can be performed on any type of build.I mean that this type of test >>> should be valid for any type of build.I need this test to be performed >>> just before my building process starts.I want to show for me demo >>> purpose. >>> >>> Thanks >>> Maddy >> >> >> >
