Thank you for the reply.
When is 2.3 likely to be released (I also had issues with
eclipselink maven depedencies!)?
Also, that solves the problem of having to first compile the
module alone, but doesn't simplify the configuration.
In Java 6 annotation processors are registered automatically,
there shouldn't be a need for a complicated maven plugin for
that.
Using eclipselink + criteria api has created
enough trouble for me that it's worth
reconsidering. I expected the generated
classes to be generated without speciale
configuration (unlike what is shown below)
since beside complicating my build (https://bugs.eclipse.org/bugs/show_bug.cgi?id=328560).
I'm looking for simpler configurations /
alternatives . Thank you.
<plugin><groupId>org.bsc.maven</groupId><artifactId>maven-processor-plugin</artifactId><version>1.3.7</version><executions><execution><id>process</id><goals><goal>process</goal></goals><phase>generate-sources</phase><configuration><!-- Without this, the annotation processor complains about persistence.xml not being present and fail --><compilerArguments>-Aeclipselink.persistencexml=src/main/resources/META-INF/persistence.xml -Aeclipselink.persistenceunits=com.mysimpatico_MemoPlatform-database_nbm_1.0-SNAPSHOTPU</compilerArguments><!-- For an unknown reason, the annotation processor is not discovered, have to list it explicitly --><processors><processor>org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor</processor></processors></configuration></execution></executions></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><inherited>true</inherited><configuration><compilerArgument>-proc:none</compilerArgument></configuration></plugin>
--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the
addressee acknowledges the receipt within 48
hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧
Acknowledges(x, this) ∧ time(x) < Now +
48h) ⇒ ¬resend(I, this).
If an email is sent by a sender that is not a
trusted contact or the email does not contain
a valid code then the email is not received. A
valid code starts with a hyphen and ends with
"X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨
(∃y. y ∈ subject(x) ∧ y ∈ L(-[a-z]+[0-9]X)).
--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee
acknowledges the receipt within 48 hours then I don't
resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧
Acknowledges(x, this) ∧ time(x) < Now + 48h) ⇒
¬resend(I, this).
If an email is sent by a sender that is not a trusted
contact or the email does not contain a valid code then
the email is not received. A valid code starts with a
hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈
subject(x) ∧ y ∈ L(-[a-z]+[0-9]X)).
--
Regards,
K. Gabriele
--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges
the receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this)
∧ time(x) < Now + 48h) ⇒ ¬resend(I, this).
If an email is sent by a sender that is not a trusted contact or
the email does not contain a valid code then the email is not
received. A valid code starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x)
∧ y ∈ L(-[a-z]+[0-9]X)).
-- Cheers from Leeds, K. Gabriele
--- unchanged since 20/9/10 --- P.S. If the subject contains "[LON]" or the addressee acknowledges the receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x) < Now + 48h) ⇒ ¬resend(I, this).
If an email is sent by a sender that is not a trusted contact or the email does not contain a valid code then the email is not received. A valid code starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈ L(-[a-z]+[0-9]X)).