Friday, November 9, 2012

Java tip: How to list and find threads and thread groups

Found a fantastic post on finding threads and thread groups

http://nadeausoftware.com/articles/2008/04/java_tip_how_list_and_find_threads_and_thread_groups

Friday, September 7, 2012

ssh shortcuts

$ nano ~/.ssh/config

Host nickname
<tab> Hostname machine.hostname
<tab> User xxx

How to fix error “Updating Maven Project”. Unsupported IClasspathEntry kind=4?

Reposting an answer to this problem.
Disable the maven nature for the project (via the right-click menu), run mvn eclipse:clean (while your project is open in STS/eclipse), and then re-enable the maven nature. 
http://stackoverflow.com/questions/10564684/how-to-fix-error-updating-maven-project-unsupported-iclasspathentry-kind-4

Monday, June 25, 2012

Fedora: Add Application to Activities

> cd ~/.local/share/applications

create file: [application name].desktop

[Desktop Entry]
Type=Application
Name=[...]
Comment=[...]
Icon=[absolute path to icon]
Exec=[absolute path to application executable]
Terminal=false
Categories=[categories ';' separated]



 > sudo update-desktop-database

Wednesday, June 6, 2012

Monday, June 4, 2012

Referencing third-party library source code in a GWT Project

Found a great blog post on how to use 3rd party source code in a GWT project.

The only thing that I will add is that you will also need need to configure just your projects module to be loaded, otherwise you will get an error about gwt.xml files not having an entry point.

...
<artifactId>maven-source-plugin</artifactId>
...
<configuration>
...
<modules>
<module>com.my.Module</module>
</modules>
...
</configuration>
...