svn - Eclipse pre-commit hook to execute arbitrary logic -


does eclipse support pre-commit checks executing logic in script or java class? specifically, need logic search source file println, todo, etc., statements before committing svn.

if program, know i'm talking about... :-)

public void submitorder(order order){     if(order.valid()){        println("hi!")        orderprocessor.validatepayment(order)        println("hi2")        ...     }else{        println("logging journal...")   //todo remove later        journal.log(invalid_order, order)        println("after journal")         println("really throwing exception now!")        throw new invalidorderexception(order)     } } 


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -