|
Re: Creating setup files in existing Eclipse version [message #1708948 is a reply to message #1708867] |
Tue, 22 September 2015 17:14 |
Ed Merks Messages: 33258 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 #1710812 is a reply to message #1710806] |
Fri, 09 October 2015 13:18 |
Ed Merks Messages: 33258 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/
|
|
|
Powered by
FUDForum. Page generated in 0.28670 seconds