« srpen 2005 »
PoÚtStČtSoNe
1
2
3
4
5
14
    
       
Today

Navigation

Speaker Profile
Roumen's Weblog
Login
Sun Bloggers
Technorati Profile

Am I popular?

Today's Page Hits: 866

Contacts

Name: Roman Strobl
E-mail: roman dot strobl
at sun dot com

NetBeans

Java Sites

Javalobby
The Server Side
Java Tips
Java Blogs
java.net
java.sun.com
java.cz

Blogs

NetBeans:
Geertjan
Brian Leonard
Gregg Sporar
Lukas Hasik
Ludovic Champenois
Vincent Brabant
Alexis Moussine-Pouchkine
Jullion-Ceccarelli
Tom Ball
Tim Boudreau
Jesse Glick
Petr Blaha
Ruth Kusterer
Jara Uhrik
xzajo
Jan Lahoda
James Branam
nbextras.org

Sun:
Kazem - bug cartoons ;-)
Tor Norbye
Romain Guy
James Gosling
Chief Gaming Officer
Bill Vass
Jim Grisanzio
Jonathan Schwartz

Planets:
Planet Netbeans
Planet Sun
Planet Eclipse

Other:
netbeans-blog.org
Joel Spolsky
Bruce Eckel

License info

Creative Commons License
This work is licensed under a Creative Commons License.

Recent Entries

Map of visits

Locations of visitors to this page
« Previous day (Aug 5, 2005) | Main | Next day (Aug 6, 2005) »
20050806 Sobota srpen 06, 2005
My Second NetBeans Plug-in: Project Packager

During my vacation next to lots of biking and having fun with friends I also worked on my second plug-in called Project Packager. Unlike my previous Googlefight plug-in this one is almost useful. It can be used to export projects as zip packages, send them by e-mail and to unpack them for opening. Here's a screenshot of the export dialog:


Exporting of projects and sending by e-mail

I've found out that exploring NetBeans APIs can be quite fun and will share some of the experiences during my next posts, especially all those tricky things. It happened to me several times that I was trying to solve some problem and then after few hours smashed my head when finding the answer, you know how it goes... exploring something new is both challenging and fun.

Here you can download the nbm of my plug-in and it's sources. If anyone thinks this plug-in is a good idea I may also commit the sources to CVS. The project needs to be opened in a recent 4.2 daily build. Note that the project contains 2 external libraries to be able to send MIME attachments. Comments are welcome and appreciated.

Update: I've commited the project into CVS, the latest version of sources will always be in contrib/projectpackager.
Why Is NetBeans Full of Cookies?

If you've ever studied NetBeans sources or wrote anything above NetBeans, you must have crossed the omnipresent Cookies. There is a nice explanation of how the term was created in the NetBeans: the Definitive Guide (which is btw a great resource if you want to really understand NetBeans, most concepts are still valid although the book is about NetBeans 3.x):

----------------------%<----------------------
Why Cookies?

According to Yarda Tulach, “The name ‘cookie’ was invented by us, and was meant as something special and sweet that is provided by an object, which you can ask for.” NetBeans’ cookies bear a fleeting resemblance to the concept as defined by web browsers, but only inasmuch as they are objects held by a provider object which is not expected to know much about what kinds of cookies it possesses. Do not conflate NetBeans’ concept of cookies with browser cookies— this will only create confusion. The name probably contributes a little bit to Cookies being a stumbling block for people getting involved in coding for NetBeans.
----------------------%<----------------------

If it helps you can visualize a Node offering various Cookies like this:



    Disclaimer: The contents of my blog represent my personal opinions which may differ from official views of my employer, Sun Microsystems.