Rechtacek'sMy notices, hints or tipsWho Am I? |
|
|
Monday May 11, 2009
NetBeans Platform at JavaOne 2009
Hi. JavaOne 2009 is coming... If you would like to learn more about developing over the NetBeans Platform (RCP), stop by at a technical session Porting an Application to the NetBeans™ IDE and at a hands-on lab Save Time — Build Desktop Applications Quickly with the NetBeans™ Platform. I and Geertjan or Lukas (or maybe both) are giving hands-on lab Save Time — Build Desktop Applications Quickly with the NetBeans™ Platform on Thursday, 4th June, starting 3:30 PM - 5:10 PM PST in Hall E 130-131in the Moscone Centre. You are highly welcome there. Posted at 03:02PM May 11, 2009 by Rechtacek's in NetBeans | Comments[0]
Friday Jan 23, 2009
Quietly disable modules at runtime?
I was given a inquiry from user of NetBeans Platform. He want to know a way how to disable one or more modules in running application built on NetBeans Platform, in additional it must be perform silently, i.e. with no end-user intervention or any assistance. Well, he requirement is clear but its fulfillment has several difficulties: first, modules in NetBeans Platform depends on each other and it's uneasy to discover modules which don't involve any essential module of platform. Second, modules can depend on each other even thought don't declare such dependency. Such ad-hoc dependencies are mistakes and NetBeans architecture is aiming to avoid them but few of them can still left there. This fact leaded NetBeans team to do disabling of module only in "offline" time, it means when NetBeans application is not running currently. Okay. It was bad news, good news is that Autoupdate Services API has capability to perform disabling of module in currently running application (with awareness of possible problems stated above). [Read More]Posted at 01:22PM Jan 23, 2009 by Rechtacek's in NetBeans | Comments[5]
Monday Dec 22, 2008
How to update NetBeans Platform Application silently?
In a mail thread [openide-dev] Automatic Autoupdate I've been asked for a guidance how to use Autoupdate Services for installing updates of your NetBeans Platform Application with as few as possible user's interactions. The blueprint should look like:
[Read More] Posted at 03:12PM Dec 22, 2008 by Rechtacek's in NetBeans | Comments[12]
Friday Dec 05, 2008
Improved handling of file templates in NetBeans 7.0
NetBeans allows IDE users (or users of application built of top of NetBeans RCP) to use predefined templates of files for creating standard files (e.g. Java classes, Swing forms, Configurations etc.). Besides this, users would like to save own files as a template for further usage or customize predefined templates to their taste. During recent NetBeans releases we got a lot of feedback about file templates handling, unluckily many of them were bug reports or other complaints. A pretty good summary did Petr Pisl in his blog http://blogs.sun.com/netbeansphp/entry/how_to_manage_templates_in. On base of that, on bug reports and using RFEs is Issuezilla I created a wikipage FileTemplatesOpenIssues where I did a evaluation of troubles in file templates handling and link up problems with corresponding issues in Issuezilla. So, and now some better news In detail, which parts will be better:
Posted at 05:30PM Dec 05, 2008 by Rechtacek's in NetBeans | Comments[4]
Friday Nov 14, 2008
New Feature in NetBeans 7.0 - Plugin Importer
As you know, NetBeans 6.5 coming.... and contributing new features into NetBeans 7.0 (Dev) has started recently. One of them - importing plugins from previous release into new one - is here.
How does Plugin Import work?
Design and UI outline is at http://wiki.netbeans.org/ImportPluginsFromReleaseToRelease Q: There is a possibility to import plugins from different directory?
In the end, a small org announcement Posted at 08:17AM Nov 14, 2008 by Rechtacek's in NetBeans | Comments[1]
Thursday Sep 11, 2008
Problems with installing plugins on Windows Vista? No longer in NetBeans 6.5
Have you ever seen Access denied on Windows Vista while installing new plugins? It could happen on Vista in some certain cases in Plugin Manager. Several issues have been fixed recently in NetBeans 6.5 in this area. Some of them caused by known (but very ugly behavior) problem directory.canWrite() could returns true (when directory is a java.io.File) even thought the directory is read only. As workaround I try to open java.io.InputStream to make sure if I can write them or not. Further, write permission should be checked not only on cluster directories, but also on subdirectories which can be owned by another user (namely the user Administrator if NetBeans are run in Vista admin mode sometime). Other set of problems were caused by open file handlers in NetBeans launcher. Although there directories were hold, directory.delete() returns true as directory was
successfully deleted, but it was not true, the directory left there. Then Java cannot open this one, write into nor use it anymore, it always ends Access denied until NetBeans was running. For your information, there are such issues:
and maybe some more recently fixed in this area. If you want to try nightly builds on NetBeans 6.5 on http://bits.netbeans.org/dev/nightly/latest/ and please send your feedback about this upcoming NetBeans release. Thanks Posted at 10:43PM Sep 11, 2008 by Rechtacek's in NetBeans | Comments[0]
Wednesday Aug 27, 2008
Yet another significant speed up the Plugins Manager
As I was writing in my previous post I've continued on improving performance of Plugin Manager. After lowering memory consumption while parsing content of Update Centers I'm focusing speed of handling plugin's updates. I got feedback several times that install of the patches of NetBeans 6.1 IDE can be very slow, specially when installing a big patch into full IDE distribution. I that case IDE users have to sit by and be watching Please wait dialog for a few minutes.................... It was ugly
It was really ugly but it won't be anymore. I achieved significant acceleration of processing plugin's updates. Thanksgiving Jara now I have a testing Update Center containing updates of all plugin's installed in Development build of NetBeans IDE. With that UC I investigated and measured processing update in Plugin Manager. I found out some methods has to be called million times. Although it made sense in the applied analysis model of plugins dependencies, model computation was inacceptable due to its slowness. So, that's the right momentum to start thinking about change the model. Right, I had to do it. The former model works over plugin-to-plugin dependencies. Starting with some visible plugin goes down to else plugins on which depending on. If some of evaluated dependencies forced to add plugin within collection of updates, the dependencies evaluation will continue on itself and so on. It worked, but some dependency evaluation can become useless. If the case P1 depends on D and P2 depends on D as well, analysis model contains dependency P1->D and P2->D, it means two evaluations. The new model does abstraction which plugin depends on another one and just evaluates dependency itself regardless which plugin declaring that on. In the previous example, the new analysis model works with ?->D dependency only, it means only once evaluation instead of twice. Just idea but with amazing consequence, on testing Update Center is much faster from 40s on old model to 2s (!!!) on the new one. In the Big O notation words, the former model was working with O(n2) but the new model has O(n) complexity I think. Simply, fixing performance problems can be a amazing story sometime. I'm sure this algorithm change makes Plugin Manager better with much better impression while installing future patches into NetBeans 6.5. The new algorithm in Plugin Manager has been integrated just now, so in the daily development builds should be in a few days. Just try it.... Posted at 05:32PM Aug 27, 2008 by Rechtacek's in NetBeans | Comments[2]
Tuesday Aug 12, 2008
Bye, Bye, DOM parser in Plugin Manager
NetBeans teams are in fixing and stabilization phase of upcoming release NetBeans 6.5. The modules Autoupdate (API) and Plugin Manager (UI) are in step of fixing as well. After most of functional bugs have been fixed in previous milestones of NetBeans, I'm targeting the performance area in these modules. One of most reporting problems is a high memory consumption while parsing content of Update Centers. Because usually content of Update Center is represented in XML structure, Plugin Manager used DocumentBuilder to get DOM document and processing DOM Nodes. This way was easy and elegant but due to having many many modules in NetBeans codebase which made XML file too big, creating and processing that Document consumption too big memory, commonly 60-70MB on memory heap. Even though such big memory is allocated temporary and will return back to JVM, it could cause OutOfMemoryException sometimes. Since NetBeans 6.5 (but not in NetBeans 6.5 Beta!) Autoupdate/Plugin Manager don't use DOM document for processing such XML files, uses SAX parser which is lighter and asks less memory to handling XML elements. By my memory measuring the Plugin Manager the memory consumption decreased to 30MB on the heap, it means 50-60%. It's not bad although it might have been better Stay tuned, more performance improvements have been integrated in NetBeans 6.5 Beta (coming soon) and some else are planning for fixing phase of NetBeans 6.5 after beta too.
Posted at 02:06PM Aug 12, 2008 by Rechtacek's in NetBeans | Comments[1]
Friday Jun 13, 2008
A secret tooltip in Options dialog
Now that we have been speaking of tooltips in NetBeans IDE (How do you like balloon-like tooltip?) I remembered a tooltip which I have recently added into NetBeans 6.1 IDE. There is a new tooltip in Tools|Options dialog in General page over Use System Proxy Settings:
This tooltip shows a Network HTTP Proxy which was detected from user's operating system. It can help users to see what proxy is active right now, or to make them sure the right one proxy was found. Just a note: If NetBeans launcher cannot found information if a proxy is active in user's system or it doesn't, the Use System Proxy Settings will be disabled. In the case of launcher found that no proxy is currently active, the tooltip will show a message 'Direct connection'
What do you think of it? Doesn't it make sense? And in general, what are your experiences with using Network Proxy support in NetBeans IDE? Do you need to do setup Network Proxy manually? Or, you don't care about Network Proxy because it works out-of-box? Thanks for your opinion. Posted at 09:14AM Jun 13, 2008 by Rechtacek's in NetBeans | Comments[4]
Tuesday Jun 03, 2008
How do you like balloon-like tooltip?
NetBeans IDE regularly checks for available updates of your IDE's installed plugins. Since NetBeans 6.0 IDE the NetBeans team delivering patches almost monthly and it makes alerting users about new updates more important than ever. On this account Stan introduced balloon-like tooltip in NetBeans 6.1 IDE. The balloon will notify IDE users about available updates in the IDE status line if some updates found. Like this The balloon is showing for 30 seconds when Plugin Manager found available updates. Or an user can invoke it like tooltip on mouse over the update icon Some users (most of IDE users I believe) like this balloon and some don't. I got some feedback on NetBeans 6.1 IDE and did a little change for NetBeans 6.5 IDE:
What about you? How do you like the balloon stuff? Thank you for feedback Posted at 04:47PM Jun 03, 2008 by Rechtacek's in NetBeans | Comments[13]
Saturday May 10, 2008
JavaOne 2008 is over!
As quickly as JavaOne 2008 was opened it was over. I saw a couple of interesting sessions or BOFs, some of them were amazing, a few a little boring and I think it was good stuff. I can meet many of NetBeans platform users which the best one benefit such congresses. Among other things, a lot amazing parties belong to JavaOne as well as technical sessions. In the end, the After Dark party with some Rock music on the stage. However it was over over very quickly too Posted at 02:21AM May 10, 2008 by Rechtacek's in NetBeans | Comments[2] A few words about my BOF
Wednesday. The seventh of May. I attended couple of sessions and except that I was hearing the presentation matter I was watching speakers: theirs opening of session, how to do demonstration on the stage, how to recover if something went wrong and so on. I must say it made me calm down. Speakers as well as attendees take everything at ease, didn't worries anyhow. So, it was good message for me
Geertjan and me did the last tuning of laptops for our demonstration, guys from Moscone setup mikes for us and all went good, we just were waiting on the stage when the first attendees came .... and our show started. I dare to say the BOF went good, all demos were working (with a irrelevant exception), attendees didn't go away (with minor exceptions as well) and many of them looked like be interested in the matter of this BOF. Actually, we had to stop Questions/Answers because our time was out. However we weren't be faced to standing ovation Just was a pity no NetBeans Platform guys came early to take some pictures. Maybe next time In the end I would like to say big THANKS to Geertjan for his support while preparing our talk. Posted at 01:09AM May 10, 2008 by Rechtacek's in Personal | Comments[0]
Wednesday May 07, 2008
My first participation at JavaOne 2008
Monday. I've just registered and then look around CommunityOne 2008. Many sessions, many peoples and many thing which I have do do Then I saw very interesting session of NetBeans Dream Team members Fabrizio Giudici and Tom Wheeler with Geertjan showcased examples of desktop applications built on the NetBeans platform.
More my pictures from JavaOne 2008 and from San Francisco you can find in http://picasaweb.google.com/jiri.rechtacek/JavaOne2008 Posted at 12:40AM May 07, 2008 by Rechtacek's in Personal | Comments[0]
Friday Apr 25, 2008
How to customize Plugin Manager to your needs?
UI of NetBeans Plugin Manager (Tools|Plugins in NetBeans6 menu item) was designed for a long time and then tunned a bit to fit all objectives:
I believe it will meet most of users needs however it couldn't cover any imaginable requirement. On this account there are a few options what might be useful for developers using NetBeans platform. I summarized these possibilities at http://wiki.netbeans.org/FaqPluginManagerCustomization. Such as to make Plugin Manager showing all modules regardless of its visibility flag or to show plugin code name in plugin's details. Have fun! Posted at 01:11PM Apr 25, 2008 by Rechtacek's in NetBeans | Comments[0]
Thursday Apr 10, 2008
Stop by at JavaOne's BOF: Consumer IDE
Are you attending JavaOne 2008? Geertjan Wielenga and I will be giving BOF Our Birds-on-a-Feather (BOF) Consumer IDE introduces a new
approach. Provide a high-personalized distribution for users and allow users to customize the application on-the-fly and get exactly what they want to have. We show several demos of this functionality and then make a tutorial how to design application using that concept: a draft of API and code snippets are inclusive Posted at 08:59AM Apr 10, 2008 by Rechtacek's in NetBeans | Comments[1] |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||