Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Maven AspectJ plugin compiles differently on build server

The formatting on all those weavinfo messages you appended was messed
up for me.  Have you tried diffing the full set? is there something in
common for all those that are missing:
- all those for the same aspect
- all those in the same type/package
- all those joinpoints of the same kind

I presume you get no warnings on the server (like 'cant find type')
that you are not getting on the client?
Have you tried turning on verbose mode to see if the same set of files
are passed to the compiler in both cases?

cheers,
Andy

On 16 June 2011 02:24, dsamaey <diether.samaey@xxxxxxxxxxxxxxxxxx> wrote:
> When comparing local developer maven builds with the builds generated by our
> build server, there is a weird difference.  On the build server, there are
> 211 weaving statements in the build log compared to 300 weaving statement in
> the developer builds.  The weaving on the build server is incomplete.
>
>            <plugin>
>                <groupId>org.codehaus.mojo</groupId>
>                <artifactId>aspectj-maven-plugin</artifactId>
>                <version>1.3.1</version>
>                <dependencies>
>                    <dependency>
>                        <groupId>org.aspectj</groupId>
>                        <artifactId>aspectjrt</artifactId>
>                        <version>1.6.11</version>
>                    </dependency>
>                    <dependency>
>                        <groupId>org.aspectj</groupId>
>                        <artifactId>aspectjtools</artifactId>
>                        <version>1.6.11</version>
>                    </dependency>
>                </dependencies>
>                <configuration>
>                    <source>1.6</source>
>                    <complianceLevel>1.6</complianceLevel>
>                    <verbose>true</verbose>
>                    <showWeaveInfo>true</showWeaveInfo>
>                    <target>1.6</target>
>                </configuration>
>                <executions>
>                    <execution>
>                        <goals>
>                            <goal>compile</goal>
>                            <goal>test-compile</goal>
>                        </goals>
>                    </execution>
>                </executions>
>            </plugin>
>
>
> I have been looking for differences between our build server and the
> developer setup but they run the same Maven version and the same JDK
> version.
>
> Local developer machines run either Win7 or OSX, the build server runs Linux
> :
>
> cat /proc/version
>
> Linux version 2.6.18-92.el5PAE (mockbuild@xxxxxxxxxxxxxxxxxxxx) (gcc version
> 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tue Jun 10 19:22:41 EDT 2008
>
> uname -m
>
> i686
>
> Any suggestions what could be wrong with our build server ?
>
> --
> View this message in context: http://aspectj.2085585.n4.nabble.com/Maven-AspectJ-plugin-compiles-differently-on-build-server-tp3601938p3601938.html
> Sent from the AspectJ - users mailing list archive at Nabble.com.
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>


Back to the top