| Summary: | [documentation] Director won't handle comma separated entries on Windows | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Christian Pontesegger <christian.pontesegger> |
| Component: | Buckminster | Assignee: | buckminster.core-inbox <buckminster.core-inbox> |
| Status: | REOPENED --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | dj.houghton, pascal, thomas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Christian Pontesegger
This works for me both in Eclipse 3.7 and in the latest builds. Here is the command-line that I am using: ./eclipse -application org.eclipse.equinox.p2.director -nosplash -r file:///Users/equinox/export.filters -i fff.feature.group,fff.macosx.feature.group Are there additional command-line arguments that you have which might be causing problems? (In reply to comment #1) > Are there additional command-line arguments that you have which might be > causing problems? My full commandline is: director -consoleLog -r "file:///C:/Build/UpdateSite" -d "C:/Build/Example RCP installed" -i com.example.myfeature.feature.group,com. example.rcp.core.myproduct -p2.os win32 -p2.ws win32 -p2.arch x86 I tried moving the -i parameter to the end, but still see the same error (In reply to comment #1) > This works for me both in Eclipse 3.7 and in the latest builds. Here is the > command-line that I am using: > > ./eclipse -application org.eclipse.equinox.p2.director -nosplash > -r file:///Users/equinox/export.filters > -i fff.feature.group,fff.macosx.feature.group Should have read your post more carefully. I am using a standalone director and did not call eclipse with director app. The standalone director uses a batch file to create the command line args for the director app. When prefixing the last line of the batch file with an echo I get: Command: C:\UserData\Build\director>director -consoleLog -r file:///C:/Build/UpdateSite - d C:/Build/ExampleRCPinstalled -p2.os win32 -p2.ws win32 -p2.arch x86 -i com.exa mple.rcp.core.myproduct,com.example.myfeature.feature.group Echo output: java -jar "C:\UserData\Build\director\plugins\org.eclipse.equinox.launcher_1.2. 0.v20110502.jar" -consoleLog -r file:///C:/Build/UpdateSite -d C:/Build/Example RCPinstalled -p2.os win32 -p2.ws win32 -p2.arch x86 -i com.example.rcp.core.mypr oduct com.example.myfeature.feature.group which clearly explains why it is not working. When using eclipse as launcher it works as expected Thanks for double-checking. Closing. (In reply to comment #4) > Thanks for double-checking. > Closing. The standalone director app seems to be an official download from eclipse: http://www.eclipse.org/downloads/download.php?file=/tools/buckminster/products/director_latest.zip ... and it's not working as expected. So this bug might be moved to buckminster but in my opinion it should be fixed, not closed. Yep, I'll move it to Buckminster. I had though the stand-alone app was a script that you had created and didn't realize that it was provided by an Eclipse.org project. As this is a windows problem, I would very much appreciate a patch to the .bat file. (In reply to comment #7) > As this is a windows problem, I would very much appreciate a patch to the .bat > file. Cannot come up with a patch. Seems like windows treats a comma as a natural parameter delimiter. But what works is quoting the list of IUs. So my original parameter need to be modified to -i "productID,myfeature.feature.group" to make it work. If it cannot be patched otherwise maybe this could be documented so that other do not run into this anymore. Agree. I'll move this to documentation. In the docs about headless invocation there needs to be a special note for windows users that comma separated lists must be quoted. |