Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-dev] Output on console

Hi,

I have created a minimal headless RCP application to run the p2 director. All is fine and I have p2.exe

When I run p2.exe -help I do not see any output.
When I run p2.exe -vm java.exe -help I see a temporary window flashing by that has the output (with -noexit it stays open)

I have tried all the relevant command line options (e.g. -consoleLog)

Do I miss something obvious?

Cheers,
Wim

The only thing that gives the output in the command window is running eclipse like this:

C:\Users\jongw\Desktop\p2>java.exe -cp plugins/org.eclipse.equinox.launcher_1.5.500.v20190715-1310.jar org.eclipse.equinox.launcher.Main -help
-help | -h | -?
  Prints this command line help information.
-list | -l [ <comma separated list> ]
  Lists all IU's found in the given repositories. IUs can optionally be listed.  Each entry in the list is in the form <id> [ '/' <version> ].
-listInstalledRoots | -lir
  Lists all root IU's found in the given profile. Each entry in the list is in the form <id> [ '/' <version> ].
-listFormat | -lf <list format string>
  Formats the list of IUs according to the given string. Use ${property} for variable parts, e.g. ${org.eclipse.equinox.p2.name} for the IU's name. ID and version of an IU are available through ${id} and ${version}.
-installIU | -installIUs | -i <comma separated list>
  Installs the listed IU's. Each entry in the list is in the form <id> [ '/' <version> ].
-uninstallIU | -uninstallIUs | -u <comma separated list>
  Uninstalls the listed IU's. Each entry in the list is in the form <id> [ '/' <version> ].



Back to the top