Trying to understand AttributeC

"Vincent Massol" <[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <01ef01c3cb1d$782b7570$2502a8c0@vma>
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:

    <target name="aspectwerkz:xmldef:attributes:samples"
        depends="aspectwerkz:init">
        <exec executable="java">
            <arg line="-cp [...]AttributeC ${basedir}/src/samples
${basedir}/src/samples/aspectwerkz.xml -m
${basedir}/src/samples/samples-xmldef.xml -u samples-xmldef"/>
        </exec>
    </target>

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)
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.