Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPF » EPF command line options for publishin(command line publishin)
EPF command line options for publishin [message #963304] Mon, 29 October 2012 14:18 Go to next message
regis coqueret is currently offline regis coqueret
Messages: 9
Registered: July 2009
Junior Member
After some search, I could not find an example of how to launch EPF through command line, (with or without UI,) and trigger publication of a configuration.

This does not work:
epf.exe -libraryPath <libpath> -publishPath <pubpath> -config <configname>

as it launches to UI, and waits for input.

using EPF 1.5.1.4

Note: works in RMC, so I thought there must be a way in EPF?
Re: EPF command line options for publishin [message #963418 is a reply to message #963304] Mon, 29 October 2012 16:10 Go to previous messageGo to next message
Onno van der Straaten is currently offline Onno van der Straaten
Messages: 18
Registered: March 2012
Junior Member
On Linux I used a command like
java -jar epf-1.5.1/plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar -data #{Rails.configuration.path_epf_workspace} -nosplash -application org.eclipse.epf.publishing.cmdline.Publish -libraryPath #{self.library.path_exported} -publishPath #{Rails.configuration.path_publish_tmp} -config #{self.configuration} -title \"#{self.title}\" -os linux -arch x86 -ws gtk

You could try that with the os switch.
Re: EPF command line options for publishin [message #964648 is a reply to message #963418] Tue, 30 October 2012 13:38 Go to previous message
regis coqueret is currently offline regis coqueret
Messages: 9
Registered: July 2009
Junior Member
Thank You Onno.

On win32 this one worked WITH EPF 1.5.1.4:

java -jar C:/epf1514/plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar -nosplash -data <Workspace> -application org.eclipse.epf.publishing.cmdline.Publish -libraryPath <lib> -publishPath <path> -config <configname>
Previous Topic:Solution: Translate publiched process from English to Swedish (or any other language)
Next Topic:Import raw XML files into EPF
Goto Forum:
  


Current Time: Tue Jul 29 21:07:30 EDT 2014

Powered by FUDForum. Page generated in 0.01700 seconds