Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327424 - [Director] unable to install categories that contains a comma (,)
Summary: [Director] unable to install categories that contains a comma (,)
Status: CLOSED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-11 05:12 EDT by David Samuelsson CLA
Modified: 2021-08-29 00:50 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Samuelsson CLA 2010-10-11 05:12:09 EDT
Build Identifier: eclipse.buildId=M20100909-0800 ( java.version=1.6.0_12 )

I have mirrored some of the categories with the aggregator to our internal p2 site. One category is called "Web, XML, and Java EE Development"

I am trying to do an headless test of installing this into an eclipse instance so i know all files are ok. but the Director will not allow installment of an category that contains an "," 

tried: 
"Web, XML, and Java EE Development" (with double quotes)
Web, XML, and Java EE Development (no quotes)
Web\, XML\, and Java EE Development (escaping the comma)
"Web\, XML\, and Java EE Development" (double quotes with escaping)
'Web, XML, and Java EE Development' (single quotes)
'Web\, XML\, and Java EE Development' (single quotes with comma)

seems this is hindred by that the director allows an comma seperation for specifying multiple installs on the same commandline. This will then not work with categories with an ",". Normal categories without an comma works fine.

"-installIU: a comma separated list of IUs to install. Each entry in the list is in the form <id> [ '/' <version> ]. If you are looking to install a feature, the identifier of the feature has to be suffixed with ".feature.group"." 


Reproducible: Always

Steps to Reproduce:
1.run the eclipse director
eclipsec.exe -application org.eclipse.equinox.p2.director -repository http://server/staging/releases/helios -installIU "Web, XML, and Java EE Development" -destination c:\ws\eclipse_test\3.6.1 -profileProperties org.eclipse.update.install.features=true
Comment 1 Pascal Rapicault CLA 2010-12-23 23:30:41 EST
The bug is indeed in the parsing of the command line. The code is in DirectorApplication#parseIUsArgument() in the p2.director.app bundle. 
Would you have some cycle to provide a patch? Thx.
Comment 2 Eclipse Webmaster CLA 2019-09-06 16:13:23 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 3 Eclipse Genie CLA 2021-08-29 00:50:33 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.