打包我的第一个黑莓小部件。 - 未找到 xml 文件
我正在尝试打包我的第一个黑莓小部件。如 Blackberry 网站所述:
我在 Eclipse 中编辑了文件,并尝试使用命令行打包工具创建 .cod 文件。
zip 文件的内容包括 config.xml
Directory of C:\trash\hello
12/13/2010 03:11 PM <DIR> .
12/13/2010 03:11 PM <DIR> ..
09/29/2009 02:09 PM 544 config.xml
12/13/2010 03:11 PM 0 file.txt
09/29/2009 02:31 PM 648 index.html
12/13/2010 02:32 PM <DIR> Scripts
12/13/2010 02:32 PM <DIR> Styles
3 File(s) 1,192 bytes
Directory of C:\trash\hello\Scripts
12/13/2010 02:32 PM <DIR> .
12/13/2010 02:32 PM <DIR> ..
09/29/2009 02:32 PM 172 action.js
1 File(s) 172 bytes
Directory of C:\trash\hello\Styles
12/13/2010 02:32 PM <DIR> .
12/13/2010 02:32 PM <DIR> ..
09/29/2009 02:15 PM 14 simple.css
1 File(s) 14 bytes
但是 widget packeger 找不到 config.xml 文件。
C:\Research In Motion\BlackBerry Widget Packager>bbwp c:\trash\trash\hello.zip
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating widget archive
[ERROR] Invalid widget archive - failed to find config.xml
I am trying to package my first Blackberry widget. as described on Blackberry site:
I edited files in Eclipse and an trying to create a .cod file with command line packaging tool.
Contents of zip files include config.xml
Directory of C:\trash\hello
12/13/2010 03:11 PM <DIR> .
12/13/2010 03:11 PM <DIR> ..
09/29/2009 02:09 PM 544 config.xml
12/13/2010 03:11 PM 0 file.txt
09/29/2009 02:31 PM 648 index.html
12/13/2010 02:32 PM <DIR> Scripts
12/13/2010 02:32 PM <DIR> Styles
3 File(s) 1,192 bytes
Directory of C:\trash\hello\Scripts
12/13/2010 02:32 PM <DIR> .
12/13/2010 02:32 PM <DIR> ..
09/29/2009 02:32 PM 172 action.js
1 File(s) 172 bytes
Directory of C:\trash\hello\Styles
12/13/2010 02:32 PM <DIR> .
12/13/2010 02:32 PM <DIR> ..
09/29/2009 02:15 PM 14 simple.css
1 File(s) 14 bytes
However widget packeger cannot find config.xml file.
C:\Research In Motion\BlackBerry Widget Packager>bbwp c:\trash\trash\hello.zip
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating widget archive
[ERROR] Invalid widget archive - failed to find config.xml
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论