RE: Trying to understand AttributeC

"Vincent Massol" <[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <004c01c3b45e$cce91a20$ed24b4d4@vma>
Hi Jonas,

Yes, I had understood that bit. What I don’t 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? Here’s 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 <file> option (or -merge).
You can also spec. the UUID for the def using the -u <UUID> option (or
-uuid)
Hope it clears out a few things.



 
/Jonas

Vincent Massol <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.