错误BlackBerry_App_Descriptor.xml [英] Error in BlackBerry_App_Descriptor.xml

查看:99
本文介绍了错误BlackBerry_App_Descriptor.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了黑莓的Java插件1.3.0。

I've installed Blackberry Java plugin 1.3.0.

当我创建一个新项目 BlackBerry_App_Descriptor.xml 显示错误。

When I create a new project BlackBerry_App_Descriptor.xml shows error.

这是什么问题?是否有任何环境路径问题?如果是,应该怎样设置路径?

What is the problem? Is there any environment path problem? If yes, what should to set path?

推荐答案

InvalidRegex:模式值([A-ZA-Z _] {1​​,63} [。\\ SA-ZA-Z_0-9] {0,63 } [])*'是不是有效的正前pression?
当然,你应该按照错误的提示,并检查您的BlackBerry_App_Descriptor.xml,没有你的价值观会失败的正则表达式。

InvalidRegex: Pattern value '([a-zA-Z_]{1,63}[\s-a-zA-Z_0-9.]{0,63}[;]?)*' is not a valid regular expression you should of course follow the hint in the error and check that none of your values in your BlackBerry_App_Descriptor.xml will fail the regex.

然而,有一个非常奇怪的情况下,让你会看到这样的错误,无论你的价值观。事实上,创造直接从Eclipse的一个新项目仍然会显示错误。

However, there is a very strange case whereby you will see this error regardless of your values. In fact, creating a new project straight from Eclipse will still show the error.

原来,这可以通过让的Java JRE 7计算机上安装引起的。黑莓插件不支持这个呢,Eclipse中可能会尝试使用它。

Turns out this could be caused by having Java JRE 7 installed on your machine. The BlackBerry plugin doesn't support this yet, Eclipse might be trying to use that.

该修补程序?您只需编辑将生活在同一个目录中,你用它来启动你的IDE的eclipse.exe的的eclipse.ini。关闭Eclipse和制作的eclipse.ini的备份在此之前,这将是一个好主意。

The fix? You simply have to edit the eclipse.ini that will live in the same directory as your eclipse.exe that you use to start the IDE. Closing Eclipse and making a backup of eclipse.ini before you do this would be a good idea.

查找行中openFile紧接着,添加以下内容:

Find the line "openFile" and immediately after, add the following:

-vm
C:/ Program Files文件/的Java / JRE6 /斌/ javaw.exe的[或任何你JRE6目录可能]

-vm C:/Program Files/Java/jre6/bin/javaw.exe [or wherever your jre6 directory might be]

交叉手指,并重新启动Eclipse。
重建项目。

Cross your fingers and restart Eclipse. Rebuild your projects.

这篇关于错误BlackBerry_App_Descriptor.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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