Title: testing the framework Post by: 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 Title: Re: testing the framework Post by: puremvc on February 15, 2010, 10:27:27 Just a shot in the dark here, but here:
<!-- Inherit PureMVC --> Maybe you need: <!-- Inherit PureMVC --> Anthony? -=Cliff> Title: Re: testing the framework Post by: abosetti 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 Title: Re: testing the framework Post by: puremvc 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> Title: Re: testing the framework Post by: aquinault 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. Title: Re: testing the framework Post by: puremvc 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> Title: Re: testing the framework Post by: aquinault 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. Title: Re: testing the framework Post by: abosetti 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 |