Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 453210

Summary: dev-java/groovy-1.8.5: groovy still ignores --classpath
Product: Gentoo Linux Reporter: Andrew Bovill <abovill>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew Bovill 2013-01-20 19:15:22 UTC
This is taken from #347842 and still affects groovy-1.8.5

groovy ignores --classpath given on command line.

Reproducible: Always

Steps to Reproduce:
# echo 'class A {}' > A.groovy
# groovy --classpath . -e 'new A()'

Actual Results:  
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
script_from_command_line: 1: unable to resolve class A 
 @ line 1, column 1.
   new A()
   ^

1 error


Expected Results:  
no error

This one works correctly:
# CLASSPATH=. groovy -e 'new A()'
Comment 1 Ralph Sennhauser (RETIRED) gentoo-dev 2013-01-21 15:37:52 UTC

*** This bug has been marked as a duplicate of bug 347842 ***