[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[ajdt-dev] EnsureAJBuilder.ensureNoJavaBuilder(..) and APT
|
- From: Dawid Pytel <pytel.dawid@xxxxxxxxx>
- Date: Fri, 29 May 2009 12:20:54 +0200
- Delivered-to: ajdt-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=Mqy+PD8xakrdvBAymRoEcn2di7KRSgSEBJwyHa50kDM=; b=vZjjjkzJpXJ6K2n3fEb5FWl4arDOkmxMpWNX2WyhQqynBTCLnMKYk1Rag6HTqZ8AuB KYATjR1oW0nmoJDJZgQnMEy21PoKK2kU55GKYkpV+RamIEBDfm2bZLd3hY6fIBM18VtZ 9cC6X576kBsEsu/6sv2bxf5uHioF/ksezr/dE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=VVRXgiY3mPXS+NuWgOCTBe4aG0E6JR49ta2DiXAqn5BRPQd8xPXxLfoGSOwb9rlpow 2d0EaiF3Ow6WqHPz5FcqIpxv39IAJXlmOmeajlymY8zMDK3MnuYKOPL9RxJox/CWDNkw JoLqBJJfRC0trYYAy1cdguk1NEHL7YSuSfp98=
Hi,
I develope project that heavily relies on AspectJ and APT. To get it
working I use a workaround. I have both JavaBuilder and AJBuilder in my
project's .project file.
(http://www.eclipse.org/newsportal/article.php?id=1966&group=eclipse.technology.ajdt#1966).
Just recently I noticed that my JUnit tests don't regenerate files using
APT mechanism. After debugging I found reason - from time to time
EnsureAJBuilder.ensureNoJavaBuilder(..) gets called and removes
JavaBuilder from project.
I wonder if there is a reason to remove JavaBuilder from .project. I
imagine that the problem could be with generated .class files. Maybe in
this case it's worth ignoring java build command entry that has argument
org.eclipse.jdt.core.compiler.generateClassFiles set to disabled. This
would solve the problem because JDT-APT would call annotation processors
but no binaries would be generated.
I use AJDT Version: 2.0.0.e34x-20090528-1600
AspectJ version: 1.6.5.20090528125400
Best regards
David