-
1. Re: Annotation inheritance on AS 7
ropalka Jun 27, 2012 9:24 AM (in response to k_benary)If you moved your superclasses to $JBOSS_AS7_HOME/modules directory,
then see last comment on:
https://issues.jboss.org/browse/AS7-3106
The corresponding ANT task source code is located here:
https://github.com/jbossas/jandex/blob/master/src/main/java/org/jboss/jandex/JandexAntTask.java
You can have a look to AS7 build scripts to see how to use this task.
-
2. Re: Annotation inheritance on AS 7
k_benary Jun 27, 2012 9:35 AM (in response to ropalka)Thanks a lot for this hint. We will give it a try.
-
3. Re: Annotation inheritance on AS 7
k_benary Jun 27, 2012 9:50 AM (in response to ropalka)"... You can however index them at build time and include the index in the module (either within the jar or as a static file). ..."
Where should I put the index file whitin the jar?
Thx.
-
4. Re: Annotation inheritance on AS 7
ctomc Jun 27, 2012 9:52 AM (in response to k_benary)there was a similar thread about how to do this: https://community.jboss.org/thread/201304?start=0&tstart=0
it might help you.
--
tomaz
-
5. Re: Annotation inheritance on AS 7
k_benary Jun 27, 2012 10:00 AM (in response to ctomc)Yes, that helps!
Thanks.
Klaus
-
6. Re: Annotation inheritance on AS 7
k_benary Jun 28, 2012 4:38 AM (in response to k_benary)After all it was quite straight forward:
- Created a separate jandex.jar
- Added it to the module's resources
- Added the module dependency with annotations="true" to the deployment's jboss-deployment-structure.xml
Thanks to all.
Klaus