Re: Determining dependencies for split points

2013-11-03 Thread Ben Klein
The solution that worked for me was to move the code from the runAsync 
method of split point 1 out of the runAsync call (next to it). This put the 
relevant code into the initial download part, where I could trace the 
dependency.

On Monday, October 14, 2013 1:00:41 PM UTC-4, Ben Klein wrote:

 In my GWT application, I have several split points. In the compile report, 
 it says that a certain class has some code loaded in split point 1 and some 
 code loaded in split point 5. How do I find out what is causing the code to 
 load from split point 5?
  

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Determining dependencies for split points

2013-11-03 Thread Ben Klein
Correction: split point 5, not 1

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Determining dependencies for split points

2013-10-14 Thread Benjamin Klein
In my GWT application, I have several split points. In the compile report,
it says that a certain class has some code loaded in split point 1 and some
code loaded in split point 5. How do I find out what is causing the code to
load from split point 5?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Determining dependencies for split points

2013-10-14 Thread Jens
You have only used that specific code in split point 5 and never in split 
point 1. Thats why the code ends up in split point 5. If you would use the 
same code in both split points it would end up in the left over fragment 
because its not unique anymore to a single split point.

The compile report should show you a method call stack which the GWT 
compiler has been used to determine if a code fragment should end up in the 
split point you currently investigate.


-- J. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Determining dependencies for split points

2013-10-14 Thread Ben Klein
Actually, these are initial fragments, loading in the order 5,1,2,3,4. 
There are no exclusive fragments in this application.

On Monday, October 14, 2013 1:37:46 PM UTC-4, Jens wrote:

 You have only used that specific code in split point 5 and never in split 
 point 1. Thats why the code ends up in split point 5. If you would use the 
 same code in both split points it would end up in the left over fragment 
 because its not unique anymore to a single split point.

 The compile report should show you a method call stack which the GWT 
 compiler has been used to determine if a code fragment should end up in the 
 split point you currently investigate.


 -- J. 


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.