试图让xjsinteropmode JS工作 [英] Trying to get xjsinteropmode JS working

查看:116
本文介绍了试图让xjsinteropmode JS工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图用GWT试用vaadin聚合物元素,而且我有一段时间了。我在Eclipse中使用GWT 2.8 SNAPSHOT,并且因为XjsInteropmode而无法运行基本项目。该错误说,将其添加到超级开发模式,所以我已经将它添加到运行参数以及GWT编译参数,我仍然收到一个错误,说要仔细检查我正在编译-XjsInteropmode JS 'flag ...我缺少什么?

I'm trying to try out vaadin polymer elements with GWT and I'm having a heck of time getting going. I'm using GWT 2.8 SNAPSHOT in Eclipse and I cannot get a basic project to run because of XjsInteropmode. The error says to add it to Super Dev Mode, so I've added it to the run arguments as well as the GWT compile arguments and I'm still getting an error saying to double check that I'm compiling with the -XjsInteropmode JS' flag... What am I missing?

推荐答案

2.8快照已经使用了 new specs

use -generateJsInteropExports 而不是 -XjsInteropmode

2.8 snapshot already used the new specs:
use -generateJsInteropExports instead of -XjsInteropmode

这篇关于试图让xjsinteropmode JS工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