Support for plugin installation tasks?

209 views
Skip to first unread message

Jonathan Betz

unread,
May 27, 2010, 1:49:45 PM5/27/10
to Workspace Mechanic for Eclipse
Hi,

I'm trying to figure out it the workspace mechanic supports preference
tasks that install new plugins. If I turn on the preference recorder,
install new software, and save the file in my ~/.eclipse/mechanic, it
contains a number of config options, but applying that preference file
on a different workspace has no effect...

The file I generated is copied below.

Cheers,
Jonathan

# @title Install Plugins
# @description Install Plugins
# @audit_type RECONCILE
#
# Created by the Workspace Mechanic Preference Recorder
#Thu May 27 10:34:35 EDT 2010
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/uri=http\://www.polarion.org/projects/subversive/download/eclipse/
2.0/update-site
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/version=1.0.0
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http
\:__workspacemechanic.eclipselabs.org.codespot.com_hg.update_mechanic/
suffix=
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/provider=
file_export_version=3.0
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/name=Subversive SVN Connectors Artifacts
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/isSystem=false
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
file\:_C\:\:_Yext_eclipse_.eclipseextension/suffix=
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/nickname=Java HL
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/
type=org.eclipse.equinox.internal.p2.metadata.repository.LocalMetadataRepository
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http\:__download.eclipse.org_webtools_updates/suffix=
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/enabled=true
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
file\:_C\:
\:_Yext_eclipse_configuration_org.eclipse.osgi_bundles_274_data_listener_1925729951/
suffix=
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
http
\:__community.polarion.com_projects_subversive_download_eclipse_2.0_update-
site/isSystem=false
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http
\:__community.polarion.com_projects_subversive_download_eclipse_2.0_update-
site/enabled=false
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http\:__download.eclipse.org_tools_mylyn_update_e3.4/suffix=
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/version=1.0.0
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http
\:__community.polarion.com_projects_subversive_download_eclipse_2.0_update-
site/uri=http\://community.polarion.com/projects/subversive/download/
eclipse/2.0/update-site/
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/uri=http\://www.polarion.org/projects/subversive/download/eclipse/
2.0/update-site
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/name=Subversive SVN Connectors Site
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/isSystem=false
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http\:__download.eclipse.org_eclipse_updates_3.5/suffix=
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/nickname=Java HL
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/suffix=artifacts.xml
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http\:__download.eclipse.org_technology_subversive_0.7_update-site/
suffix=
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http\:__download.eclipse.org_releases_galileo/suffix=
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
http
\:__community.polarion.com_projects_subversive_download_eclipse_2.0_update-
site/enabled=false
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http\:__download.eclipse.org_technology_epp_packages_galileo/suffix=
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
file\:_C\:\:_Yext_eclipse_.eclipseextension/suffix=
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
file\:_C\:\:_Yext_eclipse/suffix=
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http
\:__community.polarion.com_projects_subversive_download_eclipse_2.0_update-
site/isSystem=false
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/enabled=true
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/suffix=
profile/_SELF_/org.eclipse.equinox.p2.metadata.repository/repositories/
file\:_C\:
\:_Yext_eclipse_configuration_org.eclipse.osgi_bundles_274_data_listener_1925729951/
suffix=
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/type=org.eclipse.equinox.p2.artifact.repository.simpleRepository
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
http
\:__community.polarion.com_projects_subversive_download_eclipse_2.0_update-
site/uri=http\://community.polarion.com/projects/subversive/download/
eclipse/2.0/update-site/
profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
http
\:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
site/description=

Brian Chin

unread,
May 27, 2010, 2:05:26 PM5/27/10
to workspac...@googlegroups.com
The workspace mechanic does not install plugins into your workspace. It only sets up the configurations of plugins that have already been installed. I'm not entirely sure if that's by design, or if we just haven't tried yet. Any thoughts, anyone?

- Brian

Robert Konigsberg

unread,
May 27, 2010, 2:16:03 PM5/27/10
to workspac...@googlegroups.com
We never had that need internally, so we did not implement it. It's certainly possible for someone to write such a task supplier, and we could discuss including it in another release.

Seems like the two biggest requests we're getting are tasks that manage installing plug-ins and registering task directories by URL.
--
Robert Konigsberg
konig...@gmail.com

Jonathan Betz

unread,
May 27, 2010, 5:56:30 PM5/27/10
to Workspace Mechanic for Eclipse
If I may make a more general comment, it's really unclear what sort of
tasks are supported by the preference recording. For example, can I
define user libraries with the preference recorder?

Any documentation here would be immensely helpful.

BTW, this is an AWESOME tool. It is making my life a lot easier right
now.

On May 27, 2:16 pm, Robert Konigsberg <konigsb...@gmail.com> wrote:
> We never had that need internally, so we did not implement it. It's
> certainly possible for someone to write such a task supplier, and we could
> discuss including it in another release.
>
> Seems like the two biggest requests we're getting are tasks that manage
> installing plug-ins and registering task directories by URL.
>
>
>
>
>
> On Thu, May 27, 2010 at 2:05 PM, Brian Chin <brianc...@google.com> wrote:
> > The workspace mechanic does not install plugins into your workspace. It
> > only sets up the configurations of plugins that have already been installed.
> > I'm not entirely sure if that's by design, or if we just haven't tried yet.
> > Any thoughts, anyone?
>
> > - Brian
>

> >> eclipse/2.0/update-site/<http://community.polarion.com/projects/subversive/download/eclipse/2....>

> >> eclipse/2.0/update-site/<http://community.polarion.com/projects/subversive/download/eclipse/2....>


> >> profile/_SELF_/org.eclipse.equinox.p2.artifact.repository/repositories/
> >> http
> >> \:__www.polarion.org_projects_subversive_download_eclipse_2.0_update-
> >> site/description=
>
> --
> Robert Konigsberg

> konigsb...@gmail.com

Brian Chin

unread,
May 27, 2010, 6:12:21 PM5/27/10
to workspac...@googlegroups.com
Ask, and ye might eventually receive. I updated the preferences recorder wiki page with a short "How it works" section which gives a very high level overview of what the preference recorder actually does. Tell me if this isn't sufficient, or for any typos.

Thanks for your patronage,
- Brian Chin

Jonathan Betz

unread,
May 27, 2010, 9:07:57 PM5/27/10
to Workspace Mechanic for Eclipse
That's very helpful, thanks!


On May 27, 6:12 pm, Brian Chin <brianc...@google.com> wrote:
> Ask, and ye might eventually receive. I updated the preferences recorder
> wiki page with a short "How it works" section which gives a very high level
> overview of what the preference recorder actually does. Tell me if this
> isn't sufficient, or for any typos.
>
> Thanks for your patronage,
> - Brian Chin
>

Robert Konigsberg

unread,
May 27, 2010, 9:19:12 PM5/27/10
to workspac...@googlegroups.com
Thanks for the positive feedback!
--
Robert Konigsberg
konig...@gmail.com
Reply all
Reply to author
Forward
0 new messages