Hi,
I'm getting really frustrated from this, so any advice is highly
appreciated.
In my GWT project, there is a java native method that calls eval
function inside. All worked fine till I updated from 2.3.0 to 2.4.0
(on Windows XP in Eclipse). After that, when I compiled the project in
Eclipse (GW
I'm compiling projects using gwt trunk from ant without problem
this is my base ant script http://pastebin.com/prRQEETz
and this is how I extend it for each project http://pastebin.com/t7RLmd29
the script asume you are using lombok and it support annotation processors,
but you should be able to
Hi Gal, thank you for sharing the gwt ant build script.
The script wasn't the problem, I was able to compile the source with
the default ant build script. The problem was that compiled code from
Eclipse worked but from command line didn't.
Today I made some other tests and I finally I identified
Ok. Finally I've found the sneaky bug.
The code was failing actually later in the code where was another eval
function referencing the obj variable eval('var title =
obj.feed.entry[' + i + '].title');
Then I checked the obfuscated code and I realized that the obj
variable gets obfuscated and rena
On Sunday, November 20, 2011 12:14:46 PM UTC+1, jogo wrote:
>
> Ok. Finally I've found the sneaky bug.
>
> The code was failing actually later in the code where was another eval
> function referencing the obj variable eval('var title =
> obj.feed.entry[' + i + '].title');
>
Any reason you're not
Hi Thomas,
> Any reason you're not coding this directly in JSNI, without the eval()?
Great point. I was able to fix one JSNI function (mentioned above)
that just gets the title & id with the solution you suggested. Thank
you.
But unfortunately, there is one even more complex method, that gets
dat
On Sunday, November 20, 2011 5:39:04 PM UTC+1, jogo wrote:
>
> Hi Thomas,
>
> > Any reason you're not coding this directly in JSNI, without the eval()?
> Great point. I was able to fix one JSNI function (mentioned above)
> that just gets the title & id with the solution you suggested. Thank
> you
Man, you made my day :o) Thanks!
On Nov 20, 6:49 pm, Thomas Broyer wrote:
> On Sunday, November 20, 2011 5:39:04 PM UTC+1, jogo wrote:
>
> > Hi Thomas,
>
> > > Any reason you're not coding this directly in JSNI, without the eval()?
> > Great point. I was able to fix one JSNI function (mentioned a