[jira] Updated: (MPASPECTJ-16) aspectj:compile also compiles java files in CVS/Base
[ http://jira.codehaus.org/browse/MPASPECTJ-16?page=all ] Lukas Theussl updated MPASPECTJ-16: --- Fix Version: (was: 3.3) 4.0 aspectj:compile also compiles java files in CVS/Base Key: MPASPECTJ-16 URL: http://jira.codehaus.org/browse/MPASPECTJ-16 Project: maven-aspectj-plugin Type: Bug Versions: 3.2 Reporter: Brian Jacobsen Priority: Minor Fix For: 4.0 When using the aspect:compile goal we receive a lot of errors, because the jelly plugin also tries to compile java sources in CVC/Base directory. --- xxx\CVS\Base\Yyy.java:82 error The constructor ZzzException(String, NamingException) is undefined throw new ZzzException(test, e); xxx\CVS\Base\zzzException.java:6 error The type zzzException is already defined public class ZzzException extends Exception { --- Suggested fix: Use ant:srcdir instead of ant:sourceroots or make it possible to specify the preferred behaviour with a property. !-- ant:sourceroots ant:path refid=${sourcePathRefid}/ j:if test=${aspectSourcesPresent and weaveAspectSources} ant:pathelement location=${pom.build.aspectSourceDirectory}/ /j:if /ant:sourceroots -- ant:srcdir ant:path refid=${sourcePathRefid}/ j:if test=${aspectSourcesPresent and weaveAspectSources} ant:pathelement location=${pom.build.aspectSourceDirectory}/ /j:if /ant:srcdir Or perhaps it is possible to bypass the problem in another way? regards Brian -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Updated: (MPASPECTJ-16) aspectj:compile also compiles java files in CVS/Base
[ http://jira.codehaus.org/browse/MPASPECTJ-16?page=all ] Carlos Sanchez updated MPASPECTJ-16: Fix Version: 3.3 aspectj:compile also compiles java files in CVS/Base Key: MPASPECTJ-16 URL: http://jira.codehaus.org/browse/MPASPECTJ-16 Project: maven-aspectj-plugin Type: Bug Versions: 3.2 Reporter: Brian Jacobsen Priority: Minor Fix For: 3.3 When using the aspect:compile goal we receive a lot of errors, because the jelly plugin also tries to compile java sources in CVC/Base directory. --- xxx\CVS\Base\Yyy.java:82 error The constructor ZzzException(String, NamingException) is undefined throw new ZzzException(test, e); xxx\CVS\Base\zzzException.java:6 error The type zzzException is already defined public class ZzzException extends Exception { --- Suggested fix: Use ant:srcdir instead of ant:sourceroots or make it possible to specify the preferred behaviour with a property. !-- ant:sourceroots ant:path refid=${sourcePathRefid}/ j:if test=${aspectSourcesPresent and weaveAspectSources} ant:pathelement location=${pom.build.aspectSourceDirectory}/ /j:if /ant:sourceroots -- ant:srcdir ant:path refid=${sourcePathRefid}/ j:if test=${aspectSourcesPresent and weaveAspectSources} ant:pathelement location=${pom.build.aspectSourceDirectory}/ /j:if /ant:srcdir Or perhaps it is possible to bypass the problem in another way? regards Brian -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]