Uninitialized constant ProjectHelper in ant.rb
----------------------------------------------
Key: JRUBY-4690
URL: http://jira.codehaus.org/browse/JRUBY-4690
Project: JRuby
Issue Type: Bug
Components: Miscellaneous
Affects Versions: JRuby 1.5
Environment: JVM 1.5 on Leopard PPC
Reporter: Ian Dees
Priority: Minor
Attachments: ant_project_helper.patch
Trying to {{ant_import}} an Ant build file results in the following:
{noformat}
uninitialized constant ProjectHelper
{noformat}
{{ant.rb}} does a {{java_import}} of the {{ProjectHelper}} class, but that
import is inside the {{Ant}} class. The top-level {{ant_import}} method is
defined outside this class, and can't see the constant. The attached patch
(with test) adds a qualifier to the constant when it's used outside the class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email