final String source = getParameterValue( CommandLineOptions.SOURCE_DIRECTORY );
final File sourceDirectory = source.contains( "," ) ? null
: new File( source );
final List< File > sourceList = CommandLineUtils.computeSourceList( source );
final File outputDirectory = new File( getParameterValue( CommandLineOptions.OUTPUT ) );
final FlexPmdParameters parameters = new FlexPmdParameters( excludePackage == null ? ""
: excludePackage,
outputDirectory,
rulesetRef == null ? null
: new File( rulesetRef ),
sourceDirectory,