Normally I do not really get excited about all the noise Google and Apple are making with indirect threats to each other . I love the products both companies are making available to us plain mortals and we choose what we like best and focus on making great application which make those companies grow. But the latest comment from Apple about possible depricate Java on future releases of Mac OS is just plain evil and really irritates me.
http://www.theregister.co.uk/2010/10/21/apple_threatens_to_kill_java_on_the_mac/
I hope this backfires. Luckily history has proven that such protectonism of your own little empire typically cannot be supported in the long run.
No Mac for me anymore.
Saturday, October 23, 2010
Monday, May 3, 2010
Testing NBM's for update center locally
When creating NBM's to be deployed for an update center NetBean's nicely create a list of NBM's and the corresponding update.xml file.
Now, when you would like to test those NBM's I often upload to a dev-area on my webserver to test the update. A faster way to check the consistency of the generated files is directly to enter a File URL in the the Settings for the Update Center.
An example of the syntax to use to read those update from a local Windows disk:
Now, when you would like to test those NBM's I often upload to a dev-area on my webserver to test the update. A faster way to check the consistency of the generated files is directly to enter a File URL in the the Settings for the Update Center.
An example of the syntax to use to read those update from a local Windows disk:
file:/C:/svn/trunk/myapp/build/updates/update.xml
Friday, February 26, 2010
As I was trying to launch a NetBeans RCP app from an external drive with a specific JRE also deployed on that external drive, I had a little trouble to also have the user directory located there.
My mistake was to have the user directory specified in the same directory as the RCP app.
Example: Assume you create a ZIP of your app called "MyApp". It will be in a folder called "MyApp" (The folder is containing "bin", "etc", and so on). To make sure it uises a given tested version of the JRE assume you also have a copy of the JRE in that deployment dir.
NOT WORKING :
The code above will create the userdir but than just exit. I have no explanation for this behavior. What solved the problem is to make sure the user directory is not under the deployment directory
WORKING:
Which put the user directory parallel to the deployment directory.
My mistake was to have the user directory specified in the same directory as the RCP app.
Example: Assume you create a ZIP of your app called "MyApp". It will be in a folder called "MyApp" (The folder is containing "bin", "etc", and so on). To make sure it uises a given tested version of the JRE assume you also have a copy of the JRE in that deployment dir.
NOT WORKING :
set MYAPP=%~dp0
"%MYAPP%\bin\myapp.exe" --jdkhome "%MYAPP%\jre6" --userdir "%MYAPP%\myuserdir"
The code above will create the userdir but than just exit. I have no explanation for this behavior. What solved the problem is to make sure the user directory is not under the deployment directory
WORKING:
set MYAPP=%~dp0
"%MYAPP%\bin\myapp.exe" --jdkhome "%MYAPP%\jre6" --userdir "%MYAPP%\..\myuserdir"
Which put the user directory parallel to the deployment directory.
Wednesday, January 27, 2010
Oracle is going full speed NetBeans
From this link (Ted Farrell, Chief Architect and Senior Vice President about Oracle + Sun Java Developer Tools Strategy) I can only positively conclude that Oracle is putting its eggs into NetBeans - including the NetBeans Platform - Great news !
Thursday, November 12, 2009
Missing rt.jar Mac OS X using ProGuard with NetBeans
When you are using ProGuard for obfuscation of some of your NetBeans module code on a Mac running OS X and you will most likely refer to rt.jar in your build.xml and get and error about missing rt.jar.
One quick fix solving this could be the following which helped me.
On your Mac open a terminal and change directory to
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib
now just softlink to classes.jar via
me$ sudo ln -s ../../Classes/classes.jar rt.jar
One quick fix solving this could be the following which helped me.
On your Mac open a terminal and change directory to
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib
now just softlink to classes.jar via
me$ sudo ln -s ../../Classes/classes.jar rt.jar
Tuesday, November 10, 2009
Visual Library Website moved
After the migration of all NetBeans sites we now have
http://graph.netbeans.org is now http://platform.netbeans.org/graph
http://graph.netbeans.org is now http://platform.netbeans.org/graph
Tuesday, October 20, 2009
Visual Lib and Widget Locations after resize
After a longer (rather frustrating) debugging I have found a way to fix what is mentioned under http://www.netbeans.org/issues/show_bug.cgi?id=173997 (see at the end of this issue a test app)
The key to success here is to ignore whatever is returned by the widget.getPreferredLocation() and only focus using the widget.getPreferredBounds().
As David (father of Visual Lib) nicely reminded me about we have the view/scene/local coordinates are described at:
The key to success here is to ignore whatever is returned by the widget.getPreferredLocation() and only focus using the widget.getPreferredBounds().
As David (father of Visual Lib) nicely reminded me about we have the view/scene/local coordinates are described at:
but even though the coordinates are getting somehow mixed up and the only safe way is to ask for the getPreferredBounds() and than convert those to the Scene coordinate system.
Subscribe to:
Posts (Atom)