For log4j and for calendar you have alternatives. 2011/8/1 Juan Pablo Gardella <[email protected]>
> Why do you need log4j in gwt client side? > > > 2011/8/1 Joe <[email protected]> > >> >> http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuidePathFiltering >> http://ant.apache.org/manual/dirtasks.html#defaultexcludes >> >> Now does anybody know how to handle the issue with log4j and the >> calendar? >> >> On Aug 1, 6:36 am, Juan Pablo Gardella <[email protected]> >> wrote: >> > If you wan't compile some classes put in a package that gwt compiler >> don't >> > pick up to compile. Seehttp:// >> code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjec... >> > >> > 2011/7/29 Joe <[email protected]> >> > >> > >> > >> > >> > >> > >> > >> > > 1) My legacy application is setup like this: >> > > com.app.model >> > > com.app.exception >> > > com.app.util >> > > com.app.service >> > > etc. >> > >> > > There are 20 classes in the model package, but I only want to >> > > serialize and use 4 for RPC. The others have heavy code in them that >> > > error out upon compilation. >> > >> > > 2) There are references to apache log4j that the GWT cannot find >> > > source for: >> > > No source code is available for type org.apache.log4j.Logger; did you >> > > forget to inherit a required module? >> > >> > > This is the same for java.util.Calendar, org.junit.Assert, etc. >> > > -- >> > >> > > I have tried using the extend-configuration-property "rpc.blacklist" >> > > like >> > > <extend-configuration-property name="rpc.blacklist" value="- >> > > java.util.Calendar"/> >> > > But this seems to do nothing at compile time. >> > >> > > I have also tried to use the blacklist to exclude everything in the >> > > model package except the classes I need, but the other classes still >> > > error out. >> > >> > > Is there anyway to tell GWT to only compile certain classes, and >> > > ignore others? >> > >> > > -- >> > > You received this message because you are subscribed to the Google >> Groups >> > > "Google Web Toolkit" group. >> > > To post to this group, send email to >> [email protected]. >> > > To unsubscribe from this group, send email to >> > > [email protected]. >> > > For more options, visit this group at >> > >http://groups.google.com/group/google-web-toolkit?hl=en. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
