[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2705) Guvnor gwt compile uses different eclipse jdt ecj version in ant script (due to gwt-dev) than in pom

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Mon Sep 20 06:01:28 EDT 2010


    [ https://jira.jboss.org/browse/JBRULES-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12551783#action_12551783 ] 

Geoffrey De Smet commented on JBRULES-2705:
-------------------------------------------

gwt-dev rebundles jdt/jce, which is a mess for anyone who has a dependency on drools (or to jdt/jce in another way) in their gwt project

gwt-dev.jar contains org.eclipse jdt(ecj) classes without subnamespacing.
This is similar to Sun JRE 1.4 (or 1.5?) having org.apache.xerces klasses in it's classpath. It was impossible to use a newer version of xerces. In Sun JRE 1.6 they subnamespaced them to com.sun.org.apache.xerces.

Similarly, you can't use gwt-dev reliably with the jdt(ecj) version you want:
- if gwt-dev is on the classpath before your jdt(ecj) jar, then you won't use your jdt(ecj) version
- if gwt-dev is on the classpath after your jdt(ecj) jar, then you'll probably get a compiler error 

> Guvnor gwt compile uses different eclipse jdt ecj version in ant script (due to gwt-dev) than in pom
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-2705
>                 URL: https://jira.jboss.org/browse/JBRULES-2705
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-guvnor
>    Affects Versions: 5.1.1.FINAL
>            Reporter: Geoffrey De Smet
>            Assignee: Geoffrey De Smet
>             Fix For: 5.2.0.M1
>
>
> Blocks removing the ant script and switching to 100% maven build with the maven gwt plugin

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list