J2me-波兰语---与创建和构建项目有关的问题 [英] J2me -Polish ---Problem related to create and build the project
问题描述
我是j2me-polish的初学者.我已经安装了j2me-polish2.1.4.按照以下链接中显示的步骤操作:- http://www.j2mepolish.org/cms /leftsection/documentation/installation/ide-integration/netbeans/installation.html
I am beginner of j2me-polish.I had installed j2me-polish2.1.4.As per the steps shown in below link:- http://www.j2mepolish.org/cms/leftsection/documentation/installation/ide-integration/netbeans/installation.html
安装后,我尝试按照以下链接中的步骤创建项目:- http://www.j2mepolish.org /cms/leftsection/documentation/installation/ide-integration/netbeans/creating-projects.html
After installing it,I tried to create project by following the step in below link:- http://www.j2mepolish.org/cms/leftsection/documentation/installation/ide-integration/netbeans/creating-projects.html
但是我无法创建该项目.它向我显示了参考问题.后来我尝试通过添加诺基亚N97模拟器来解决该问题,
But i am unable to create the project.it is showing me reference problem.And wen i tried to solve that problem my adding the emulator of nokia N97 then it not happening properly.
我无法生成程序.请帮帮我.
I can't able to build the program.Please help me out.
请您帮我了解有关创建项目和选择选项的正确步骤. 非常感谢
Please can u help me the for the proper steps related to creating the project and selection the option. Thanxs a lot in advance
推荐答案
我按照以下步骤进行操作,并且一直对我有效.下载J2ME-Polish2.1.4,安装该库以及Netbeans插件.也许您将需要重新启动IDE.现在,
I follow the following steps and it works for me all the time. Download J2ME-Polish2.1.4, install the library and also Netbeans plugin. Perhaps you will need to restart the IDE. Now,
- 使用J2ME波兰语插件在Netbeans中创建一个项目(例如波兰语表).称之为
- 将/samples/tableitem/中除nbproject目录以外的所有文件复制到NetBeans目录中.覆盖在复制过程中由Netbeans创建的build.xml.
- 将/samples/tableitem/nbproject的内容(专用文件夹除外)复制到目录中.覆盖所有文件.
- 切换到NetBeans目录
- 编辑project.xml文件.注释掉标签.将标签中的项目名称重命名为在Netbeans中创建的项目名称(即波兰表格")
- 在nbproject目录中编辑project.properties文件.将src.dir从src更改为source/src
- 在nbproject目录中编辑project.properties文件.确保libs.classpath =属性指向J2ME Polish Import客户端库.如果找不到,请确保添加以下两行:
- file.reference.enough-j2mepolish-client.jar = C:/J2ME-Polish/import/enough-j2mepolish-client.jar 9.libs.classpath = $ {file.reference.enough-j2mepolish-client.jar}
- Create a project (for example Polish Table) in Netbeans, making use of J2ME polish plugin. Let's call it
- Copy all files except nbproject directory in /samples/tableitem/ to NetBeans directory. Override build.xml created by Netbeans during this copying process.
- Copy contents of /samples/tableitem/nbproject (except private folder) to directory. Override all the files.
- Switch to NetBeans directory
- Edit project.xml file. Comment out tag. Rename project name in tag to the project name created in Netbeans (i.e. Polish Table )
- Edit project.properties file in nbproject directory. Change src.dir from src to source/src
- Edit project.properties file in nbproject directory. Make sure that libs.classpath= property points to J2ME polish import client library. If not found, make sure that the following two lines are added:
- file.reference.enough-j2mepolish-client.jar=C:/J2ME-Polish/import/enough-j2mepolish-client.jar 9.libs.classpath=${file.reference.enough-j2mepolish-client.jar}
重新启动NetBeans IDE.从现在开始,您可以使用IDE完全工作.但是,您将需要从命令行进行编译.甚至可以将其集成-但不必费心找出. 希望这应该足以让您入门.
Restart NetBeans IDE. From now on you can work completely using IDE. However you will need to compile from command line. Even this could be integrated - but didn't bother to figure out. Hopefully this should be sufficient to get you started.
这篇关于J2me-波兰语---与创建和构建项目有关的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!