Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453210 - dev-java/groovy-1.8.5: groovy still ignores --classpath
Summary: dev-java/groovy-1.8.5: groovy still ignores --classpath
Status: RESOLVED DUPLICATE of bug 347842
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-20 19:15 UTC by Andrew Bovill
Modified: 2013-01-21 15:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***