Re: Is Run Time Annotation Possible?

2008-12-08 Thread [EMAIL PROTECTED]
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. O

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 " name="com.gwtent.GwtEn

Re: Is Run Time Annotation Possible?

2008-12-02 Thread [EMAIL PROTECTED]
What's the error message? Have you append "" 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 host

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 testReflect

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 > > :http:

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.

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分, "A

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 welcom

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

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

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 help

Re: Is Run Time Annotation Possible?

2008-11-26 Thread Arthur Kalmenson
Hi Zujee, AFAIK, it is not possible to modify annotations during runtime (on the client side). Annotation modification would require reflections which is not supported on the client side. -- Arthur Kalmenson On Wed, Nov 26, 2008 at 1:46 AM, zujee <[EMAIL PROTECTED]> wrote: > > Hi experts, > I

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: MyConstants_C1.properties