GRECLIPSE

Package the groovy/eclipse compiler for use from the command line and Ant

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.0.0m1
  • Fix Version/s: 2.1.0Release
  • Component/s: Compiler Integration
  • Labels:
    None
  • Number of attachments :
    0

Description

It does work from the command line and Ant, we've tried it a few times over the last couple of months, but lately a few unwanted dependencies have crept in that cause it to try and exercise some eclipse infrastructure that isn't running when in batch mode (querying project natures, that kind of thing). This JIRA covers breaking those final dependencies and defining the classpath set of jars necessary to run this compiler in batch mode.

Issue Links

Activity

Hide
Andy Clement added a comment -

I have this running on the command line now - dependencies something like this:

antlr-2.7.7.jar
asm-3.2.jar
asm-tree-3.2.jar
bsf-2.4.0.jar
commons-cli-1.2.jar
groovy-1.7-rc-1.jar
ivy-2.1.0.jar
org.codehaus.groovy17.jar
org.eclipse.core.filesystem_1.2.0.v20090507.jar
org.eclipse.core.jobs_3.4.100.v20090429-1800.jar
org.eclipse.core.resources_3.5.1.R35x_v20090826-0451.jar
org.eclipse.core.runtime_3.5.0.v20090525.jar
org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100.jar
org.eclipse.jdt.core.jar
org.eclipse.jdt.groovy.core.jar
org.eclipse.osgi_3.5.1.R35x_v20090827.jar
org.eclipse.team.core_3.5.0.I20090527-0620.jar
org.eclipse.text_3.5.0.v20090513-2000.jar
Show
Andy Clement added a comment - I have this running on the command line now - dependencies something like this:
antlr-2.7.7.jar
asm-3.2.jar
asm-tree-3.2.jar
bsf-2.4.0.jar
commons-cli-1.2.jar
groovy-1.7-rc-1.jar
ivy-2.1.0.jar
org.codehaus.groovy17.jar
org.eclipse.core.filesystem_1.2.0.v20090507.jar
org.eclipse.core.jobs_3.4.100.v20090429-1800.jar
org.eclipse.core.resources_3.5.1.R35x_v20090826-0451.jar
org.eclipse.core.runtime_3.5.0.v20090525.jar
org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100.jar
org.eclipse.jdt.core.jar
org.eclipse.jdt.groovy.core.jar
org.eclipse.osgi_3.5.1.R35x_v20090827.jar
org.eclipse.team.core_3.5.0.I20090527-0620.jar
org.eclipse.text_3.5.0.v20090513-2000.jar
Hide
Andrew Eisenberg added a comment -

More detailed write-up including maven integration is here:
http://contraptionsforprogramming.blogspot.com/2010/09/where-are-all-my-stubs.html

There still is some polishing to do, but this is good enough to close the bug.

Show
Andrew Eisenberg added a comment - More detailed write-up including maven integration is here: http://contraptionsforprogramming.blogspot.com/2010/09/where-are-all-my-stubs.html There still is some polishing to do, but this is good enough to close the bug.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: