4 Replies Latest reply on Sep 13, 2012 7:47 AM by nimo stephan

    prevent from compiling and packaging classes

    nimo stephan Master

      I have a lot of classes in my project and I am wondering how I can prevent from compiling and packaging classes via seam solder.

       

      For example, according to solder documentation (http://docs.jboss.org/seam/3/3.1.0.Final/reference/en-US/html/solder-programmingmodel.html#d0e343),

      when I use this:

      @Veto 
      class Utilities {
         ...
      }

      or

      @Veto 
      package com.example; 
      import org.jboss.solder.core.Veto;

       

      then these classes are also compiled and packaged within my project.

       

      How can I force that a whole class or method is not compiled and packaged within my project? Is there a appropriate annotation for such use cases?

       

      If not, would it be nice to include a solder annotation, such as @ExcludeClass or @ExcludeMethod ?