[Bug 307488] New: eclipse does not pass parameters to eclipse.bin
https://bugzilla.novell.com/show_bug.cgi?id=307488 Summary: eclipse does not pass parameters to eclipse.bin Product: openSUSE 10.3 Version: Beta 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: felix@derklecks.de QAContact: qa@suse.de CC: dbornkessel@novell.com Found By: --- Eclipse does not work at the moment but trying to debug this a little I found a bug in the wrapper. When starting eclipse /usr/bin/eclipse get called which looks at the options and calls "/usr/share/eclipse/eclipse $ECLIPSE_OPTS $@ $VM_OPTS" so the user can pass his parameters. But "/usr/share/eclipse/eclipse just calls "/usr/share/eclipse/eclipse.bin -startup $STARTUP_JAR". That means all parameters are ignored. The last line of /usr/share/eclipse/eclipse should be: /usr/share/eclipse/eclipse.bin -startup $STARTUP_JAR $@ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c1
--- Comment #1 from Felix Möller
https://bugzilla.novell.com/show_bug.cgi?id=307488
Ales Nosek
https://bugzilla.novell.com/show_bug.cgi?id=307488#c2
Ales Nosek
The last line of /usr/share/eclipse/eclipse should be: /usr/share/eclipse/eclipse.bin -startup $STARTUP_JAR $@
Thanks for the report. I changed that line to /usr/share/eclipse/eclipse.bin -startup $STARTUP_JAR "$@" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c3
Scott Olcott
https://bugzilla.novell.com/show_bug.cgi?id=307488#c4
--- Comment #4 from Scott Olcott
https://bugzilla.novell.com/show_bug.cgi?id=307488#c5
Scott Olcott
https://bugzilla.novell.com/show_bug.cgi?id=307488#c6
--- Comment #6 from Felix Möller
When adding $@ to the command I get the following error on the command line as well as the previous bug report: /usr/lib/Eclipse: No such file or directory. Where does this capitalized Eclipse come from?!
This happens on BETA3 and RC1. However this worked fine on 10.2 using eclipse 3.3 from factory Could you please post the complete command and steps to reproduce the problem? For me this is working.
Where exactly did you enter the $@? Does /usr/share/eclipse/eclipse.bin -startup /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar work? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c7
--- Comment #7 from Scott Olcott
https://bugzilla.novell.com/show_bug.cgi?id=307488#c8 --- Comment #8 from Felix Möller2007-09-21 10:15:35 MST --- (In reply to comment #7 from Scott Olcott) > Then I type eclipse in the console and then the error occurs after the eclipse > splash screen. This is on a clean install of RC1. I don't change anything > else. 1. Does it really start without the added "$@"? If it does: Enter an "echo $@" in /usr/share/eclipse/eclipse right before the last line and have a look at the parameters. Call /usr/share/eclipse/eclipse.bin with them directly and see which one breaks your eclipse. But that does not really have to do anything with this bugreport. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c9
--- Comment #9 from Scott Olcott
https://bugzilla.novell.com/show_bug.cgi?id=307488#c10
--- Comment #10 from Scott Olcott
https://bugzilla.novell.com/show_bug.cgi?id=307488#c11
--- Comment #11 from Felix Möller
https://bugzilla.novell.com/show_bug.cgi?id=307488#c12
--- Comment #12 from Scott Olcott
https://bugzilla.novell.com/show_bug.cgi?id=307488#c13
--- Comment #13 from Felix Möller
https://bugzilla.novell.com/show_bug.cgi?id=307488#c14
--- Comment #14 from Scott Olcott
https://bugzilla.novell.com/show_bug.cgi?id=307488#c15
Rob Hasselbaum
https://bugzilla.novell.com/show_bug.cgi?id=307488
User felix@derklecks.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=307488#c16
--- Comment #16 from Felix Möller
https://bugzilla.novell.com/show_bug.cgi?id=307488
Felix Möller
https://bugzilla.novell.com/show_bug.cgi?id=307488
User anosek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=307488#c17
--- Comment #17 from Ales Nosek
https://bugzilla.novell.com/show_bug.cgi?id=307488
User ast@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=307488#c21
Anja Stock
participants (1)
-
bugzilla_noreply@novell.com