If I create a basic GWT 2.0 project, and add some basic code
splitting, it works perfectly fine.

But our main application is pretty massive and complex.  I cannot get
it to split ANY code whatsoever - even the most basic test.  I
generally confirm this by looking at the soyc compile report but it's
also obvious since there's no deferredjs folder.

My most basic test involves creating an incredibly basic POJO class
and referencing this class only from the onSuccess() method of the
runAsync callback.

GWT.runAsync(new RunAsyncCallback()
{
        public void onSuccess()
        {
                Info.display("Title", (new Bob("Code splitting 
worked").getName()));
        }

        public void onFailure(Throwable reason)
        {
                Info.display("Code splitting failed", "Code splitting failed");

        }
});

public class Bob
{
        private final String name;

        public Bob(String name)
        {
                this.name = name;
        }

        public String getName()
        {
                return name;
        }
}

The info messages (basic GXT class to display debug message) displays
"Code splitting worked".  But the report doesn't show any splits.  And
the class Bob shows up in the initial download. No matter where I put
these code splits and what I try to split, I cannot get any code split
to show.  There's no errors in the GWT compiler output.  We're using
the standard linker.  I really don't know how to proceed from here.
Can anyone provide any help?  Thanks!

-- 
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.

Reply via email to