Re: [rules-users] 4.0 JBoss Rules IDE - JDK 1.4 compiler setting

2007-07-17 Thread Ronald R. DiFrango

Kris,

I think I just realized that JBoss rules IDE is NOT compatible with Eclipse
Europa and hence the strange behavior.  That would explain some of this.

On 7/17/07, Ronald R. DiFrango [EMAIL PROTECTED] wrote:


Kris,

I set the compiler compliance to 5.0, but the generated classes to 1.4.
The only catch is that I also have to set the Source compatibility to 1.4as 
well.  Hence the error still occurs.

Ron

On 7/16/07, Kris Verlaenen [EMAIL PROTECTED] wrote:

 Ronald,

 Could you try not setting the compiler compliance level of your
 eclipse project to 1.4 but leaving that to 5.0 and only setting the
 source compatibility level and the generated .class files
 compatibility to 1.4?  The plugin needs a 5.0 compliant parser, but it
 can generate 1.4 compliant class files.  The errors in the rules
 should then disappear.

 Kris

 Citeren Ronald R. DiFrango  [EMAIL PROTECTED]:

  All,
 
  I had to change the compiler setting from JDK 5.0 to JDK 1.4 and no
  all of a
  sudden my DRL files give me the following error:
 
  Severity and DescriptionPathResourceLocationCreation
  Time
  Id
  Syntax error, static imports are only available if source level is
  5.0
  RtvDecisionEngine/src/rules/com/circuitcity/rtvcrms/rules
  modelDiscrepancyRules.drlline 20118400666338277860
 
  On all rules.
 
  Thoughts?
 
  Ron
 





___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] 4.0 JBoss Rules IDE - JDK 1.4 compiler setting

2007-07-17 Thread Ronald R. DiFrango

Kris,

I set the compiler compliance to 5.0, but the generated classes to 1.4.  The
only catch is that I also have to set the Source compatibility to 1.4 as
well.  Hence the error still occurs.

Ron

On 7/16/07, Kris Verlaenen [EMAIL PROTECTED] wrote:


Ronald,

Could you try not setting the compiler compliance level of your
eclipse project to 1.4 but leaving that to 5.0 and only setting the
source compatibility level and the generated .class files
compatibility to 1.4?  The plugin needs a 5.0 compliant parser, but it
can generate 1.4 compliant class files.  The errors in the rules
should then disappear.

Kris

Citeren Ronald R. DiFrango [EMAIL PROTECTED]:

 All,

 I had to change the compiler setting from JDK 5.0 to JDK 1.4 and no
 all of a
 sudden my DRL files give me the following error:

 Severity and DescriptionPathResourceLocationCreation
 Time
 Id
 Syntax error, static imports are only available if source level is
 5.0
 RtvDecisionEngine/src/rules/com/circuitcity/rtvcrms/rules
 modelDiscrepancyRules.drlline 20118400666338277860

 On all rules.

 Thoughts?

 Ron





___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] 4.0 JBoss Rules IDE - JDK 1.4 compiler setting

2007-07-16 Thread Ronald R. DiFrango

Mark,

Just curious as to why the IDE treats functions as static imports?

Ron

On 7/9/07, Ronald R. DiFrango [EMAIL PROTECTED] wrote:


Mark,

I would be happy to help.  The short answer is that, I need my entire
project - Java classes and all in JDK 1.4 format.  When I tried playing
with the settings in Eclipse it keeps telling me that either source or class
files that are generated must be at or above the other's level.  It does not
look like I can mix and match the two of them.

I guess my alternative would be to create an ANT script that generated the
1.4 JAR file.  BTW..it does run just fine and like a champ!

Ron

On 7/9/07, Mark Proctor [EMAIL PROTECTED] wrote:

  On M3? if you look at the JavaDialect you should see that the source is
 always set ti jdk1.5, can never go below that, but the target is 1.4 -
 which should allow static imports in a jdk1.4 environment. The unit
 tests for it are working, maybe you can look into debugging this one for me?

 Mark
 Ronald R. DiFrango wrote:

 All,

 I had to change the compiler setting from JDK 5.0 to JDK 1.4 and no all
 of a sudden my DRL files give me the following error:

 Severity and DescriptionPathResourceLocationCreation
 TimeId
 Syntax error, static imports are only available if source level is 5.0
 RtvDecisionEngine/src/rules/com/circuitcity/rtvcrms/rules
 modelDiscrepancyRules.drlline 20118400666338277860

 On all rules.

 Thoughts?

 Ron

 --

 ___
 rules-users mailing list

 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] 4.0 JBoss Rules IDE - JDK 1.4 compiler setting

