RE: Trying to understand AttributeC
Jonas "Bon?r" <jonas_boner-/[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
It might be that the build.xml file is not correct. It has gone through some changes and not everything have been fully tested. See the online docs for a full description on how to use the compiler. This one should be up to date. I'll have a look at this when I get back. - Jonas Vincent Massol <[email protected]> wrote: Hi Jonas, Yes, I had understood that bit. What I dont understand is how the build.xml works as the first parameter points to an *existing* source file whereas it should point to something that will be generated. This is what was troubling me. Is that a bug in the build.xml? Heres an excerpt from build.xml: [ ]AttributeC ${basedir}/src/samples ${basedir}/src/samples/aspectwerkz.xml[ ] As you can see ${basedir}/src/samples is a source file. Thanks -Vincent PS: I have read the sources for AttributeC and I understand better what it does now! :-) -----Original Message----- From: Jonas Bonir [mailto:jonas_boner-/[email protected]] Sent: 26 December 2003 18:29 To: Vincent Massol; aspectwerkz-devel-81qHHgoATdGxIXFVlbCvtR2eb7JE58TQ@public.gmane.org Subject: Re: [aspectwerkz-devel] Trying to understand AttributeC Hi Vincent. The first parameter is the new XML def that should be generated. This one is mandatory. Then you can spec. an existing XML def file to merge this new stuff with using the -m option (or -merge). You can also spec. the UUID for the def using the -u option (or -uuid) Hope it clears out a few things. /Jonas Vincent Massol wrote: Hi, From what I gather the second parameter to AttributeC is the location of the output aspectwerkz XML config file and it is generated by AttributeC. However, AW's build.xml has the following: depends="aspectwerkz:init"> I can't understand why the second parameter (${basedir}/src/samples/aspectwerkz.xml) points to a source file whereas I thought this file would be generated. Also, when I run attributeC for some reason, the generated XML file does not contain the definitions I had put in the merge file. Thanks! -Vincent Wanna see JUnit in Action? (http://manning.com/massol) _______________________________________________ aspectwerkz-devel mailing list aspectwerkz-devel-81qHHgoATdGxIXFVlbCvtR2eb7JE58TQ@public.gmane.org http://lists.codehaus.org/mailman/listinfo/aspectwerkz-devel -- Jonas http://blogs.codehaus.org/people/jboner/ Do you Yahoo!? Yahoo! Photos - Get your photo on the big screen in Times Square _______________________________________________ aspectwerkz-devel mailing list aspectwerkz-devel-81qHHgoATdGxIXFVlbCvtR2eb7JE58TQ@public.gmane.org http://lists.codehaus.org/mailman/listinfo/aspectwerkz-devel -- Jonas http://blogs.codehaus.org/people/jboner/ --------------------------------- Do you Yahoo!? Yahoo! Photos - Get your photo on the big screen in Times Square