[JBoss JIRA] (WFCORE-3722) WildFly Build Tools version properties is set in two different POMs
by David Lloyd (JIRA)
David Lloyd created WFCORE-3722:
-----------------------------------
Summary: WildFly Build Tools version properties is set in two different POMs
Key: WFCORE-3722
URL: https://issues.jboss.org/browse/WFCORE-3722
Project: WildFly Core
Issue Type: Bug
Reporter: David Lloyd
{{noformat}}
$ grep build-tools `find . -name pom.xml`
./component-matrix/pom.xml: <version.org.wildfly.build-tools>1.2.6.Final&…
[View More]lt;/version.org.wildfly.build-tools>
./pom.xml: <version.org.wildfly.build-tools>1.2.6.Final</version.org.wildfly.build-tools>
./pom.xml: <version>${version.org.wildfly.build-tools}</version>
./pom.xml: <version>${version.org.wildfly.build-tools}</version>
{{noformat}}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
[View Less]
6 years, 11 months
[JBoss JIRA] (WFLY-10148) Remove dependency on build tools
by David Lloyd (JIRA)
David Lloyd created WFLY-10148:
----------------------------------
Summary: Remove dependency on build tools
Key: WFLY-10148
URL: https://issues.jboss.org/browse/WFLY-10148
Project: WildFly
Issue Type: Task
Components: Build System
Reporter: David Lloyd
{quote}
\[2:18 PM\] David Lloyd: can we remove the build tools dependency from wildfly now?
\[2:19 PM\] David Lloyd: I'd like to just inherit the …
[View More]wildfly-core one
\[2:20 PM\] James R. Perkins: I was going to look at that. We should be able to I think. We just need to ensure it's defined in the plugingManagement.
\[2:21 PM\] David Lloyd: it's minor but my modules upgrade is going to conflict with any changes to build tools (in addition to requiring a new build tools) because of it
{quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
[View Less]
6 years, 11 months
[JBoss JIRA] (JBRULES-1058) nested accessors with Sets - "not contains" is not a valid operator for MVEL
by Rahul Vanimisetty (JIRA)
[ https://issues.jboss.org/browse/JBRULES-1058?page=com.atlassian.jira.plug... ]
Rahul Vanimisetty commented on JBRULES-1058:
--------------------------------------------
My bad...I was referring to mvel2 version 2.4.0.Final. It wasnt working on a simple rule engine that uses mvel2. However, i found a workaround and fixed it. Next i am going to try with Drools 7.6.0. As you have confirmed the versions, I will try out the not contains operator and post back my results. Thank you for your …
[View More]promptness.
> nested accessors with Sets - "not contains" is not a valid operator for MVEL
> ----------------------------------------------------------------------------
>
> Key: JBRULES-1058
> URL: https://issues.jboss.org/browse/JBRULES-1058
> Project: JBRULES
> Issue Type: Bug
> Components: drools-compiler
> Affects Versions: 4.0.0.GA
> Reporter: Mark McNally
> Assignee: Edson Tirelli
> Fix For: 4.0.1
>
>
> Following does not work:
> rule StateMatch
> when
> $ca:CandidateAssociation(nurseDetails.stateLicensures excludes patientDetails.state )
> then
> retract( $ca );
> end
>
>
> public class CandidateAssociation {
> private PatientDetails patientDetails;
> private NurseDetails nurseDetails;
> private int overlapHours;
>
> public CandidateAssociation( PatientDetails patientDetails, NurseDetails nurseDetails) {
> super();
> this.patientDetails = patientDetails;
> this.nurseDetails = nurseDetails;
> overlapHours = participantDetails.getNumberOverlapHourCnt(nurseDetails);
> }
> [...]
> }
>
> public class NurseDetails {
> private Set stateLicensures = new HashSet();
> [...]
> }
> public class PatientDetails {
> private String state;
> [...]
> }
> Edson suggested that the problem is that "not contains" is not a valid operator for MVEL.
> Also Noticed that the following workaround did not work:
> rule State
> dialect "mvel"
> when
> $ca:CandidateAssociation( eval ( ! nurseDetails.stateLicensures.contains( patientDetails.state ) ) )
> then
> retract( $ca );
> end
>
> This produced this Exception:
> org.drools.rule.InvalidRulePackage: Unable to determine the used declarations : [Rule name=State, agendaGroup=MAIN, salience=0, no-loop=false]
> at org.drools.rule.Package.checkValidity(Package.java:408)
> at org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:288)
> at [...]
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
[View Less]
6 years, 11 months