Thanks a lot for this post. It works great. The GWT team has made a great job on the split code feature and SOYC is a good feedback.
Baptiste B. On 23 juil, 09:12, kuvera <[email protected]> wrote: > Thanks. Now I was able to create the artifacts files with Compiler > into an extra directory, but I still got the SoycDashboard error. > Later I realized that the stream error was caused by the zero-length > dependencies0.xml inside dependencies0.xml.gz. So I removed that file > from the arguments and html files were now created. > > For those, who want a quick start withSOYC, here's what you need to > do in the webapp's ant build file: > > In the "gwtc" target add these arguments: > <arg value="-soyc"/> > <arg value="-extra"/> > <arg value="extra"/> > > Create a new target: > <target name="soyc"> > <java failonerror="true" fork="true" dir="extra/test1/soycReport" > classname="com.google.gwt.soyc.SoycDashboard"> > <classpath> > <pathelement location="${gwt.sdk}/gwt-soyc-vis.jar"/> > <path refid="project.class.path"/> > </classpath> > <jvmarg value="-Xmx1024M"/> > <arg value="-resources"/> > <arg value="${gwt.sdk}/gwt-soyc-vis.jar"/> > <arg value="stories0.xml.gz"/> > <!-- <arg value="dependencies0.xml.gz"/> --> > <arg value="splitPoints0.xml.gz"/> > </java> > </target> > > Modify "test1" with your module's (rename-to) name. > > Run: ant > If dependencies0.xml.gz is larger than 10 bytes, uncomment its line in > the ant script > Run: antsoyc > > cheers, > Kuvera > > On Jul 22, 6:31 pm, davidRoe <[email protected]> wrote: > > > > > I believe this was changed to -extra extradir > > > On Jul 22, 9:23 am, kuvera <[email protected]> wrote: > > > > Hi, > > > > I have just built GWT from trunk, and I would like to inspect the > > > component sizes in one of my modules withSOYC, using it for the first > > > time. > > > The only specification I found was in the wiki named CodeSplitting, so > > > I set it up as specified there. > > > I found that using GWTCompiler class the -aux folder gets created, but > > > running SoycDashboard fails with "Error creating html file. Unexpected > > > end of ZLIB input stream". > > > When I use the new Compiler class with the -soycflag, no metadata is > > > created at all. > > > > Any tips are welcome. > > > > thanks, > > > kuvera --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
