This content has been marked as final.
Show 4 replies
-
1. Re: Is org.jboss.aspects.asynch.Future available in Maven re
kabirkhan Dec 23, 2008 6:17 AM (in response to jaikiran)1) This is a hangover from AS 4.x where we had a JDK 1.4 and 5 version. The main difference was the JDK 5 version used real annotations, while the 1.4 version used the annotation compiler. It should work on JDK 6
2) No, it is created by the AS aspects/ build, and put in the client/ folder by the AS build-distr.xml script. AS has not been mavenized yet. Maybe Paul Gier can help with getting it into Maven? -
2. Re: Is org.jboss.aspects.asynch.Future available in Maven re
jaikiran Dec 23, 2008 6:45 AM (in response to jaikiran)Thanks Kabir. For the time being, i will add the jboss-aspect-jdk50-client.jar as a systemPath dependency in my Maven project.
-
3. Re: Is org.jboss.aspects.asynch.Future available in Maven re
jaikiran Dec 24, 2008 8:33 AM (in response to jaikiran)"kabir.khan@jboss.com" wrote:
2) No, it is created by the AS aspects/ build, and put in the client/ folder by the AS build-distr.xml script. AS has not been mavenized yet. Maybe Paul Gier can help with getting it into Maven?
Thanks for that pointer about build-distr.xml.
The package name org.jboss.aspects.* made me believe that the source resides in the aspects project :-) Turns out the org.jboss.aspects.asynch.* classes come from the EJBTHREE project while builing this jboss-aspect-deployer-jdk50.jar :<!-- Build jboss-aspect-deployer-jdk50.jar --> <jar destfile="${build.lib}/jboss-aspect-library.jar" manifest="${build.etc}/default.mf" update="${jar.update}" index="${jar.index}"> <fileset dir="${build.classes}"> <include name="org/jboss/aop/junit/**"/> <include name="org/jboss/aspects/**"/> </fileset> <fileset dir="${build.etc}"> <include name="org/jboss/**/*.xml"/> </fileset> <!-- include the broken out asynch aspects in the lib --> <zipfileset src="${org.jboss.ejb3.lib}/jboss-ejb3-async.jar"> <include name="org/jboss/aspects/asynch/**.class"/> </zipfileset> ...
And EJBTHREE project is Mavenized. So i can add a dependency on<groupId>org.jboss.ejb3</groupId> <artifactId>jboss-ejb3-async</artifactId>
-
4. Re: Is org.jboss.aspects.asynch.Future available in Maven re
kabirkhan Dec 24, 2008 8:43 AM (in response to jaikiran)"jaikiran" wrote:
The package name org.jboss.aspects.* made me believe that the source resides in the aspects project :-) Turns out the org.jboss.aspects.asynch.* classes come from the EJBTHREE project while builing this jboss-aspect-deployer-jdk50.jar :
Yeah, it use to live in aspects/, but it was broken out since EJB 3 is the main user.