As depends on first, all you need is only to compile needed plain _Java_ files - including aspects you want. Put then, every compiled *.class file into your "build" directory and run on that directory.
Here snippets from my build.xml: | | <target name="compile" depends="common:read_params" | description="Java sources compilation"> | <javac | destdir="${build.classes.dir}" | debug="on" | debuglevel="lines, vars, source" | deprecation="on" | depend="on" | nowarn="on" | optimize="off" | > | | <include name="**/*.java" /> | <src path="${src.main.dir}" /> | <src path="${src.aspects.dir}/persistence" /> | <src path="${src.aspects.dir}/transactions" /> | | <classpath refid="compile_classpath"/> | </javac> | </target> | | <!-- | | Weave all the sources with JBossAOP compiler | --> | <target name="aopc" depends="common:read_params"> | <aopc compilerclasspathref="run_classpath" classpathref="run_classpath" | verbose="false"> | <classpath path="run_classpath" /> | <src path="${build.classes.dir}" /> | <aoppath path="${etc.dir}/jboss-aop.xml" /> | </aopc> | </target> | Of course you know, you may also use regular expressions inside jboss-aop.xml. This might help. And how many of those aspects, source files do you have anyway? Or/and how much memory do you have? Regards, Tomasz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863007#3863007 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863007 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development