Sorry, Now I'm writting a wiki for how to use gwt-ent.

this implement is based gwt generator, for each all class which need
reflection information, then wrote all information into a class file,
gwt will compile this class file into javascript, so that you can
using all of these in client side.

On 12月3日, 下午1时24分, "Au Lai Seong" <[EMAIL PROTECTED]> wrote:
> Actually i am running your code gwtent-sample and other also but none
> of the testcase work. I want to see how you make theannotationwork
> in runtime.
>
> On Wed, Dec 3, 2008 at 8:37 AM, [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote:
>
> > What's the error message? Have you append "<inherits
> > name="com.gwtent.GwtEnt"/>" to your Moudle.gwt.xml?
>
> > On Dec 3, 3:47 am, "Au Lai Seong" <[EMAIL PROTECTED]> wrote:
> >> I do not know how the testannotation 
> >> inhttp://code.google.com/p/gwt-ent/source/browse/trunk/gwtent/test/com/...
> >> work.
> >> Can you explain?
>
> >> I get error in hosted mode when i try to run...
> >> public class Application implements EntryPoint {
>
> >>   public void testReflection(){
> >>           ClassType classType2 =
> >> TypeOracle.Instance.getClassType(TestReflection.class);
> >>             //Class Annotations
>
> >>           
> >> System.out.println(classType2.getAnnotation(Entity.class).getValue("name").equals("TestReflection"));
> >> ......
>
> >> On Tue, Dec 2, 2008 at 10:24 AM, [EMAIL PROTECTED]
>
> >> <[EMAIL PROTECTED]> wrote:
>
> >> > No, any annotations
>
> >> > On Dec 2, 1:00 pm, "Au Lai Seong" <[EMAIL PROTECTED]> wrote:
> >> >> Is it it only support yourannotation? 
> >> >> ->com.gwtent.client.test.annotations.
>
> >> >> On Mon, Dec 1, 2008 at 6:22 PM, [EMAIL PROTECTED]
>
> >> >> <[EMAIL PROTECTED]> wrote:
>
> >> >> > You can have a look the Wiki page 
> >> >> > :http://code.google.com/p/gwt-ent/wiki/UseReflection
> >> >> > need include GWT-ENT module into your project.
> >> >> > then include "Reflection" flag interface into your class
> >> >> > ClassType classType = TypeOracle.Instance.getClassType
> >> >> > (YourClass.class);
>
> >> >> > done :)
>
> >> >> > On 12月1日, 下午1时33分, "Au Lai Seong" <[EMAIL PROTECTED]> wrote:
> >> >> >> Do you want to configure anything in order to make class the 
> >> >> >> following
> >> >> >> code work?
> >> >> >> Test.class.getAnnotation(Id.class);
>
> >> >> >> On Fri, Nov 28, 2008 at 6:30 AM, [EMAIL PROTECTED]
>
> >> >> >> <[EMAIL PROTECTED]> wrote:
>
> >> >> >> > Sorry, what do you mean? My English is not so good, but If you got 
> >> >> >> > any
> >> >> >> > question, please welcome to ask me :D
> >> >> >> > James
>
> >> >> >> > On Nov 27, 1:26 pm, "Au Lai Seong" <[EMAIL PROTECTED]> wrote:
> >> >> >> >> How do you make the com.gwtent.client.test.annotations.Id to be
> >> >> >> >> understandable by GWT?
>
> >> >> >> >> On Thu, Nov 27, 2008 at 6:57 AM, [EMAIL PROTECTED]
>
> >> >> >> >> <[EMAIL PROTECTED]> wrote:
>
> >> >> >> >> > Hi, zujee,
>
> >> >> >> >> >  I have a reflection implement for GWT client code, and it 
> >> >> >> >> > support
> >> >> >> >> > getAnnotation'svalue at runtime.
>
> >> >> >> >> >  http://code.google.com/p/gwt-ent/
> >> >> >> >> >  The test case:
> >> >> >> >> >http://code.google.com/p/gwt-ent/source/browse/trunk/gwtent/test/com/...
>
> >> >> >> >> >  Hope that helps :)
> >> >> >> >> > James
>
> >> >> >> >> > On Nov 26, 5:46 pm, zujee <[EMAIL PROTECTED]> wrote:
> >> >> >> >> >> Hi experts,
> >> >> >> >> >> I have an interface which extends ImmutableResourceBundle
>
> >> >> >> >> >> and inside that
> >> >> >> >> >> @Resource("com/MyPath/MyConstants.properties")
> >> >> >> >> >>     public abstract TextResource properties();
>
> >> >> >> >> >> and its working fine.
> >> >> >> >> >> but I need to change the filename after reading the XML file .
> >> >> >> >> >> eg:
> >> >> >> >> >> <MySettings>
> >> >> >> >> >> <PROPERTYFILE 
> >> >> >> >> >> TYPE="STRING">MyConstants_C1.properties</PROPERTYFILE>
> >> >> >> >> >> </MySettings>
>
> >> >> >> >> >> from that I need to set the reosuece path as
> >> >> >> >> >> @Resource("com/MyPath/MyConstants_C1.properties") in run 
> >> >> >> >> >> time.. is
> >> >> >> >> >> that possible?
>
> >> >> >> >> >> thanks and regards
> >> >> >> >> >> Zujee
--~--~---------~--~----~------------~-------~--~----~
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-Toolkit@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to