First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 118863
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ákos Maróy <akos@maroy.hu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 118863 depends on: Show dependency tree
Bug 118863 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-13 03:37 0000
after installing rhino, one gets a /usr/bin/jsscript like the following:

#!/bin/sh
exec $(java-config --java) -classpath $(java-config --classpath=rhino)
org.mozilla.javascript.tools.shell.Main $@


the problem is, that java-config refers to the rhino package not as rhino, but
as rhino-1.x:

$ java-config -l | grep rhino
[rhino-1.5] Rhino is an open-source implementation of JavaScript written
entirely in Java. It is typically embedded into Java applications to provide
scripting to end users (/usr/share/rhino-1.5/package.env)
[rhino-1.6] Rhino is an open-source implementation of JavaScript written
entirely in Java. It is typically embedded into Java applications to provide
scripting to end users (/usr/share/rhino-1.6/package.env)


thus the above jsscript will never find the rhino package, as:

$ java-config --classpath=rhino
Could not find package rhino


though the following works:

$ java-config --classpath=rhino-1.6
/usr/share/rhino-1.6/lib/js.jar


fixing this is simple, just add the version number into the jsscript script...

------- Comment #1 From Josh Nichols (RETIRED) 2006-01-15 10:52:16 0000 -------
Fixed in CVS. Thanks for reporting.

First Last Prev Next    No search results available      Search page      Enter new bug