
Hi All, Here are step by step instruction for building logback under Eclipse in 61 easy steps. For me, the key to building logback under Eclipse is to avoid using m2eclipse. If you have it installed, you can disable it by removing the Maven Nature for a given project. - Install Eclipse Indigo, aka Eclipse 3.7 - in eclipse.ini file modify the parameter "mx", i.e. change -Xmx384m to -Xmx1384m - Install Groovy-Eclipse Feature from http://dist.springsource.org/release/GRECLIPSE/e3.7/ no installation of m2e Configurator for Groovy-Eclipse necessary - Install Scala IDE for Eclipse from http://download.scala-ide.org/releases-29/2.0.0-beta no installation of JDT Weaving, no Scala IDE for Eclipse Source feature necessary. - cd $LOGBACK_HOME where $LOGBACK_HOME stands for the location where you cloned the logback project from github - Remove any existing .settings, .classpath, .project directories under $LOGBACK_HOME and its sub-folders. This step seems to be crucial. - Run 'mvn eclipse:eclipse' in $LOGBACK_HOME - In eclipse import the logback project: Import -> General -> Existing Prokects into Workspace, select $LOGBACK_HOME folder for the import - add the scala nature to logback-core project: (right click on logback-core project -> Configure -> Add Scala Nature) - remove the logback-classic/target/generated-sources/groovy-sttubs/main directory from the list of source folders (logback-classic -> project properties -> Java Build Path) - clean all projects in Eclipse (Project -> Clean) - Select logback-classic project and convert it to "Groovy project" (right click on logback-classic project -> Configure -> Convert Groovy to Project) That's it. Please let me know if the above works for you. -- Ceki http://twitter.com/#!/ceki ps: The above also works for Helios. The only difference is that the Groovy-Eclipse feature needs to be installed from http://dist.springsource.org/release/GRECLIPSE/e3.6/