Hi Matheus, There might already be a built in way to do this, but if there is I don't know of it.
There might also be a simple way to add an ant task to the regular eclipse plugin compilation process, since I believe it's just using ant under the hood. Within straight GWT land, though, the key is that you want to evaluate code at compile time and have the result available at run time. I would just write a really simple generator that generates a class to an interface consisting of just getCompileTime() (or whatever), which could be returned as a String or a Date object (from a String) if you need localization/more options/etc. If you've never written a generator for GWT before, the learning curve can be a bit daunting, but once over the concept is pretty simple, powerful, and a great way to get to know the real flexibility allowed by the GWT compilation process. On May 21, 7:27 am, Matheus Garcia <garcia.figueir...@gmail.com> wrote: > Hi all! > > I'd like to have an about dialog which would show users the date and > time the web application was compiled. Is there any way to get that in > GWT? > > I know that I could do that with ant tasks like > inhttp://coding.derkeiler.com/Archive/Java/comp.lang.java.help/2003-12/..., > but actually I'm using the eclipse plugin to compile, so I just like > to know if there is another way to get that. > > Thanks, > Matheus > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.