Hi all,
I resolved all problems and now I have other question ...
I changed the configuration that compileJava (compileTestJava) tasks
generate classes to file build/classes/main-not-weaved
(build/classes/test-not-weaved) and compileAspectj (compileTestAspectj)
weaves class files into build/classes/main (build/classes/test).
The name of the directory is generated using:
ass.conventionMapping.notWeavedClassesDir = { new
File(sourceSet.classesDir.parent, "${sourceSet.name}-not-weaved") }
where ass is instance of DefualtAspectjSourceSet (my class created as
DefaultScalaSourceSet or DefaultGroovySourceSet). And I would like to make
the directory configurable via build script using:
sourceSets {
main {
aspectj {
notWeavedClassesDir 'build/classes/nwm'
}
}
}
Thanks Jira
--
View this message in context:
http://gradle.1045684.n5.nabble.com/AspectJ-plugin-tp3356141p3359716.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email