2 Replies Latest reply on Aug 29, 2013 1:30 PM by jannis

    Exclude packages from ValidatiorFactory generation

    jannis

      Hello,

       

      is it possible to specify packages to be ignored during the generation of the ValidatorFactory?

       

      Thanks in advance

      Jannis

        • 1. Re: Exclude packages from ValidatiorFactory generation
          csa

          Hi,

           

          No, not currently. Our other generators only scan for JARs that contain an ErraiApp.properties file and scan for classes in directories below that file. They also only include translatable packages in the scanning process.

           

          However, our ValidatorScanner scans the full classpath which has advantages too (easier to reuse existing validators and types).

           

          Can you create a JIRA for that feature? Of course, you're more than welcome to take a stab at implementing it. Maybe based on an exclusion property in ErraiApp.properties or based on a new annotation.

           

          Cheers,

          Christian

          1 of 1 people found this helpful
          • 2. Re: Exclude packages from ValidatiorFactory generation
            jannis

            Hello Christian,

             

            thanks for your fast reply.

            I will create the JIRA and if I will find some spare time, I will try to follow your suggestion.

             

            Cheers,

            Jannis