Spring Team,
Is anybody running Roo 1.1.1 with MYSQL/Hibernate & GWT ??
I have a big problem in that GAE is added to my project even though I specify MYSQL/HIBERNATE which results in compilation errors. If that isn't bad enough then the ApplicationMasterActivities.java doesn't get modified as entities are added.
To reproduce run this script
Code:project --topLevelPackage com.myproject.note gwt setup persistence setup --provider HIBERNATE --database MYSQL --databaseName knotate --userName admin --password password entity --class ~.server.domain.Note
that results in build errors:
and also my entity (~.server.domain.Note) is not added to ApplicationMasterActivitiesCode:1/28/11 5:01:29 PM PST: Refreshing [/myproj/pom.xml] 1/28/11 5:01:46 PM PST: Maven Builder: FULL_BUILD 1/28/11 5:01:49 PM PST: [ERROR] The import com.google.appengine cannot be resolved 1/28/11 5:01:49 PM PST: [ERROR] The import com.google.appengine cannot be resolved 1/28/11 5:01:49 PM PST: [ERROR] UserService cannot be resolved to a type 1/28/11 5:01:49 PM PST: [ERROR] UserServiceFactory cannot be resolved 1/28/11 5:01:49 PM PST: [ERROR] The import com.google.appengine cannot be resolved
Also I erroneously get ~.server.gae.GaeAuthFilter.java, etc added to my project.Code:// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO. package com.myproject.note.client.managed.activity; import com.google.gwt.activity.shared.Activity; import com.google.gwt.activity.shared.ActivityMapper; import com.google.gwt.place.shared.Place; import com.google.gwt.place.shared.PlaceController; import com.google.inject.Inject; import com.myproject.note.client.managed.request.ApplicationEntityTypesProcessor; import com.myproject.note.client.managed.request.ApplicationRequestFactory; import com.myproject.note.client.scaffold.ScaffoldApp; import com.myproject.note.client.scaffold.place.ProxyListPlace; public final class ApplicationMasterActivities implements ActivityMapper { private final ApplicationRequestFactory requests; private final PlaceController placeController; @Inject public ApplicationMasterActivities(ApplicationRequestFactory requests, PlaceController placeController) { this.requests = requests; this.placeController = placeController; } public Activity getActivity(Place place) { if (!(place instanceof ProxyListPlace)) { return null; } ProxyListPlace listPlace = (ProxyListPlace) place; return new ApplicationEntityTypesProcessor<Activity>() { }.process(listPlace.getProxyClass()); } }
Thanks in advance for any assistance.
-Mark


Reply With Quote
