[
https://issues.jboss.org/browse/JBRULES-2707?page=com.atlassian.jira.plug...
]
Geoffrey De Smet commented on JBRULES-2707:
-------------------------------------------
On a maven level, this splitup is doable:
"About splitting code between client and server modules, that's precisely what
I'm doing: myapp-shared for shared classes (includes GWT-RPC interfaces), myapp-client
for client-only code (depends on myapp-shared, and myapp-shared:sources), myapp-server for
server-only code (depends on myapp-shared and implements GWT-RPC as
RemoteServiceServlet-s), and finally a myapp module with packaging=war, that depends on
myapp-server and myapp-client.
The *.gwt.xml of course live in the myapp-client module (server-side code don't need
them), and in myapp-shared src/main/java (they are source files, used to compile the GWT
app; not resources, that would unnecessarily be included in JARs that get deployed on the
server)"
the problem is the hosted mode plugin in intellij/eclipse. Doesn't look that will be
able to cope with it such a structure.
Split up guvnor-webapp into guvnor-gwt-client and guvnor-webapp
---------------------------------------------------------------
Key: JBRULES-2707
URL:
https://issues.jboss.org/browse/JBRULES-2707
Project: Drools
Issue Type: Task
Security Level: Public(Everyone can see)
Affects Versions: 5.1.1.FINAL
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
Fix For: 5.2.0.M1
All classes/resources under the client/public package go to drools-guvnor-gwtclient.
The drools-guvnor-gwtclient pom.xml
- is of type war
- has only the gwt dependencies
All classes under the server package go to drools-guvnor(-server)
The drools-guvnor(-server) pom.xml
- is of type war
- has a dependency on drools-guvnor-gwtclient (= war overlay!)
- has dependencies on drools-core, drools-compiler (so on jdt too), ...
What do we do with drools-ide-common and drools-factconstraints? Split them up to, or
simply move the client package code into drools-guvnor?
Where will the drools-ide-common and drools-factconstraints GWT modules be reused,
besides in Guvnor?
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira