Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 265716

Summary: dev-util/eclipse-sdk-3.4.1 /usr/bin/eclipse-3.4 doesn't allow ECLIPSE_USER_ARGS to have multiple arguments
Product: Gentoo Linux Reporter: Jim Mack <mack.jim>
Component: [OLD] DevelopmentAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: dev-tools
Priority: High Keywords: InOverlay
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.