Skip to content

eclipse_debug_setting

kimukou edited this page Jun 8, 2011 · 27 revisions

The description of the reference library

  • GRIFFON_HOME/dist/*.jar
  • GRIFFON_HOME/lib/*.jar
  • require groovy eclipse plugin
    • require eclipse3.5 upper (I use eclipse3.6)
    • griffon project can not [run→debug] step debug and watch variable from debug point
  • use EclipseSupport Plugin , I seem to renew .classpath by a timing of the plugin installation
    • remarks(griffon-eclipse-support plugin 0.4.7)
    • “EclipseSupport Plugin” is bad action in windows, patch version here
  • but griffon 0.9 ‘griffon create-app’ not create PROJECT_HOME/.classpath and PROJECT_HOME/.project
  • It is necessary to add two files mentioned above by manual operation

previous setting

USER_HOME C:\Documents and Settings\HOGE

debug setting

Main

Project jdcmtest
Main Class org.codehaus.griffon.GriffonMain

Arguments

VM arguments -Dbase.dir=${project_loc:jdcmtest}
  -Dgriffon.env=development

Classpath

User Entries JAVA_HOME/lib/tools.jar
User Entries GRIFFON_HOME/lib/groovy-all-1.8.0.jar
User Entries GRIFFON_HOME/lib/ant-1.8.1.jar
User Entries GRIFFON_HOME/lib/ant-luncher-1.8.1.jar
User Entries GRIFFON_HOME/dist/griffon-cli-0.9.3-beta-1.jar
User Entries GRIFFON_HOME/dist/griffon-rt-0.9.3-beta-1.jar

Enviroment

GRIFFON_HOME C:\grails\griffon-0.9.3-beta-1
GROOVY_HOME C:\grails\groovy-1.8.0

Common

Running

Clone this wiki locally