Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EPF » Any ideas to automate the publication ?
Any ideas to automate the publication ? [message #36588] Mon, 06 August 2007 12:35 Go to next message
Karim Benameur is currently offline Karim BenameurFriend
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 #36928 is a reply to message #36588] Mon, 06 August 2007 20:55 Go to previous messageGo to next message
Peter Haumer is currently offline Peter HaumerFriend
Messages: 228
Registered: July 2009
Senior Member
You could write an eclipse plugin for EPF Composer that would use a timer to
trigger the publication process. Downside would be that you need to keep
EPFC running.

Peter.


"K.Benameur" <benameur@freesurf.fr> wrote in message
news:f974ia$je7$1@build.eclipse.org...
> 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 15:22 Go to previous messageGo to next message
Eclipse UserFriend
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 #495224 is a reply to message #37097] Wed, 04 November 2009 09:27 Go to previous messageGo to next message
Selvanayagam  is currently offline Selvanayagam Friend
Messages: 8
Registered: October 2009
Junior Member
Hi Friends,


I too want to automate the publishing process.

Tell how to go about
Re: Any ideas to automate the publication ? [message #498092 is a reply to message #36588] Sat, 14 November 2009 12:14 Go to previous messageGo to next message
Onno van der Straaten is currently offline Onno van der StraatenFriend
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:anonymous@dev.eclipse.org:/cvsroot/technology co -r #{tag} #{self.relative_path}

Or I check content at a specific time
cvs -d:pserver: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:epf-dev@eclipse.org -glossary -publishUnverifiedDiagrams -title \"EPF Practices\" -os linux -arch x86 -ws gtk

HTH,
Onno
Re: Any ideas to automate the publication ? [message #581253 is a reply to message #36588] Mon, 06 August 2007 20:55 Go to previous messageGo to next message
Peter Haumer is currently offline Peter HaumerFriend
Messages: 228
Registered: July 2009
Senior Member
You could write an eclipse plugin for EPF Composer that would use a timer to
trigger the publication process. Downside would be that you need to keep
EPFC running.

Peter.


"K.Benameur" <benameur@freesurf.fr> wrote in message
news:f974ia$je7$1@build.eclipse.org...
> 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 #581336 is a reply to message #36588] Tue, 07 August 2007 15:22 Go to previous messageGo to next message
Eclipse UserFriend
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 #598964 is a reply to message #37097] Wed, 04 November 2009 09:27 Go to previous messageGo to next message
Selvanayagam  is currently offline Selvanayagam Friend
Messages: 8
Registered: October 2009
Junior Member
Hi Friends,


I too want to automate the publishing process.

Tell how to go about
Re: Any ideas to automate the publication ? [message #599001 is a reply to message #36588] Sat, 14 November 2009 12:14 Go to previous message
Onno van der Straaten is currently offline Onno van der StraatenFriend
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
Previous Topic:Work Product as a Guidance
Next Topic:Import XPDL into EPF Composer (aka how to write a plugin)
Goto Forum:
  


Current Time: Fri Apr 26 20:35:56 GMT 2024

Powered by FUDForum. Page generated in 0.03489 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top