Re: Is Run Time Annotation Possible?

2008-12-02 Thread Au Lai Seong
I do not know how the testannotation in http://code.google.com/p/gwt-ent/source/browse/trunk/gwtent/test/com/gwtent/client/test/ReflectionTestCase.java work. Can you explain? I get error in hosted mode when i try to run... public class Application implements EntryPoint { public void

Re: Is Run Time Annotation Possible?

2008-12-02 Thread [EMAIL PROTECTED]
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?

Re: Is Run Time Annotation Possible?

2008-12-02 Thread Au Lai Seong
Actually i am running your code gwtent-sample and other also but none of the testcase work. I want to see how you make the annotation work 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

Re: Is Run Time Annotation Possible?

2008-12-01 Thread [EMAIL PROTECTED]
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

Re: Is Run Time Annotation Possible?

2008-12-01 Thread Au Lai Seong
Is it it only support your annotation ? -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

Re: Is Run Time Annotation Possible?

2008-12-01 Thread [EMAIL PROTECTED]
No, any annotations On Dec 2, 1:00 pm, Au Lai Seong [EMAIL PROTECTED] wrote: Is it it only support your annotation ? -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

Re: Is Run Time Annotation Possible?

2008-11-30 Thread Au Lai Seong
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

Re: Is Run Time Annotation Possible?

2008-11-27 Thread [EMAIL PROTECTED]
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,

Re: Is Run Time Annotation Possible?

2008-11-26 Thread [EMAIL PROTECTED]
Hi, zujee, I have a reflection implement for GWT client code, and it support get Annotation's value 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/gwtent/client/test/ReflectionTestCase.java Hope that

Re: Is Run Time Annotation Possible?

2008-11-26 Thread Au Lai Seong
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 get Annotation's value at runtime.

Is Run Time Annotation Possible?

2008-11-25 Thread zujee
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