abosetti
|
|
« on: February 15, 2010, 10:18:05 » |
|
Hi
I am new to puremvc and gwt (coming from java/cairngorm/flex) so forgive me if the question is a bit silly or if I am doing something really dumb.
I am having issues with the folder structure. I cannot get the EmployeeAdmin test to work in any other folder rather then the org.puremvc.java.multicore folder.
If I even slightly change the path (for instance to org.puremvc.java2.multicore), it stops working and gwt 2.02 comes back with the following message:
Compiling module org.puremvc.Demo_Java_MultiCore_GWT_EmployeeAdmin Finding entry point classes [ERROR] Unable to find type 'org.puremvc.java2.multicore.employeeadmin.EmployeeAdmin' [ERROR] Hint: Previous compiler errors may have made this type unavailable
I have a few small gwt modules that interact in a very large spring EE application, and I need (if possible) to keep things organized under my company standard folder structure.
I have tried to use the <source path='java2.multicore' > gwt module modified, but to no avail.
Am I missing something very obvious? I use Eclipse ganimede to refactor (move) things around, and, just to clarify, the gwt module file does indeed point to the right module as shown below ........ <!-- Inherit PureMVC --> <inherits name="org.puremvc.PureMVC_Java_MultiCore" /> <!-- Specify the app entry point class. --> <entry-point class="org.puremvc.java2.multicore.employeeadmin.EmployeeAdmin" /> <!-- Specify the paths for translatable code --> <!-- source path='java.multicore'/--> </module>
Thank you in advance for any help Alessandro
|
|
|
Logged
|
|
|
|
puremvc
|
|
« Reply #1 on: February 15, 2010, 10:27:27 » |
|
Just a shot in the dark here, but here:
<!-- Inherit PureMVC --> <inherits name="org.puremvc.PureMVC_Java_MultiCore" /> <!-- Specify the app entry point class. --> <entry-point class="org.puremvc.java2.multicore.employeeadmin.EmployeeAdmin" /> <!-- Specify the paths for translatable code --> <!-- source path='java.multicore'/--> Maybe you need:
<!-- Inherit PureMVC --> <inherits name="org.puremvc.PureMVC_Java_MultiCore" /> <!-- Specify the app entry point class. --> <entry-point class="org.puremvc.java2.multicore.employeeadmin.EmployeeAdmin" /> <!-- Specify the paths for translatable code --> <!-- source path='org.puremvc.java2.multicore'/--> Anthony?
-=Cliff>
|
|
|
Logged
|
|
|
|
abosetti
|
|
« Reply #2 on: February 15, 2010, 12:26:19 » |
|
Anthony, thanks for tip, but I am afraid it doesn't change anything.
I am still having the same problem. I have tried most combinations. I am obviously missing something. any other ideas?
Alex
|
|
|
Logged
|
|
|
|
puremvc
|
|
« Reply #3 on: February 16, 2010, 09:20:43 » |
|
I was actually querying Anthony for input there. He's the port owner. I'll PM him.
-=Cliff>
|
|
|
Logged
|
|
|
|
aquinault
|
|
« Reply #4 on: February 16, 2010, 10:07:24 » |
|
Hi, if you change the structure of the folders by org/puremvc/java by org/puremvc/java2
then you must change <entry-point class="org.puremvc.java2.multicore.demos.gwt.EmployeeAdmin" />
and in each java source code you must modify the package and the import package org.puremvc.java.multicore.demos.gwt; import org.puremvc.java.multicore.demos.gwt.employeeadmin.ApplicationFacade; by package org.puremvc.java2.multicore.demos.gwt; import org.puremvc.java2.multicore.demos.gwt.employeeadmin.ApplicationFacade;
Anthony.
|
|
|
Logged
|
|
|
|
puremvc
|
|
« Reply #5 on: February 16, 2010, 11:38:41 » |
|
BTW, why would you want to do this? The framework has a fixed packaging that probably shouldn't be changed so as to remain compatible with future versions.
-=Cliff>
|
|
|
Logged
|
|
|
|
aquinault
|
|
« Reply #6 on: February 17, 2010, 01:17:23 » |
|
You do not change the structure of the framework (PureMVC Multicore) if you want to compile it. But you can change the structure of the client code (for exemple: EmployeeAdmin) of your project.
Anthony.
|
|
|
Logged
|
|
|
|
abosetti
|
|
« Reply #7 on: February 17, 2010, 03:18:53 » |
|
Thanks
I have now recreated a project from scratch, and it works as expected. I probably have some settings hidden in eclipse or some path issues lurking around.
Thanks for your help.
Alex
|
|
|
Logged
|
|
|
|
|