2 Replies Latest reply on Jun 17, 2004 2:24 AM by Giordano Vicoli

    starting an AOP program without ANT

    Giordano Vicoli Newbie

      Hi,

      I tried JBossAOP and all is working fine.
      Now I would like to know how can I run a class without ANT using AOP.

      Is possible?

      Many thanks for the help.

      Regards,
      Giordano

        • 1. Re: starting an AOP program without ANT
          Bill Burke Master

          You mean do precompilation without ant? Or just run the application without ANT?

          I think the docs on WIKI tell how to run an application at command line. You must specify a system property jboss.aop.path that points to your XML files, or your XML files must be embedded in the jars in your classpath via META-INF/jboss-aop.xml.

          if you have precompiled your classes and follow the above then it is:
          java [-Djava.aop.path=myaop.xml] org.acme.MyMainClass

          • 2. Re: starting an AOP program without ANT
            Giordano Vicoli Newbie

             

            "Bill Burke" wrote:
            You mean do precompilation without ant? Or just run the application without ANT?

            I think the docs on WIKI tell how to run an application at command line. You must specify a system property jboss.aop.path that points to your XML files, or your XML files must be embedded in the jars in your classpath via META-INF/jboss-aop.xml.

            if you have precompiled your classes and follow the above then it is:
            java [-Djava.aop.path=myaop.xml] org.acme.MyMainClass



            Thank you very much for your suggestions.

            Bye,
            Giordano