May 21, 2009

Must Have Visual Studio Add-On

Resharper

http://www.jetbrains.com/resharper/

May 18, 2009

Unable to Install Adobe CS3

If you are unable to install Adobe Dreamweaver, Flash, Illustrator, Photoshop, etc. because you get an error message stating it is already installed. Try the Adobe CS3Clean Script

May 8, 2009

Modify JBoss memory usage

To modify the maximum memory used by JBoss modify the -Xmx parameter in the $JBOSS_HOME/bin/run.conf.

Apr 30, 2009

Maven Skip Tests

To run maven without running the tests:

mvn install -Dmaven.test.skip=true

Apr 20, 2009

Eclipse "cannot be resolved to a type" error

Error: I was getting several "cannot be resolved to a type" error messages and red X's on the packages.

Solution: Right click on the project in the package explorer and select Refresh.

Apr 17, 2009

Eclipse PHP Development Tools

PDT: http://www.eclipse.org/pdt/

Eclipse failed during execution error message

Error: failed during execution of mojo: org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile

Solution: Modify eclipse.ini file (found in the eclipse installation directory) -vm property with the same java jdk vm used for maven.

Example:
-vm
C:\Program Files\Java\jdk1.5.0_18\jre\bin\client\jvm.dll

Reference: http://archive.hausfoundation.org/lists/dev@m2eclipse.codehaus.org/msg/13206683.1196911797792.JavaMail.haus-jira@codehaus01.managed.contegix.com

Apr 14, 2009

Error "Invalid thread access" during Maven import

When trying to import a maven project using Eclipse 7.1 I got the following error message:

An internal error occurred during: "Importing Maven projects". Invalid thread access.

Apparently m2eclipse importing of Maven projects is not supported in Eclipse 7.1. I uninstalled Eclipse 7.1 and installed Eclipse 7.0 to fix the problem.

Reference:

http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&t=23178&start=0&postdays=0&postorder=asc&highlight=

Apr 10, 2009

Error: java.lang.OutOfMemoryError: Java heap space

If Java runs out of memory, the following error occurs:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

or

Exception in thread "main" java.lang.OutOfMemoryError: PermGen space

java -Xms[initial heap size] -Xmx[maximum heap size] -XX:MaxPermSize=[maximum permanent size]

Example:

java -Xms128m -Xmx256m -XX:MaxPermSize=256m