Thursday Aug 07, 2008

Short Look&Feel Switches for NetBeans

NetBeans as any other java application can be run in various look and feels. Generally you can switch the look&feel by adding the jar with look&feel classes to classpath of your application and specifying the required look and feel with --laf command line switch.
  • netbeans --cp:p C:\\looks-1.2.2.jar --laf com.jgoodies.plaf.plastic.PlasticXPLookAndFeel
For you convenience there are new "shortcuts" for switching the well known look and feels.
  • Metal
  • Nimbus
  • GTK
  • Windows
  • Aqua
How it works? Use "netbeans --laf Metal" and you are 10 years back ;)
Please, be aware that not all the switches works on all platforms. The Metal and Nimbus will work on all operating systems however Nimbus is part of jdk 6. Aqua works only on Macs. GTK on unixes. And Windows is obvious, isn't it?.

Wanna know more?

Thursday Jul 24, 2008

Icon tell me more about you

I don't remember what all the icons in NetBeans IDE mean. Sometimes you can guess, sometimes you are lost. But now there is also text description of the meaning of the icon on a node. Of course, the node has to provide the information. But as you can see from the screenshots there is plenty of messages already.


Interested in more details? Read the specification. Or you want to know how to use it?

And I wonder - how -the hack- we are going to test it?

Friday Jul 11, 2008

Automatic linking between Hg and Issuezilla

There always has been effort to link the commits of the bug fixes with the bug reports. There are an automated systems out there that do the work for you. For example JIRA can synchronize with Mercurial. Unfortunately, it wasn't such easy in the environment where the NetBeans developers had to work.
Before we moved to Mercurial VCS we had a rule that developer closing issue as FIXED had to provide also the cvs commit log to bug that he had closed. After the move to the Mercurial recently, developer are asked to provide changeset number when they are closing a bug report.

Time has changed. There has been developed new hudson plugin that adds new comment to the bug report when you commit your commit log with a message following simple pattern.
The pattern is #ISSUE_NUMBER("#[0-9]{4,7}+") wherever in the commit message. The best practice is to add the "#ISSUE_NUMBER - issue summary" to the first line of your commit. Example of commit log message: #139566 - [permui] Mercurial menu item in Tools menu doesn't follow permanent ui spec.

If you will commit the changeset with such message the you can expect the following message will appear in the issue (example)when your changes are correctly propagated into the main-golden repository :
------- Additional comments from qa@netbeans.org Tue Jul 29 14:43:08 +0000 2008 -------
Integrated into 'main-golden', available in build \*200807291401\* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/bda38e44840f
User: Lukas Hasik 
Log: #139566 - [permui] Mercurial menu item in Tools menu doesn't follow permanent ui spec

IMPORTANT: the message is added to the issue only when the changeset is integrated into main-golden repository AND new build of main-golden passed. < href="http://blogs.sun.com/coreqa/entry/netbeans_mercurial_repositories">Main-golden is synchronized with main repository when all the tests pass. In some cases it can take a while therefore if you hurry with your bug fix verification provide us the changeset immediately when you are closing the issue as FIXED.
About

Team blog of NetBeans Core and Platform Quality Assurance team

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