hi, in our project we use spring roo (1.1.2) with the GWT-Addon (GWT 2.2). We have about 50 Roo-Entities in the projekt and the build, especially the initial one takes ages to complete and uses up vast amounts of memory because of all the aspectj weaving.

What i have been observing in the hours i've been looking at the progress-view now is that the most time is spent weaving classes in the client-packages which is, since no aspects are woven in those classes, pretty much useless. I've been trying to exclude the client-package but were unsuccessful in getting it to work.

First I tried configuring the exclusion in the pom.xml
Code:
            <source>
              <basedir>src/main/java</basedir>
              <includes>
                <include>**/**.java</include>
				<include>**/**.aj</include>
              </includes>
              <excludes>
                 <excludes>
                <exclude>com/somecompany/client/**</exclude>
              </excludes>
            </source>
			<source>
              <basedir>src/test/java</basedir>
              <includes>
                <include>**/**.java</include>
		<include>**/**.aj</include>
              </includes>
              <excludes>
                <exclude>com/somecompany/client/**</exclude>
              </excludes>
            </source>
          </sources>
That didn't work so i tried to use a .ajpropertyfiles

so i put this tag in the configuration-tag of the aspectj-maven-plugin

<ajdtBuildDefFile>build.ajproperties</ajdtBuildDefFile>

as suggested here: http://mojo.codehaus.org/aspectj-mav...rWithAJDT.html

and wrote the following in this file

Code:
src.includes = src/main/java/,src/main/resources/,src/test/java/

src.excludes = src/main/java/com/somecompany/**
any suggestions why this is not working? If i look at the progress view i still see that aspectj tries to weave the classes in this package. Maybe roo should create a configuration which excludes files which don't need to be woven from weaving?