Integrating J2ME Polish with NetBeans 5.5

j2mepolish is a wonderful framework .
------------------------
First of all , install netbeans and mobility package.
Then do the follows:
http://www.j2mepolish.org/docs/install.html#netbeans5

J2ME Polish provides NetBeans specific build scripts from J2ME Polish 1.3 Beta 3 onwards. You can now just open any of the provided sample applications, delete the default build.xml script and rename the build-netbeans.xml script to build.xml. You can from then on use the normal debugging, build and compile facilities of NetBeans.
Integrating a sample application in NetBeans:

  • Select File > Open Project... and select any sample application in ${polish.home}/samples. Just select a folder like the menu folder and select Open.
  • Now switch to the Files window by selecting Window > Files.
  • In this window delete or rename the build.xml script which is in the base folder of the project.
  • Now right-click the build-netbeans.xml script and rename it to build.xml. When the renaming does not work, do it directly from the file system (e.g. Windows Explorer).
  • From now on you can build, run, debug and compile with the normal NetBeans commands (e.g. F5 for debugging). J2ME Polish is then used for building etc.

When you start a new project in NetBeans, just copy one of the sample build.xml scripts to your project's folder. Then adjust the settings according to your needs.

------------------------------
So , just adjust the ant script 'build.xml'
發佈了0 篇原創文章 · 獲贊 2 · 訪問量 3178
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章