Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Exclusion of java source files using the tycho-compiler-plugin

this should work.

mvn help:describe -Dplugin=org.eclipse.tycho:tycho-compiler-plugin -Ddetail


[...]
    excludes
      A list of exclusion filters for the compiler.
[...]

If it doesn't, provide a sample project with steps to reproduce and open a bug [1].

Regards,
Jan

[1] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Tycho&rep_platform=All&op_sys=All 



-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Daniel Warzecha
Sent: Mittwoch, 21. Dezember 2011 16:09
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Exclusion of java source files using the tycho-compiler-plugin

Hello,

could someone help me with this subject? I tried using the
tycho-compiler-plugin like the maven compiler plugin, meaning I wrote
my POM.xml like this:

      <modelVersion>4.0.0</modelVersion>
      <groupId>some.group.id</groupId>
      <artifactId>artifact.id</artifactId>
      <version>1.1.0-SNAPSHOT</version>
      <packaging>eclipse-plugin</packaging>
      <properties>
        <project.build.sourceEncoding>Cp1252</project.build.sourceEncoding>
      </properties>
      <build>
        <plugins>
            <plugin>
                <groupId>>org.eclipse.tycho</groupId>
                <artifactId>tycho-compiler-plugin</artifactId>
    			<version>${tycho-version}</version>
                <configuration>
                    <excludes>
                        <exclude>**/someDir/someClassToBeIgnored.java</exclude>
                    </excludes>
                </configuration>
            </plugin>
         </plugins>
      </build>

The plugin seems to ignore the exclusion filter. Did I do something wrong?

Bye,
Daniel W.
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top