public void scanPackages ( ClassProject classProject , ClassProject . CodeType codeType ) { String projectClassDirectory = classProject . getFileName ( null , null , codeType , true , false ) ; Packages recPackages = ( Packages ) this . getMainRecord ( ) ; Map < String , Object > prop = new HashMap < String , Object > ( ) ; prop . put ( ConvertCode . SOURCE_DIR , projectClassDirectory ) ; prop . put ( ConvertCode . DEST_DIR , null ) ; prop . put ( "codeType" , codeType ) ; Task taskParent = this . getTask ( ) ; ConvertCode convert = new ConvertCode ( taskParent , null , prop ) ; convert . setScanListener ( new PackagesScanListener ( convert , recPackages ) ) ; convert . run ( ) ; }
ScanPackages Method .