2007-07-16 Thread Kris Verlaenen
Ronald,

Could you try not setting the compiler compliance level of your 
eclipse project to 1.4 but leaving that to 5.0 and only setting the 
source compatibility level and the generated .class files 
compatibility to 1.4?  The plugin needs a 5.0 compliant parser, but it 
can generate 1.4 compliant class files.  The errors in the rules 
should then disappear.

Kris

Citeren Ronald R. DiFrango [EMAIL PROTECTED]:

 All,
 
 I had to change the compiler setting from JDK 5.0 to JDK 1.4 and no
 all of a
 sudden my DRL files give me the following error:
 
 Severity and DescriptionPathResourceLocationCreation
 Time
 Id
 Syntax error, static imports are only available if source level is
 5.0
 RtvDecisionEngine/src/rules/com/circuitcity/rtvcrms/rules
 modelDiscrepancyRules.drlline 20118400666338277860
 
 On all rules.
 
 Thoughts?
 
 Ron
 



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] 4.0 JBoss Rules IDE - JDK 1.4 compiler setting

2007-07-09 Thread Ronald R. DiFrango

All,

I had to change the compiler setting from JDK 5.0 to JDK 1.4 and no all of a
sudden my DRL files give me the following error:

Severity and DescriptionPathResourceLocationCreation Time
Id
Syntax error, static imports are only available if source level is 5.0
RtvDecisionEngine/src/rules/com/circuitcity/rtvcrms/rules
modelDiscrepancyRules.drlline 20118400666338277860

On all rules.

Thoughts?

Ron
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] 4.0 JBoss Rules IDE - JDK 1.4 compiler setting

2007-07-09 Thread Mark Proctor
On M3? if you look at the JavaDialect you should see that the source is 
always set ti jdk1.5, can never go below that, but the target is 1.4 - 
which should allow static imports in a jdk1.4 environment. The unit 
tests for it are working, maybe you can look into debugging this one for me?


Mark
Ronald R. DiFrango wrote:

All,

I had to change the compiler setting from JDK 5.0 to JDK 1.4 and no 
all of a sudden my DRL files give me the following error:


Severity and DescriptionPathResourceLocationCreation 
TimeId
Syntax error, static imports are only available if source level is 
5.0RtvDecisionEngine/src/rules/com/circuitcity/rtvcrms/rules
modelDiscrepancyRules.drlline 20118400666338277860


On all rules.

Thoughts?

Ron



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
  


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] 4.0 JBoss Rules IDE - JDK 1.4 compiler setting

2007-07-09 Thread Ronald R. DiFrango

Mark,

I would be happy to help.  The short answer is that, I need my entire
project - Java classes and all in JDK 1.4 format.  When I tried playing with
the settings in Eclipse it keeps telling me that either source or class
files that are generated must be at or above the other's level.  It does not
look like I can mix and match the two of them.

I guess my alternative would be to create an ANT script that generated the
1.4 JAR file.  BTW..it does run just fine and like a champ!

Ron

On 7/9/07, Mark Proctor [EMAIL PROTECTED] wrote:


 On M3? if you look at the JavaDialect you should see that the source is
always set ti jdk1.5, can never go below that, but the target is 1.4 -
which should allow static imports in a jdk1.4 environment. The unit tests
for it are working, maybe you can look into debugging this one for me?

Mark
Ronald R. DiFrango wrote:

All,

I had to change the compiler setting from JDK 5.0 to JDK 1.4 and no all of
a sudden my DRL files give me the following error:

Severity and DescriptionPathResourceLocationCreation
TimeId
Syntax error, static imports are only available if source level is 5.0
RtvDecisionEngine/src/rules/com/circuitcity/rtvcrms/rules
modelDiscrepancyRules.drlline 20118400666338277860

On all rules.

Thoughts?

Ron

--

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users