Beta2 is rebuilt

Serious issue was found by our NetCAT users in Beta2. They reported it on the NetCAT mailing list. Even if the issue doesn't look as serious issue because it happens only on localized windows we decided to respin Beta2. It means that the bug was fixed in Beta2. Beta2 build was re-built. Re-tested and then re-placed on nb.org download site.

Problem Description
It happend when we wanted to fix problem with locked files on windows for our user after Beta1. We workarounded this "lock" problem by copying jar and jad to system's default temporary directory and using it from this location instead of direct using jar/jad from dist directory. This caused another problem that we didn't expected - the name of the TEMP directory is in this location C:\\Documents and Settings\\[user_name]\\Local Settings\\Temp\\in English windows. The name of the directory is same in Czech windows too (that's the reason why I had no chance to find it :( ) Unfortunatelly the "Local Settings" part of the directory is translated in Spanish, Swedish and other languagues and the directory contains non-ascii characters then. WTK2.2 cannot run jar/jad where there are non-ascii characters in path (it's known bug noticed in MP5.0 Release Notes). This was the main reason why our users started complain about Beta2 quality. Instead of running emulator they received exception.
Running with storage root DefaultColorPhone
java.io.IOException: storageOpen(): No such file or directory, C:\\Documents and Settings\\Alejandro\\Configuraci?n local\\Temp\\nbrun17087\\SMSTest.jad
        at com.sun.midp.io.j2me.storage.RandomAccessStream.connect (RandomAccessStream.java:90)
        at com.sun.midp.dev.DevMIDletSuiteImpl.create(DevMIDletSuiteImpl.java:169)
        at com.sun.midp.dev.DevMIDletSuiteImpl.create(DevMIDletSuiteImpl.java:91)
        at com.sun.midp.main.Main.runLocalClass (Main.java:453)
        at com.sun.midp.main.Main.main(Main.java:126)
Execution completed.

Solution
There was big discussion about possible solutions. Starting with ignoring it, providing a patch for affected users and even recommending crazy workaround to change path to TEMP directory in Environment Variables.
Finally we decided to do the best for our users. The best thing is to re-spin the Beta2 build with the bugfix of this issue. The fix is easy - the jar and jad will be still copied to a temporary location but it won't be system's default temporary directory anymore. It will be copied to an temporary directory that is created in the dist directory of your project. This directory will be automatically deleted when you'll finish emulator's session.

Who Is Affected?
Users with localized windows installations. If you cannot run any MIDlet in emulator then you should re-install your Mobility Pack with re-builded Beta2 build. There is no need to re-install NetBeans only the Mobility Pack. You don;t have to un-install it before installation this will be done as part of new installation. The installer will ask you if you want to un-install existing Mobility Pack Beta2 during installation steps.

Download Re-builded Beta2
The new re-builded Beta2 build of Mobility Pack 5.0 can be downloaded from the same location as the "old" Beta2 build. We replaced the "old" build with "new" one.
Comments:

Does this change also include new Q-Build fixes (like .png extension and QuickHelp HTML rendering problem?)

Posted by Daniel MD on November 23, 2005 at 08:12 PM CET #

Hi Daniel,
these issues were fixed after Beta2 so they aren't in Beta2 build. They are fixed in trunk (daily builds) and they will be included next q-build and FCS.

The only one change in Beta2 and Beta2-respin is the change of temporary directory for jad/jar on windows.

Keep the issues coming! I'll push on developers to fix as much of them as possible.

Posted by Lukas on November 24, 2005 at 01:53 AM CET #

OK got it :)

Thanks for the explanation, i will keep them comming and file a final review in the end of stuff that needs to be done for next version, like an editor for gamecanvas (with a map editor for 2D tile games eclipse already has one on the works), a total change to the resources managment (with wizards), a record store editor (that allows the construction of queries and visual edition of the Record Store), and this is just in the 2D J2ME game/app section.

There is also a buch of other stuff for 3D J2ME games that could be done (level editors, 3D viewports for quickview of models and animations).

Also for Java games in general (not a mobility issue but it should be an area Sun activly works on) shader editors like the one Eclipse has now (should be easy to recreate in NB) and a bunch of other tools, i will send you guys a report of stuff wend you guys start planing the features for the next version.

Posted by Daniel MD on November 24, 2005 at 08:42 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This is the main channel to share news, tips and other stuff related to my work. Sometimes you can find even personal stuff. Enjoy your reading...

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
news
Blogroll

No bookmarks in folder

OldNews
MyTrash
NavBar
NetBeans
LinksToBeExpanded