| Any ideas to automate the publication ? [message #36588] |
Mon, 06 August 2007 08:35  |
Karim Benameur Messages: 20 Registered: July 2009 |
Junior Member |
|
|
Hi all,
We develop our own library using EPF and we tried to publish daily to
get some feedbacks...
This publication can be seen as a build for us as we are developping
processes.
To perform a limited continous integration, we have at least to
succesfully automate this daily build.
One solution should be to do it using a robot script that capture the
user click and replay them.
I personnally prefer if it is possible to launch EPF from a script (in
Perl for instance) with some parameters to perform this publication.
Is it possible ? May be it is as I am a complete begginer in Eclipse !!!
Thanks in advance for any ideas
Best Regards
|
|
|
|
| Re: Any ideas to automate the publication ? [message #37097 is a reply to message #36588] |
Tue, 07 August 2007 11:22   |
|
Originally posted by: carlos.ribeiro.edisoft.pt
Hi, I'm still not worried about automatic site generation as I'm still
dealing with content authoring.
Anyway, I fully support the possibility of running epf from the shell with
parameters to generate the website! Maybe this could be a feature request.
Best regards,
André
|
|
|
|
|
|
| Re: Any ideas to automate the publication ? [message #581336 is a reply to message #36588] |
Tue, 07 August 2007 11:22   |
|
Originally posted by: carlos.ribeiro.edisoft.pt
Hi, I'm still not worried about automatic site generation as I'm still
dealing with content authoring.
Anyway, I fully support the possibility of running epf from the shell with
parameters to generate the website! Maybe this could be a feature request.
Best regards,
André
|
|
|
|
| Re: Any ideas to automate the publication ? [message #599001 is a reply to message #36588] |
Sat, 14 November 2009 07:14  |
Onno van der Straaten Messages: 28 Registered: July 2009 |
Junior Member |
|
|
Hi,
I have used the command-line publishing plugin for automating publishing of sites see https://bugs.eclipse.org/bugs/show_bug.cgi?id=148030
I haveintegrated this into EPF wiki code base at http://epf.eclipse.org All that is required is a bit of scripting. As an example
I check out a specific tag from the CVS repository
cvs -d:pserver:mailto:anonymous@dev.eclipse.org:/cvsroot/technology co -r #{tag} #{self.relative_path}
Or I check content at a specific time
cvs -d:pserver:mailto:anonymous@dev.eclipse.org:/cvsroot/technology co -D \"#{bp.co_and_publish_on.strftime("%Y-%m-%d %I:%M")}\" #{self.relative_path}
Then I publish the content using the command-line feature
java -jar #{ENV['EQUINOX_JAR_PATH']} -data #{ENV['EPF_WORKSPACE']} -nosplash -application org.eclipse.epf.publishing.cmdline.Publish -libraryPath #{bp.path_library}/#{self.relative_path} -publishPath #{bp.path} -config #{self.name} -about #{bp.path_library}/#{self.relative_path}publish.all_epf_prac tices.base/resources/about_practices.htm -feedback mailto:mailto:epf-dev@eclipse.org -glossary -publishUnverifiedDiagrams -title \"EPF Practices\" -os linux -arch x86 -ws gtk
HTH,
Onno
|
|
|
Powered by
FUDForum. Page generated in 0.01959 seconds