Netbeans Platform development with maven: Troubleshooting
This article is about common problems in Rich Client development with the Netbeans Platform using maven. I’ll extend this article every now and then, when there’s time for it.
This article is about common problems in Rich Client development with the Netbeans Platform using maven. I’ll extend this article every now and then, when there’s time for it.
It’s sometimes kinda hard to force your Netbeans RCP Standalone Application to open the Favorites Window per Default (at least when using maven).
Here’s the solution:
Just a hint if you have the following problem:
You’re using javaassist (in my case 3.14.GA) and a Java-Agent / instrumentation to invoke javaassist for Class-transformations. (I use Java7 which works with Javaassist 3.14.GA).
The following code returns a CtClass:
//make sure to add your classpath, e.g. cp.appendClassPath(new LoaderClassPath(loader));
//throws no Exception
CtClass cc = cp.get(className);
//this would return a non-null [...]
Here’s my setup for a maven 3 multi-module project, using a java-agent, that can be run either from the Netbeans-IDE or with a handcrafted windows-batch-file.
When I searched for a Swing Component that is able to render modern HTML/CSS, I noticed that there’s no solution that covered all of my needs. Here are my thoughts on the topic and an (unfinished and rough) idea on how to create a JWebPane while the original JWebPane (announced 2008) stays vaporware.
I got several errors when trying to make mediawiki send e-mails on my windows 7 xampp 1.7.4 test-installation. Now here’s what I did.
A friend of mine recently had a mysterious problem. He stored an object in $_SESSION and fetched it from the $_SESSION. When he fetched it, it had magically turned it’s type from the concrete class to the type of the super-class. To get even more mysterious, the problem only occured on the production server, [...]
I just fiddled around with Apaches Jackrabbit 2 and found the following error and solution noteworthy.
The excellent library DJ Native Swing allows a java-program to use an embedded native Browser (among other things).
On Windows-Systems it uses an Internet-Explorer per default. However this browser isn’t exactly known for being standards-compliant. In order to use a mozilla firefox / gecko-browser, you can use XulRunner.
In order to bundle the XulRunner with your application [...]
I just worked on a search-engine indexer, which crawls utf-8 files and creates an index of the words. There have been some issues, that are easy to solve if you know them.