Hi Jan,
Thanks for your note.
Now the result looks much better, until the next problem. J
Regards Ronald
Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Sievers, Jan
Gesendet: Montag, 18. August 2014 10:30
An: Tycho user list
Betreff: Re: [tycho-user] Problems with their own annotation processor and tycho-compiler (0.21)
I believe you need to add your annotation processor artifact as dependency to tycho-compiler-plugin.
You may wan to check IT http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-its/projects/TYCHO590annotationProcessing
Regards
Jan
Hi there,
I have tried unsuccessfully own annotation processor during tycho-compiler:compile to use.
In the POM of the annotation processor is available as a dependency.
The plugin configuration looks like this:
---
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<compilerArgs>
<arg>-Ajavax.ejb.module.name=module-name</arg>
<arg>-Ajavax.ejb.application.name=application-name</arg>
<arg>-Aorg.jboss.distinct.name</arg>
<arg>-verbose</arg>
</compilerArgs>
<verbose>true</verbose>
</configuration>
</plugin>
---
I have in the processor itself normal System.out.println (..) used to debug, but unfortunately you will not see in the log / console.
Can it be that is not visible to the tycho-compiler of the annotation processor? He is just a normal JAR and not a OSGi bundle.
Is there a way to run the annotation processor?
Thank you so much.
Greeting Ronald.