J2me -Polish ---Problem related to create and build the project

别等时光非礼了梦想. 提交于 2019-12-08 02:15:46

问题


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

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

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


回答1:


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,

  1. Create a project (for example Polish Table) in Netbeans, making use of J2ME polish plugin. Let's call it
  2. Copy all files except nbproject directory in /samples/tableitem/ to NetBeans directory. Override build.xml created by Netbeans during this copying process.
  3. Copy contents of /samples/tableitem/nbproject (except private folder) to directory. Override all the files.
  4. Switch to NetBeans directory
  5. Edit project.xml file. Comment out tag. Rename project name in tag to the project name created in Netbeans (i.e. Polish Table )
  6. Edit project.properties file in nbproject directory. Change src.dir from src to source/src
  7. 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:
  8. file.reference.enough-j2mepolish-client.jar=C:/J2ME-Polish/import/enough-j2mepolish-client.jar 9.libs.classpath=${file.reference.enough-j2mepolish-client.jar}

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.



来源:https://stackoverflow.com/questions/4256224/j2me-polish-problem-related-to-create-and-build-the-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!