For  those who might be interested the solution  is to use a linker that
extends Abstraclinker and get the string from the compilation result

CompilationResult.getJavaScript()[0];



2011/8/5 Alain Ekambi <[email protected]>

> Well actually not quit exact
>
> let s stay i have the following code in the EntryPoint
>
> Test t = new Test();
> t.sayHello();
>
> is it possible to get only the corresponding JS ?
>
> and not all the other stuff GWT generates ?
>
>
> 2011/8/5 Alain Ekambi <[email protected]>
>
>> Lets say i have the following code
>>
>> public class Test(){
>>
>>   public void sayHello(){
>>     Window.alert("Hello");
>> }
>> }
>>
>>
>> Is it possible to get a file that only contains the JS compilation of that
>> class and not all the other generated stuff by gwt.
>> No matter which browser
>>
>>  2011/8/5 Jeff Larsen <[email protected]>
>>
>>> different browsers get different JS. I don't understand your question.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msg/google-web-toolkit/-/4bPEkeyP-8sJ.
>>>
>>> To post to this group, send email to [email protected]
>>> .
>>> 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.
>>>
>>
>>
>>
>> --
>>
>> GWT API for  non Java based platforms
>> http://code.google.com/p/gwt4air/
>> http://www.gwt4air.appspot.com/
>>
>>
>>
>
>
> --
>
> GWT API for  non Java based platforms
> http://code.google.com/p/gwt4air/
> http://www.gwt4air.appspot.com/
>
>
>


-- 

GWT API for  non Java based platforms
http://code.google.com/p/gwt4air/
http://www.gwt4air.appspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
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