Re: [aspectwerkz-user] Define external entities in aop.xml
"Alexandre Vasseur" <[email protected]> Wed, 6 Dec 2006 10:59:10 +0100
| Newsgroups | gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <[email protected]> |
can you provide more detail on the error / stacktrace etc ? Thanks Alex On 12/6/06, balderman <[email protected]> wrote: > > 1) The ENTITY concept that I use is a common way to implement "include" in > XML. I think dom4j should support it. > 2) We are doing the weaving as a post compilation step. > > Thanks > Avishay > > > Alexandre Vasseur wrote: > > > > not sure we support it > > as a workaround you can perhaps pack each xml in a > > jar/META-INF/aop.xml and we should pick it up automatically if the jar > > is in the classpath (or bundled in the webapp etc - assuming load time > > weaving) > > > > Alex > > > > On 12/3/06, balderman <[email protected]> wrote: > >> > >> Hi > >> I am trying to include external entities in my aop.xml. > >> It looks like: > >> ~~~~~~~~ > >> <?xml version="1.0" encoding="UTF-8"?> > >> > >> <!DOCTYPE aspectwerkz PUBLIC > >> "-//AspectWerkz//DTD 2.0//EN" > >> "http://aspectwerkz.codehaus.org/dtd/aspectwerkz_2_0.dtd" [ > >> <!ENTITY common-asspects SYSTEM "aop-common.xml" > > >> <!ENTITY debug-asspects SYSTEM "aop-debug.xml" > > >> ]> > >> > >> <aspectwerkz> > >> <system id="lambada-backend"> > >> <exclude package="com.bmc.idm.cmplmgr.bootstrap.backend.*"/> > >> &common-asspects; > >> &debug-asspects; > >> </system> > >> </aspectwerkz> > >> > >> When I try to run aspectwerkz, dom4j fail to parse it. The xml is valid > >> [IE > >> can dispaly it well] > >> Any idea? > >> > >> Thanks > >> > >> Avishay > >> -- > >> View this message in context: > >> http://www.nabble.com/Define-external-entities-in-aop.xml-tf2746370.html#a7662440 > >> Sent from the AspectWerkz - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe from this list please visit: > >> > >> http://xircles.codehaus.org/manage_email > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe from this list please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > > > -- > View this message in context: http://www.nabble.com/Define-external-entities-in-aop.xml-tf2746370.html#a7716180 > Sent from the AspectWerkz - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email