[jboss-dev] new scanning in AS trunk

Rémy Maucherat remy.maucherat at gmail.com
Thu Jun 3 16:05:25 EDT 2010


On Thu, Jun 3, 2010 at 9:35 PM, Ales Justin <ales.justin at gmail.com> wrote:
> 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.

Rémy




More information about the jboss-development mailing list