yes, but I forgot to say, that this only applies to JRE emulation set
of classes provided by GWT, so like java.lang.BigInteger and such for
your custom classes it works like expected.

On 12 Aug., 17:40, Evan Ruff <evan.r...@gmail.com> wrote:
> Cokol,
>
> Thanks for the response, that's exactly what I'm trying to accomplish!
>
> Just to make sure I understand correctly, this is only used when
> compiling for production. In Hosted Mode, the usual (read: REAL) java
> classes continue to be used. Only when I compile will the swap take
> place?
>
> Thanks!
>
> E
>
> On Aug 11, 5:06 pm, cokol <eplisc...@googlemail.com> wrote:
>
>
>
> > hi, you can use the <super-source/> element in the gwt module
> > descriptor, please refer to section "Overriding one package
> > implementation with another" in this 
> > faqhttp://code.google.com/intl/de-DE/webtoolkit/doc/1.6/DevGuideOrganizi...
>
> > there are also other ways, like you could also provide another
> > classpath settings to the compiler, but super-sourcing is actually
> > most elegant, yet remember: in hosted mode GWT will still use the real
> > java class from the classpath rather than your super-sourced
> > implementation.
>
> > On 11 Aug., 22:51, Evan Ruff <evan.r...@gmail.com> wrote:
>
> > > Hello all,
>
> > > I was wondering if anyone can point me in the right direction for what
> > > I'm trying to do. Currently, I've got a huge legacy model used in a
> > > number of systems currently in production. I'd like to include this
> > > model in my GWT project, but three (out of, maybe 200 classes) use
> > > refection. These classes are base classes and the reflection parts,
> > > while nice to have, are not really necessary for my GWT
> > > implementation.
>
> > > So, currently the classes look like :
>
> > > ClassA extends ClassB
>
> > > All of the reflection nastiness is in ClassB. I have written ClassC
> > > that has the same methods/variables as ClassB, but none of the
> > > reflection. I'd like to tell the compiler to replace ClassB with
> > > ClassC right before doing the GWTCompiler magic. Is there a way to do
> > > that as currently implemented or am I on my own from a GWT Standpoint?
>
> > > Thanks,
>
> > > E

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

Reply via email to