Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Creating setup files in existing Eclipse version (Creating setup files in existing Eclipse version )
Creating setup files in existing Eclipse version [message #1708867] Tue, 22 September 2015 05:45 Go to next message
Avneesh Singh is currently offline Avneesh SinghFriend
Messages: 22
Registered: September 2015
Junior Member
Hi,

I am planning to start using Oomph in my project environment.

I have already installed Oomph in my currently used Eclipse Luna.

As, I understood from your presentation video, There will be three setup files which needs to be created user.setup(for all the preferences selected with the recorder), installation.setup(for all the favorite tools which needs to be installed in the eclipse environment) and workspace.setup(for all the project needs to be imported and the working set info etc..)

Following are the doubts.

1) Creating user.setup file is easy as it will record it for us and save it in user.setup files located at the user profile. Can I override the default path of the user.setup file and how?
2) When I import the exclude filter xml file for my findbugs. It updates the user.setup file wit the same hardcoded path which might not be the ame with other user. Is there any way I can handle this case?

3) How to create workspace.setup and installation.setup file. I am using svn as CM

Please help me

Regards,
Avneesh

Re: Creating setup files in existing Eclipse version [message #1708948 is a reply to message #1708867] Tue, 22 September 2015 17:14 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
Avneesh,

Comments below.

On 22/09/2015 2:57 PM, Avneesh Singh wrote:
> Hi,
>
> I am planning to start using Oomph in my project environment.
>
> I have already installed Oomph in my currently used Eclipse Luna.
>
> As, I understood from your presentation video, There will be three
> setup files which needs to be created user.setup(for all the
> preferences selected with the recorder), installation.setup(for all
> the favorite tools which needs to be installed in the eclipse
> environment) and workspace.setup(for all the project needs to be
> imported and the working set info etc..)
These things are created automatically when the IDE starts.
>
> Following are the doubts.
>
> 1) Creating user.setup file is easy as it will record it for us and
> save it in user.setup files located at the user profile. Can I
> override the default path of the user.setup file and how?
No.
> 2) When I import the exclude filter xml file for my findbugs. It
> updates the user.setup file wit the same hardcoded path which might
> not be the ame with other user. Is there any way I can handle this case?
You could use a Resource Copy task to copy the XML from an http URI to a
fixed location, e.g., ${user.home|uri}/foo.xml. Or similarly use a
Resource Creation task to copy the contents to a fixed location. Then
you can rely on the location being the same for every user.
>
> 3) How to create workspace.setup and installation.setup file. I am
> using svn as CM
They're automatically created. You can use Navigate -> Open Setup ->
to open each of them.
>
> Please help me
> Regards,
> Avneesh
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Creating setup files in existing Eclipse version [message #1708972 is a reply to message #1708948] Wed, 23 September 2015 04:30 Go to previous messageGo to next message
Avneesh Singh is currently offline Avneesh SinghFriend
Messages: 22
Registered: September 2015
Junior Member
Thanks Ed for your Reply!!

I saw that the workspace.setup file and the installation.setup also gets created
automatically which are currently empty for me.

1) How can I create the task for workspace.setup ? Do I need to create the task manually or there is some recorder stuff which will create task for the working set used and the projects to import from etc. I am using svn as CM. It would be great help if you can provide me some example if you have .

2) How to create task for installation.set up files? I mean how do u give the location of
the favorite tools to be installed from and which version. one example will be a great help.

Thanks in advance.
Avneesh
Re: Creating setup files in existing Eclipse version [message #1708975 is a reply to message #1708972] Wed, 23 September 2015 05:15 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
Avneesh,

Comments below.

On 23/09/2015 6:30 AM, Avneesh Singh wrote:
> Thanks Ed for your Reply!!
>
> I saw that the workspace.setup file and the installation.setup also
> gets created automatically which are currently empty for me.
>
> 1) How can I create the task for workspace.setup ?
That seems somewhat pointless. Aren't you trying to automate the process?
> Do I need to create the task manually or there is some recorder stuff
> which will create task for the working set used and the projects to
> import from etc. I am using svn as CM. It would be great help if you
> can provide me some example if you have .
It sounds like you really should be trying to create a project setup
that contain all the things you want to automated, and then in the
wizard, you can use that project setup.
>
> 2) How to create task for installation.set up files?
This is a bit less pointless because the installation can work with many
workspaces. But if you want something to reuse across many
installations and workspaces you'll want to create a project setup as
described in https://wiki.eclipse.org/Eclipse_Oomph_Authoring .
> I mean how do u give the location of the favorite tools to be
> installed from and which version. one example will be a great help.
A p2 task is quite a simple thing. You can use the navigate menu to
open the index and from there you can see many examples of project
setups and their p2 tasks.
>
> Thanks in advance.
> Avneesh


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Creating setup files in existing Eclipse version [message #1710806 is a reply to message #1708975] Fri, 09 October 2015 12:32 Go to previous messageGo to next message
Avneesh Singh is currently offline Avneesh SinghFriend
Messages: 22
Registered: September 2015
Junior Member
Thanks Ed!!
but I have one more doubt at this time.

I have my user.setup files created by the preference recorder. I want my team mates to have the same preferences set in their system. so, I wanted to automate this process so that nobody has to manually put the user.setup files in their user profile.

We wanted to keep that in our network drive and write a script to copy it to a particular location in everybody's PC. So, that means we will override the user.setup location. How to achieve that?
Re: Creating setup files in existing Eclipse version [message #1710812 is a reply to message #1710806] Fri, 09 October 2015 13:18 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
Avneesh,

Again, this sounds like something you should put in a project setup.
They're just preference tasks, you can copy them anywhere, but if you
put them in a project setup, and everyone uses that project, then
everyone has the same preferences. And of course the project setup can
be on the network drive so you can change it in one central place and
everyone will use it. In fact, when editing a project setup, you'll
see there are several toolbar buttons for creating preference tasks.
One brings up the preferences dialog and records changes into the
project setup. Another one brings up a dialog with all the preferences
as they are currently set in the workspace; you can choose which ones to
convert to preference tasks. This is the existing mechanism for
sharing. The user.setup is specifically not for sharing; it's for your
own personal things that only you want. E.g., I want vi installed in
every IDE I have, so I have a p2 task which does that...


On 09/10/2015 2:32 PM, Avneesh Singh wrote:
> Thanks Ed!!
> but I have one more doubt at this time.
>
> I have my user.setup files created by the preference recorder. I want
> my team mates to have the same preferences set in their system. so, I
> wanted to automate this process so that nobody has to manually put the
> user.setup files in their user profile.
>
> We wanted to keep that in our network drive and write a script to copy
> it to a particular location in everybody's PC. So, that means we will
> override the user.setup location. How to achieve that?
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:autocrlf on GitCloneTask
Next Topic:[Solved] Add launch configurations to setup
Goto Forum:
  


Current Time: Tue May 07 02:31:16 GMT 2024

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

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

Back to the top