Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265716 - dev-util/eclipse-sdk-3.4.1 /usr/bin/eclipse-3.4 doesn't allow ECLIPSE_USER_ARGS to have multiple arguments
Summary: dev-util/eclipse-sdk-3.4.1 /usr/bin/eclipse-3.4 doesn't allow ECLIPSE_USER_AR...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2009-04-11 00:26 UTC by Jim Mack
Modified: 2011-04-03 22:30 UTC (History)
1 user (show)

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 Jim Mack 2009-04-11 00:26:40 UTC
Unable to define multiple arguments for ECLIPSE_USER_ARGS in ~/gentoo/.eclipserc. Single arguments work fine.






Reproducible: Always

Steps to Reproduce:
1. In .eclipserc, ECLIPSE_USER_ARGS="-clean -showlocation"
2. run eclipse-3.4

Actual Results:  
Eclipse does not recognize either argument.

Expected Results:  
Eclipse should recognize both arguments.

Possible solution/Workaround:
Removing the quotes around ${ECLIPSE_USER_ARGS} on the exec line in /usr/bin/eclipse-3.4 allows multiple args to work.

Original Line:
exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS}

Modified line:
exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" ${ECLIPSE_USER_ARGS} -vmargs ${VM_ARGS}
Comment 1 Christoph Brill (egore) (RESIGNED) 2011-04-01 13:26:22 UTC
This was fixed long time ago (see /usr/portage/dev-util/eclipse-sdk/files/3.4/eclipse-3.4). Please mark as RESOLVED FIXED.