Hallo Velo,

i have two variants of patch to FLEXMOJOS-345:
1) nice
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <excludes>
            <exclude>**/Flexmojos345Test.java</exclude>
          </excludes>
        </configuration>
      </plugin>
.-)
or
2) ugly, but working
...
        CompcMojo m = new CompcMojo()
        {
            @Override
            public IIncludeFile[] getIncludeFile()
            {
                includeFiles = new SimplifiablePattern();
                includeFiles.addInclude( "abc\\cba\\test" );
                try {
                        new File("target\\test-classes\\abc").mkdir();
                        new File("target\\test-classes\\abc\\cba").mkdir();
                        new File("target\\test-classes\\abc\\cba\
\test").createNewFile();
                                } catch (IOException e) {
                                        e.printStackTrace();
                                }
                return super.getIncludeFile();
            }

            @Override
            protected List<File> getResourcesTargetDirectories()
            {
                return Arrays.asList( new File( "target\\test-
classes" ) );
            }
        };
...
GrĂ¼ss aus Berlin

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to