IMO, the appropriate way to deal with this is to have a separate tool turn the
template into Java, then have an annotation processor (if needed) tie
everything together (e.g. extend the generated code and implementing/overriding
a few methods, etc.)
How to trigger the intermediate tool and
Turns out that my test program no longer leaked because the rows in the
test program's CellTable were no longer being replaced. After I changed the
test program to output different data for each iteration, it became clear
that the rows in the table just never changed. I tracked down the problem
to
We have a GWT application coded in java on the client. There is no ui
binder only a jsp page and a class with our onModuleLoad() method and then
pure java serving the gui. We want to add bunch of html/javascript to a new
part of the application but I don't know how to organize the new
Good question! I added a maven profile to the Elemento samples [1] which
just runs the annotation processors. Now I can execute mvn compile -apt
whenwver
my HTLM template has been changed.
[1] https://github.com/hpehl/elemento/blob/develop/samples/pom.xml#L175
I see, so in that case
Tessel deals with a similar issue and Stephen Haberman talked at the end of his
gwt.create presentation http://gwtcreate.com/videos/index.html#tessel about a
way to do this within eclipse - may have a look (starting 30:22) :-)
--
You received this message because you are subscribed to the
you've tried superdev mode and watched the js console yet?
On 08/12/2015 12:57 AM, Mohammed Sameen wrote:
Recently i migrated my gwt application from |GWT 2.5| to |GWT
2.7| .Moved most of the script js from *.gwt.xml to html hostpage and
added |set-configuration-property
Hmm might be challenging since I rely on the APT APIs when turning the
template into Java (check types, read template as resource, validate CSS
selectors, ...). Overriding methods is just a small part of it.
I don't see why running the annotation processor is such a pain. Moving
towards GWT
Totally agree with you, because there are no updates and communication from
GWT team even for a couple of months it creates a feeling that GWT
development is being suspended (I really hope that it's false feeling). And
in current competition GWT may easily loose it to AngularJS because of it's
Annotation processors are not the issue, they work fine in full or incremental
compiles, but they are only triggered via annotions (with Java stuff) and not
for xml, html, ...
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe