Hello:
I'm using Eclipse 3.7.2 with the same org.eclipse.equinox.app 1.3.100 and
the -pluginCustomization works fine.
The big caveat is that there's no error message if the file cannot be
found because
a) typo in the file name
b) path not as expected
When Eclipse is started, the 'current' directory may not be the one where
you started CSS, so it's important to always use
-pluginCustomization /with/the/full/path/to/the/settings.ini
I wasn't aware about the obsolescence, but you're correct, it's mentioned
in the source comment.
For 3.7, however, -pluginCustomization is still listed in the online help
as a valid command-line option, and I just checked 4.2M7, a preview of the
upcoming Eclipse 4.2 release, where CommandLineArgs is also unchanged:
"obsolete" but still there.
As an alternative, you can also set the property
eclipse.pluginCustomization.
Maybe the designated option -pluginCustomization will eventually be
replaced by -Declipse.pluginCustomization, just setting a property?
Change being the only constant, this might require future adjustments in
scripts that start RCP apps.
Thanks,
Kay
On 5/18/12 24:28 , "[email protected]" <[email protected]> wrote:
>Hi,
>
>We are building our own CSS product with RCP-3.7. And I found the
>-pluginCustomization option does not work any more. I debugged the
>program a bit more and found the following source code:
>
>org.eclipse.equinox.internal.app.CommandLineArgs
>(org.eclipse.equinox.app.source_1.3.100.v20110321.jar)
>
><pre>
>
>// obsolete command line args
>private static final String NO_PACKAGE_PREFIXES = "-noPackagePrefixes";
>//$NON-NLS-1$
>private static final String NO_UPDATE = "-noUpdate"; //$NON-NLS-1$
>private static final String BOOT = "-boot"; //$NON-NLS-1$
>private static final String CLASSLOADER_PROPERTIES =
>"-classloaderProperties"; //$NON-NLS-1$
>private static final String PLUGINS = "-plugins"; //$NON-NLS-1$
>private static final String FIRST_USE = "-firstUse"; //$NON-NLS-1$
>private static final String NEW_UPDATES = "-newUpdates"; //$NON-NLS-1$
>private static final String UPDATE = "-update"; //$NON-NLS-1$
>private static final String PASSWORD = "-password"; //$NON-NLS-1$
>private static final String KEYRING = "-keyring"; //$NON-NLS-1$
>private static final String PLUGIN_CUSTOMIZATION =
>"-pluginCustomization"; //$NON-NLS-1$
>
></pre>
>
>So it seems -pluginCustomization is obsolete. But I can't find what I
>should use instead. Am I missing something? Has anyone else encountered
>this problem?
>
>Thanks
>
>Xinyu WU
>ASKAP Computing
>Australia Telescope National Facility
>CSIRO Astronomy and Space Science
>phone: +61 2 9372 4727
>postal: PO Box 76 Epping, NSW. 1710
- References:
- CSS build with Eclipse RCP-3.7 and -pluginCustomization Xinyu.Wu
- Navigate by Date:
- Prev:
Re: stream device driver parse question Dirk Zimoch
- Next:
[CA][waveform]max array bytes on IOC Pavel Masloff
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
CSS build with Eclipse RCP-3.7 and -pluginCustomization Xinyu.Wu
- Next:
[CA][waveform]max array bytes on IOC Pavel Masloff
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|