Package com.adobe.ac.pmd

Examples of com.adobe.ac.pmd.FlexPmdParameters


      final File outputDirectoryToBeSet = new File( "target/pmd" );

      outputDirectoryToBeSet.mkdirs();

      final FlexPmdMojo mojo = new FlexPmdMojo( new MavenProjectStub(),
                                                new FlexPmdParameters( "",
                                                                       failOnError,
                                                                       false,
                                                                       outputDirectoryToBeSet,
                                                                       ruleset,
                                                                       getTestDirectory() ) );
View Full Code Here


   @Test
   public void testExecuteReport() throws MojoExecutionException
   {
      new File( "target/site" ).mkdirs();
      final FlexPmdReportMojo mojo = new FlexPmdReportMojo( new MavenProjectStub(),
                                                            new FlexPmdParameters( "",
                                                                                   false,
                                                                                   false,
                                                                                   new File( "target" ),
                                                                                   null,
                                                                                   getTestDirectory() ) );
View Full Code Here

   @Test
   public void testExecuteReportOnNoViolationsSourcePath() throws MojoExecutionException
   {
      new File( "target/site" ).mkdirs();
      final FlexPmdReportMojo mojo = new FlexPmdReportMojo( new MavenProjectStub(),
                                                            new FlexPmdParameters( "",
                                                                                   false,
                                                                                   false,
                                                                                   new File( "target" ),
                                                                                   null,
                                                                                   new File( getTestDirectory().getAbsoluteFile()
View Full Code Here

            + sourceDirectory );
      getLog().info( "   ruleSetURL      "
            + url );
      try
      {
         final AbstractFlexPmdEngine engine = new FlexPmdXmlEngine( new FlexPmdParameters( excludePackage,
                                                                                           failOnError,
                                                                                           failOnRuleViolation,
                                                                                           outputDirectory,
                                                                                           getRuleSet(),
                                                                                           sourceDirectory ) );
View Full Code Here

         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,
View Full Code Here

      {
         presetParameters();

         new LoggerUtils().loadConfiguration();

         final FlexPmdXmlEngine engine = new FlexPmdXmlEngine( new FlexPmdParameters( packageToExclude,
                                                                                      outputDirectory,
                                                                                      ruleSet,
                                                                                      sourceDirectory ) );
         final FlexPmdViolations violations = new FlexPmdViolations();
View Full Code Here

                                       final Locale locale ) throws MavenReportException
   {
      super.onXmlReportExecuted( violations,
                                 locale );

      final FlexPmdParameters parameters = new FlexPmdParameters( getExcludePackage(),
                                                                  getOutputDirectoryFile(),
                                                                  getRuleSet(),
                                                                  getSourceDirectory() );
      final FlexPmdHtmlEngine flexPmdHtmlEngine = new FlexPmdHtmlEngine( getSink(),
                                                                         getBundle( locale ),
View Full Code Here

TOP

Related Classes of com.adobe.ac.pmd.FlexPmdParameters

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.