[jboss-dev] new scanning in AS trunk

Ales Justin ales.justin at gmail.com
Thu Jun 3 16:14:02 EDT 2010


>> You don't need the ScanningMetaData code anymore
>> 
>>      ScanningMetaData scanningMetaData = unit.getAttachment(ScanningMetaData.class);
>>      for (VirtualFile path : classpath)
>>      {
>>         if (scanningMetaData == null
>>               || !(scanningMetaData.getPaths() == null
>>                     || !scanningMetaData.getPaths().contains(path.getName())))
>>         {
>> 
>> as this is all already taken care of in new ScanningDeployer.
> 
> Really, it is able to associate the paths from the config with the
> VirtualFile object ? Nice. So I'll remove these checks from the new
> code.

Too late, already done. ;-)





More information about the jboss-development mailing list