Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » [Solved] How to try your own setup - drag file onto Projects catalog in the installer
[Solved] How to try your own setup - drag file onto Projects catalog in the installer [message #1383928] Tue, 27 May 2014 09:10 Go to next message
Abel Hegedus is currently offline Abel Hegedus
Messages: 98
Registered: July 2009
Member
I created a new setup in the new version of Oomph and would like to try it.

What is the sure-fire way of doing that?

- I tried pushing the "Launch the installer for the current project" but nothing happens (nothing on the error log either)
- I tried copying the .setup file to the root of the installer folder next to setup-eclipse.exe
- I tried to set the "Logical project container" to User and Eclipse.org projects but neither made the setup appear in the installer.

Thanks for any suggestions.

[Updated on: Tue, 27 May 2014 16:03]

Report message to a moderator

Re: How to try your own setup [message #1383958 is a reply to message #1383928] Tue, 27 May 2014 12:47 Go to previous messageGo to next message
Felix Dorner is currently offline Felix Dorner
Messages: 261
Registered: March 2012
Senior Member
On 27/05/2014 11:10, Abel Hegedus wrote:
> I created a new setup in the new version of Oomph and would like to try it.
>
> What is the sure-fire way of doing that?
>
> - I tried pushing the "Launch the installer for the current project" but
> nothing happens (nothing on the error log either)
> - I tried copying the .setup file to the root of the installer folder
> next to setup-eclipse.exe
> - I tried to set the "Logical project container" to User and Eclipse.org
> projects but neither made the setup appear in the installer.
>
> Thanks for any suggestions.

I once observed that putting the .setup file into my home dir worked
better than putting it besides setup-eclipse.exe. I was using the
windows git bash to run the setup afterwards. Not sure if that helps..

Felix
Re: How to try your own setup [message #1383979 is a reply to message #1383958] Tue, 27 May 2014 15:51 Go to previous messageGo to next message
Abel Hegedus is currently offline Abel Hegedus
Messages: 98
Registered: July 2009
Member
Did you try with the new version of the installer (org.eclipse.oomph, around 2014.05.26, instead of org.eclipse.cdo.releng)?

Should the name of my setup appear on the "Projects" page?
Re: How to try your own setup [message #1383981 is a reply to message #1383979] Tue, 27 May 2014 15:56 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Abel,

You should be able to drag a *.setup and drop it into the Project catalog.

On 27/05/2014 5:51 PM, Abel Hegedus wrote:
> Did you try with the new version of the installer (org.eclipse.oomph,
> around 2014.05.26, instead of org.eclipse.cdo.releng)?
>
> Should the name of my setup appear on the "Projects" page?
Re: How to try your own setup [message #1383983 is a reply to message #1383981] Tue, 27 May 2014 16:02 Go to previous messageGo to next message
Abel Hegedus is currently offline Abel Hegedus
Messages: 98
Registered: July 2009
Member
Thanks, Ed, that worked like a charm!
Re: How to try your own setup [message #1384713 is a reply to message #1383983] Fri, 30 May 2014 16:06 Go to previous messageGo to next message
Guillaume Coutable is currently offline Guillaume Coutable
Messages: 5
Registered: May 2014
Junior Member
Like Abel, I tried the tree points he noticed, I also tried to drag my
setup file into the project page (the page right after the product one),
but nothing happened. So I guess, there is something missing in my setup
file, or I don't understand what you want to say by "Project catalog".

Thanks for any other suggestions (if there are).
Re: How to try your own setup [message #1384721 is a reply to message #1384713] Fri, 30 May 2014 17:18 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
You should be able to drag a *.setup resource from your Eclipse
workspace or from the file system explorer, drag until you hover over
the "Eclipse.org Projects" tree item in the Projects page's tree
viewer. That should create a link...

Failing that, you can locate the file
<user.home>/.eclipse/org.eclipse.oomph.setup/setups/org.eclipse.projects.setup
and add a line as follows to refer to your *.setup.

<project
href="file:/D:/sandbox/oomph/git/org.eclipse.oomph/setups/interim/xtext.setup#/"/>

This should be an absolute URI starting with file: or http: and should
use / as the segment separator; note the #/ at the end refers to the
root object in your *.setup resource.

On 30/05/2014 6:06 PM, gcoutable wrote:
> Like Abel, I tried the tree points he noticed, I also tried to drag my
> setup file into the project page (the page right after the product
> one), but nothing happened. So I guess, there is something missing in
> my setup file, or I don't understand what you want to say by "Project
> catalog".
>
> Thanks for any other suggestions (if there are).
Re: How to try your own setup [message #1384752 is a reply to message #1384721] Sat, 31 May 2014 11:14 Go to previous messageGo to next message
Guillaume Coutable is currently offline Guillaume Coutable
Messages: 5
Registered: May 2014
Junior Member
Thanks Ed, it works.

Whenever I wanted to drag my setup file, I did on the tree view, not
specifically on the "Eclipse.org Projects".

Le 30/05/2014 19:18, Ed Merks a écrit :
> You should be able to drag a *.setup resource from your Eclipse
> workspace or from the file system explorer, drag until you hover over
> the "Eclipse.org Projects" tree item in the Projects page's tree
> viewer. That should create a link...
>
> Failing that, you can locate the file
> <user.home>/.eclipse/org.eclipse.oomph.setup/setups/org.eclipse.projects.setup
> and add a line as follows to refer to your *.setup.
>
> <project
> href="file:/D:/sandbox/oomph/git/org.eclipse.oomph/setups/interim/xtext.setup#/"/>
>
>
> This should be an absolute URI starting with file: or http: and should
> use / as the segment separator; note the #/ at the end refers to the
> root object in your *.setup resource.
>
> On 30/05/2014 6:06 PM, gcoutable wrote:
>> Like Abel, I tried the tree points he noticed, I also tried to drag my
>> setup file into the project page (the page right after the product
>> one), but nothing happened. So I guess, there is something missing in
>> my setup file, or I don't understand what you want to say by "Project
>> catalog".
>>
>> Thanks for any other suggestions (if there are).
>
Re: How to try your own setup [message #1384753 is a reply to message #1384752] Sat, 31 May 2014 11:24 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Yes, it's not the most obvious thing. There's no support for removing
it either, other than editing the file I mentioned. Please open a
bugzilla asking for a mechanism that's more discoverable.

On 31/05/2014 1:14 PM, gcoutable wrote:
> Thanks Ed, it works.
>
> Whenever I wanted to drag my setup file, I did on the tree view, not
> specifically on the "Eclipse.org Projects".
>
> Le 30/05/2014 19:18, Ed Merks a écrit :
>> You should be able to drag a *.setup resource from your Eclipse
>> workspace or from the file system explorer, drag until you hover over
>> the "Eclipse.org Projects" tree item in the Projects page's tree
>> viewer. That should create a link...
>>
>> Failing that, you can locate the file
>> <user.home>/.eclipse/org.eclipse.oomph.setup/setups/org.eclipse.projects.setup
>>
>> and add a line as follows to refer to your *.setup.
>>
>> <project
>> href="file:/D:/sandbox/oomph/git/org.eclipse.oomph/setups/interim/xtext.setup#/"/>
>>
>>
>>
>> This should be an absolute URI starting with file: or http: and should
>> use / as the segment separator; note the #/ at the end refers to the
>> root object in your *.setup resource.
>>
>> On 30/05/2014 6:06 PM, gcoutable wrote:
>>> Like Abel, I tried the tree points he noticed, I also tried to drag my
>>> setup file into the project page (the page right after the product
>>> one), but nothing happened. So I guess, there is something missing in
>>> my setup file, or I don't understand what you want to say by "Project
>>> catalog".
>>>
>>> Thanks for any other suggestions (if there are).
>>
>
Re: How to try your own setup [message #1386087 is a reply to message #1384753] Fri, 13 June 2014 11:32 Go to previous messageGo to next message
Christoph Keimel is currently offline Christoph Keimel
Messages: 371
Registered: December 2010
Location: Germany
Senior Member
I am currently hanging at the same stage. I can not drag&drop the setup file into the tree. I also edited the file Ed mentioned. This gives me a "<user>" entry in the tree but I can't select it, nor is there a child I could add.

<?xml version="1.0" encoding="UTF-8"?>
<setup:Project
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    name="user.project"
    label="&lt;User>">
  <description>A container project for local user projects that are virtual members of the Eclipse.org project catalog</description>
  <project href="file:/D:/GitRepos/eclipse/org.eclipse.efxclipse/releng/org.eclipse.fx.releng.devsetup/efxclipse.setup#/"/>
</setup:Project>


index.php/fa/18271/0/

[Updated on: Fri, 13 June 2014 11:33]

Report message to a moderator

Re: How to try your own setup [message #1386092 is a reply to message #1386087] Fri, 13 June 2014 11:47 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5545
Registered: July 2009
Senior Member
Am 13.06.2014 13:32, schrieb Christoph Keimel:
> I am currently hanging at the same stage. I can not drag&drop the setup file into the tree.
Have you really tried to drop it exactly on the "Eclipse.org" catalog node? The screenshot doesn't look like it. If that
doesn't work you may have to revert your manual changes to the file that Ed mentioned.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: How to try your own setup [message #1386247 is a reply to message #1386092] Mon, 16 June 2014 06:42 Go to previous messageGo to next message
Christoph Keimel is currently offline Christoph Keimel
Messages: 371
Registered: December 2010
Location: Germany
Senior Member
Dropping it on "Eclipse.org" isn't allowed either.
index.php/fa/18289/0/
Re: How to try your own setup [message #1386262 is a reply to message #1386247] Mon, 16 June 2014 08:43 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Chistoph,

There are some guards in
org.eclipse.oomph.setup.ui.wizards.ProjectPage.ItemProviderAdapterFactory.createProjectAdapter().SpecializedProjectItemProvider.createDragAndDropCommand(...).new
DragAndDropCommand() {...}.prepare(), i.e.,

protected boolean prepare()
{
projects.clear();

for (Object value : collection)
{
if (value instanceof URI)
{
URI uri = (URI)value;
SetupResource resource =
EMFUtil.loadResourceSafely(resourceSet, uri);
Project project =
(Project)EcoreUtil.getObjectByType(resource.getContents(),
SetupPackage.Literals.PROJECT);
if (project != null && project.getName() != null &&
(operation == DROP_COPY || project.eContainer() == null))
{
projects.add(project);
}
}
}

So the resource must contain a project that has a name. Perhaps your
resource isn't well formed?

Failing all that, what I suggested before, i.e., Failing that, you can
locate the file
<user.home>/.eclipse/org.eclipse.oomph.setup/setups/org.eclipse.projects.setup
and add a line as follows to refer to your *.setup.

<project
href="file:/D:/sandbox/oomph/git/org.eclipse.oomph/setups/interim/xtext.setup#/"/>



On 16/06/2014 8:42 AM, Christoph Keimel wrote:
> Dropping it on "Eclipse.org" isn't allowed either.
>
Re: How to try your own setup [message #1386267 is a reply to message #1386262] Mon, 16 June 2014 09:12 Go to previous messageGo to next message
Christoph Keimel is currently offline Christoph Keimel
Messages: 371
Registered: December 2010
Location: Germany
Senior Member
Hi Ed,

you may be right. Maybe the setup file was created with an older Version or is corrupt in some other way. This is the file here:
http://git.eclipse.org/c/efxclipse/org.eclipse.efxclipse.git/tree/releng/org.eclipse.fx.releng.devsetup/efxclipse.setup

If I read it correctly it should have the name "efxclipse".

Where du I put the <project/> element? I tried it like this without success:

<?xml version="1.0" encoding="UTF-8"?>
<setup:Project
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    name="user.project"
    label="&lt;User>">
  <description>A container project for local user projects that are virtual members of the Eclipse.org project catalog</description>
  <project href="file:/D:/GitRepos/eclipse/org.eclipse.efxclipse/releng/org.eclipse.fx.releng.devsetup/efxclipse.setup#/"/>
</setup:Project>

With this change I see a "<User>" entry directly under "Eclipse.org" but I can't add it to the list and it doesn't have any children.
Re: How to try your own setup [message #1386303 is a reply to message #1386267] Mon, 16 June 2014 12:47 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
I've attached a migrated version of the project. I've not had time to test it extensively. It seems you need some type of task to set up the target platform.
Re: How to try your own setup [message #1386322 is a reply to message #1386303] Mon, 16 June 2014 14:13 Go to previous messageGo to next message
Christoph Keimel is currently offline Christoph Keimel
Messages: 371
Registered: December 2010
Location: Germany
Senior Member
Thanks Ed!
It's running ... Smile
Re: How to try your own setup [message #1402968 is a reply to message #1386322] Fri, 18 July 2014 22:29 Go to previous messageGo to next message
Tamar Cohen is currently offline Tamar Cohen
Messages: 100
Registered: July 2009
Senior Member
Hi Ed --

I'm having the same problems as these users, I cannot figure out how to get the setup file to show up as a choice in the installer. I've tried dropping it on the folder, putting it next to the application, and editing the org.eclipse.projects.setup in my .eclipse/org.eclipse.oomph.setup/setups as you described. I've restarted the oomph installer of course, and refreshed it. It's version 1.0.0.v20140716-0322.

I have also tried with the efxclipse.setup file you have in this thread, and with the test.setup file from http://git.eclipse.org/c/cdo/cdo.git/plain/plugins/org.eclipse.emf.cdo.releng.setup/setups/test.setup

all of them have the same result, which is nothing.

Suggestions? This tool looks perfect for our group and I really want it to work!

Thanks a ton
Tamar
Re: How to try your own setup [message #1402974 is a reply to message #1402968] Sat, 19 July 2014 03:59 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Tamar,

Comments below.

On 19/07/2014 12:29 AM, Tamar Cohen wrote:
> Hi Ed --
>
> I'm having the same problems as these users,
Sorry we've not focused on improving the documentation to keep up with
the features that are available.
> I cannot figure out how to get the setup file to show up as a choice
> in the installer. I've tried dropping it on the folder,
:-(
> putting it next to the application, and editing the
> org.eclipse.projects.setup in my
> .eclipse/org.eclipse.oomph.setup/setups as you described. I've
> restarted the oomph installer of course, and refreshed it. It's
> version 1.0.0.v20140716-0322.
> I have also tried with the efxclipse.setup file you have in this
> thread, and with the test.setup file from
> http://git.eclipse.org/c/cdo/cdo.git/plain/plugins/org.eclipse.emf.cdo.releng.setup/setups/test.setup
That one definitely won't work because it's not using all the latest
namespaces.
>
> all of them have the same result, which is nothing.
When editing your *.setup, do you have an outline view? If not, you
need to set the logical container of your project to point at the
Eclipse.org (or Github.com) project catalog. Without an outline, you
won't know if your project is completely well formed. With live
validation enabled (it should be by default) you should see any direct
problems in the project via the decorators. In the outline you should
see your streams listed and under each stream is essentially a preview
of the tasks that will be performed to provision that stream into a
product. You must have at least one stream; only a stream can be
provisioned, not a project without streams.
>
> Suggestions?
My immediate guess is that the project has no streams and so there's
nothing that can be provisioned for it. Getting the outline view to
show your per-stream tasks will help.
> This tool looks perfect for our group and I really want it to work!
I'm sure we can get it working for you. If the problem is simply a
missing stream, we should probably add validation that a project should
have at least one stream or at least one subproject (with the constraint
applying recursively).
>
> Thanks a ton
> Tamar
Re: How to try your own setup [message #1402977 is a reply to message #1402974] Sat, 19 July 2014 04:25 Go to previous messageGo to next message
Tamar Cohen is currently offline Tamar Cohen
Messages: 100
Registered: July 2009
Senior Member
Thanks Ed for your response --

I am not convinced it's my project, because my project has a master stream and looks a lot like the efxclipse.setup and test.setup. It does have a correct looking view in the setup editor, with the outline view.
It has validated, there are no problem markers.


Is there a current, valid test setup file that I can use? I'm feeling like maybe I'm editing the wrong file, here is my org.eclipse.projects.setup file:

<?xml version="1.0" encoding="UTF-8"?>
<setup:Project
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
name="user.project"
label="&lt;User>">
<description>A container project for local user projects that are virtual members of the Eclipse.org project catalog</description>
<project href="file://Users/tecohen/Documents/workspace/oomph_setup/VerveSimple.setup#/"/>
<project href="file://Users/tecohen/Documents/workspace/oomph_setup/VerveKnRoverRAPID.setup#/"/>
<project href="file://Users/tecohen/Documents/workspace/oomph_setup/test.setup#/"/>
<project href="file://Users/tecohen/Documents/workspace/oomph_setup/efxclipse.setup#/"/>
</setup:Project>


Thanks so much for your help!

Tamar
Re: How to try your own setup [message #1402987 is a reply to message #1402977] Sat, 19 July 2014 08:24 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Tamar,

Do you see other files in your .eclipse/org.eclipse.oomph.setup/setups
folder? I.e., the user.setup? I guess so because you didn't create
this whole file by yourself did you?

<?xml version="1.0" encoding="UTF-8"?>
<setup:Project
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
name="user.project"
label="<User>">
<description>A container project for local user projects that are
virtual members of the Eclipse.org project catalog</description>
<project
href="file://Users/tecohen/Documents/workspace/oomph_setup/VerveSimple.setup#/"/>
<project
href="file://Users/tecohen/Documents/workspace/oomph_setup/VerveKnRoverRAPID.setup#/"/>
<project
href="file://Users/tecohen/Documents/workspace/oomph_setup/test.setup#/"/>
<project
href="file://Users/tecohen/Documents/workspace/oomph_setup/efxclipse.setup#/"/>
</setup:Project>

I suppose it got created for you, but that implies you successfully did
a drag and drop to have created it...

If you have this file in the right place, I would expect you'd see a
<user> project as the first child in your Eclipse.org projects list.
I assume that Eclipse.org project catalog is showing:



Maybe there are clues in the configuration/*.log of the installer itself?

If you want to email me your setup file, I can see if there's something
wrong with it...


On 19/07/2014 6:25 AM, Tamar Cohen wrote:
> Thanks Ed for your response --
> I am not convinced it's my project, because my project has a master
> stream and looks a lot like the efxclipse.setup and test.setup. It
> does have a correct looking view in the setup editor, with the outline
> view.
> It has validated, there are no problem markers.
>
>
> Is there a current, valid test setup file that I can use? I'm feeling
> like maybe I'm editing the wrong file, here is my
> org.eclipse.projects.setup file:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <setup:Project
> xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
> name="user.project"
> label="<User>">
> <description>A container project for local user projects that are
> virtual members of the Eclipse.org project catalog</description>
> <project
> href="file://Users/tecohen/Documents/workspace/oomph_setup/VerveSimple.setup#/"/>
> <project
> href="file://Users/tecohen/Documents/workspace/oomph_setup/VerveKnRoverRAPID.setup#/"/>
> <project
> href="file://Users/tecohen/Documents/workspace/oomph_setup/test.setup#/"/>
> <project
> href="file://Users/tecohen/Documents/workspace/oomph_setup/efxclipse.setup#/"/>
> </setup:Project>
>
>
> Thanks so much for your help!
>
> Tamar
>
Re: How to try your own setup [message #1402988 is a reply to message #1402987] Sat, 19 July 2014 08:25 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Oops no picture when sending plain text:<br>
<br>
<img src="https://www.eclipse.org/forums/index.php?t=getfile&amp;id=18583" alt=""><br>
<div class="moz-cite-prefix">On 19/07/2014 10:24 AM, Ed Merks wrote:<br>
</div>
<blockquote cite="mid:lqda0k$jei$1@xxxxxxxxe.org" type="cite">Tamar,
<br>
<br>
Do you see other files in your
.eclipse/org.eclipse.oomph.setup/setups folder?  I.e., the
user.setup?   I guess so because you didn't create this whole file
by yourself did you?
<br>
<br>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
<br>
&lt;setup:Project
<br>
   xmi:version="2.0"
<br>
   xmlns:xmi=<a class="moz-txt-link-rfc2396E" href="http://www.omg.org/XMI">"http://www.omg.org/XMI"</a>
<br>
   xmlns:setup=<a class="moz-txt-link-rfc2396E" href="http://www.eclipse.org/oomph/setup/1.0">"http://www.eclipse.org/oomph/setup/1.0"</a>
<br>
   name="user.project"
<br>
   label="&lt;User&gt;"&gt;
<br>
 &lt;description&gt;A container project for local user projects
that are virtual members of the Eclipse.org project
catalog&lt;/description&gt;
<br>
 &lt;project
href=<a class="moz-txt-link-rfc2396E" href="file://Users/tecohen/Documents/workspace/oomph_setup/VerveSimple.setup#/">"file://Users/tecohen/Documents/workspace/oomph_setup/VerveSimple.setup#/"</a>/&gt;<br>
 &lt;project
href=<a class="moz-txt-link-rfc2396E" href="file://Users/tecohen/Documents/workspace/oomph_setup/VerveKnRoverRAPID.setup#/">"file://Users/tecohen/Documents/workspace/oomph_setup/VerveKnRoverRAPID.setup#/"</a>/&gt;<br>
 &lt;project
href=<a class="moz-txt-link-rfc2396E" href="file://Users/tecohen/Documents/workspace/oomph_setup/test.setup#/">"file://Users/tecohen/Documents/workspace/oomph_setup/test.setup#/"</a>/&gt;<br>
 &lt;project
href=<a class="moz-txt-link-rfc2396E" href="file://Users/tecohen/Documents/workspace/oomph_setup/efxclipse.setup#/">"file://Users/tecohen/Documents/workspace/oomph_setup/efxclipse.setup#/"</a>/&gt;<br>
&lt;/setup:Project&gt;
<br>
<br>
I suppose it got created for you, but that implies you
successfully did a drag and drop to have created it...
<br>
<br>
If you have this file in the right place, I would expect you'd see
a &lt;user&gt; project as the first child in your Eclipse.org
projects list.    I assume that Eclipse.org project catalog is
showing:
<br>
<br>
<br>
<br>
Maybe there are clues in the configuration/*.log of the installer
itself?
<br>
<br>
If you want to email me your setup file, I can see if there's
something wrong with it...
<br>
<br>
<br>
On 19/07/2014 6:25 AM, Tamar Cohen wrote:
<br>
<blockquote type="cite">Thanks Ed for your response --
<br>
I am not convinced it's my project, because my project has a
master stream and looks a lot like the efxclipse.setup and
test.setup.  It does have a correct looking view in the setup
editor, with the outline view.
<br>
It has validated, there are no problem markers.
<br>
<br>
<br>
Is there a current, valid test setup file that I can use?  I'm
feeling like maybe I'm editing the wrong file, here is my
org.eclipse.projects.setup file:
<br>
<br>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
<br>
&lt;setup:Project
<br>
   xmi:version="2.0"
<br>
   xmlns:xmi=<a class="moz-txt-link-rfc2396E" href="http://www.omg.org/XMI">"http://www.omg.org/XMI"</a>
<br>
   xmlns:setup=<a class="moz-txt-link-rfc2396E" href="http://www.eclipse.org/oomph/setup/1.0">"http://www.eclipse.org/oomph/setup/1.0"</a>
<br>
   name="user.project"
<br>
   label="&lt;User&gt;"&gt;
<br>
 &lt;description&gt;A container project for local user projects
that are virtual members of the Eclipse.org project
catalog&lt;/description&gt;
<br>
 &lt;project
href=<a class="moz-txt-link-rfc2396E" href="file://Users/tecohen/Documents/workspace/oomph_setup/VerveSimple.setup#/">"file://Users/tecohen/Documents/workspace/oomph_setup/VerveSimple.setup#/"</a>/&gt;<br>
 &lt;project
href=<a class="moz-txt-link-rfc2396E" href="file://Users/tecohen/Documents/workspace/oomph_setup/VerveKnRoverRAPID.setup#/">"file://Users/tecohen/Documents/workspace/oomph_setup/VerveKnRoverRAPID.setup#/"</a>/&gt;<br>
 &lt;project
href=<a class="moz-txt-link-rfc2396E" href="file://Users/tecohen/Documents/workspace/oomph_setup/test.setup#/">"file://Users/tecohen/Documents/workspace/oomph_setup/test.setup#/"</a>/&gt;<br>
 &lt;project
href=<a class="moz-txt-link-rfc2396E" href="file://Users/tecohen/Documents/workspace/oomph_setup/efxclipse.setup#/">"file://Users/tecohen/Documents/workspace/oomph_setup/efxclipse.setup#/"</a>/&gt;<br>
&lt;/setup:Project&gt;
<br>
<br>
<br>
Thanks so much for your help!
<br>
<br>
Tamar
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>
  • Attachment: bdfejiha.png
    (Size: 34.54KB, Downloaded 8 times)
Re: How to try your own setup [message #1403017 is a reply to message #1402987] Sun, 20 July 2014 00:38 Go to previous messageGo to next message
Tamar Cohen is currently offline Tamar Cohen
Messages: 100
Registered: July 2009
Senior Member
[quote title=Ed Merks wrote on Sat, 19 July 2014 04:24]Tamar,

Do you see other files in your .eclipse/org.eclipse.oomph.setup/setups
folder? I.e., the user.setup? I guess so because you didn't create
this whole file by yourself did you?

TC Yes there are other files there, I edited the one file to add references to my setup. These do not show up in a user folder and there is no user folder.

I suppose it got created for you, but that implies you successfully did
a drag and drop to have created it...

If you have this file in the right place, I would expect you'd see a
<user> project as the first child in your Eclipse.org projects list.
I assume that Eclipse.org project catalog is showing:

TC project catalog is showing but no user project



Maybe there are clues in the configuration/*.log of the installer itself?

If you want to email me your setup file, I can see if there's something
wrong with it...

TC thanks, I've attached a sample setup file and the log file. Maybe I should download / install a fresh oomph?

Re: How to try your own setup [message #1403021 is a reply to message #1403017] Sun, 20 July 2014 05:18 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Tamar,

The project looks fine and I can drag it into my user project (or to
it's container catalog), but what exactly do you mean by the "TC project
catalog"? The Eclipse.org catalog should be showing and that's where
you should drag it (because that's what you've made the logical
container of your project). There should only be two choices of catalog
in your drop down menu for the catalog selection...

On 20/07/2014 2:38 AM, Tamar Cohen wrote:
> TC project catalog is showing but no user project
Re: How to try your own setup [message #1403026 is a reply to message #1403021] Sun, 20 July 2014 07:06 Go to previous messageGo to next message
Abel Hegedus is currently offline Abel Hegedus
Messages: 98
Registered: July 2009
Member
Ed Merks wrote on Sun, 20 July 2014 07:18
Tamar,
what exactly do you mean by the "TC project catalog"?
On 20/07/2014 2:38 AM, Tamar Cohen wrote:
> TC project catalog is showing but no user project


All in-line replies were prefixed "TC", which stands to the monogram for Tamar Cohen.
Re: How to try your own setup [message #1403028 is a reply to message #1403026] Sun, 20 July 2014 07:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
I see! :-P

It all works for me, and the project setup looks good, so I don't see
the source of the problem. Perhaps deleting your oomph installer and
unzipping a new one would help. Also, you should try renaming your
setups folder so that a new user.setup and other stuff in there is
created fresh. That's essentially starting from a fresh clean state...


On 20/07/2014 9:06 AM, Abel Hegedus wrote:
> Ed Merks wrote on Sun, 20 July 2014 07:18
>> Tamar,
>> what exactly do you mean by the "TC project catalog"?
>> On 20/07/2014 2:38 AM, Tamar Cohen wrote:
>> > TC project catalog is showing but no user project
>
>
> All in-line replies were prefixed "TC", which stands to the monogram
> for Tamar Cohen.
Re: How to try your own setup [message #1403141 is a reply to message #1403028] Mon, 21 July 2014 16:33 Go to previous messageGo to next message
Tamar Cohen is currently offline Tamar Cohen
Messages: 100
Registered: July 2009
Senior Member
Hm. Still no joy. I've installed a fresh version of Oomph, blown away my .eclipse. When I try to drag and drop either from the package explorer or from finder (I'm on osx 10.8.5) onto the Eclipse.org folder in Oomph Installer, it won't show up as a drop target.

I've once again edited the org.eclipse.projects.setup file within my .eclipse/org.eclipse.oomph.setup/setups directory as follows:
<?xml version="1.0" encoding="UTF-8"?>
<setup:Project
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    name="user.project"
    label="&lt;User>">
  <description>A container project for local user projects that are virtual members of the Eclipse.org project catalog</description>
  <project href="VerveKnRoverRAPID.setup#/" />
  <project href="file:/Users/tecohen/Documents/workspace/oomph_setup/VerveKnRoverRAPID.setup#/" />
  <project href="file:/Users/tecohen/Documents/workspace/oomph_setup/efxclipse.setup#/" />
</setup:Project>


And just for kicks, I copied my VerveKnRoverRAPID.setup file to be alongside the executable I'm running for Oomph.

The User folder DOES NOT show up as a child of the Eclipse.org folder.

Interestingly, when I click the refresh button within the Oomph installer and carefully watch the progress messages, I actually see the name of my setup files flick by.

Is there something I have wrong in the org.eclipse.projects.setup file that would be causing the User folder not to display?

Log files continue to look good to me as well, there are some errors but none of them pertaining to loading my file.

thanks
Tamar
Re: How to try your own setup [message #1403146 is a reply to message #1403141] Mon, 21 July 2014 17:17 Go to previous messageGo to next message
Tamar Cohen is currently offline Tamar Cohen
Messages: 100
Registered: July 2009
Senior Member
also one other weirdness, the filter does nothing, I'm not sure what it is supposed to do but nothing changes when I type anything in the filter.
Re: How to try your own setup [message #1403149 is a reply to message #1403146] Mon, 21 July 2014 17:26 Go to previous messageGo to next message
Tamar Cohen is currently offline Tamar Cohen
Messages: 100
Registered: July 2009
Senior Member
HOLY COW I was just totally confused. The first screen (image attached) was where I thought we were expected to see the user folder and to be able to drag and drop things, but it turns out after I press Next is where the folders including the User folder with my setups show up! AND drag and drop works in this area.

sorry. thank you! sorry AND thank you!

ok I'm finishing up my exploration of using this tool now. Thanks again for your amazingly prompt response and hopefully the resolution of my confusion can help others.

Tamar
Re: How to try your own setup [message #1403291 is a reply to message #1403149] Tue, 22 July 2014 03:48 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Tamar,

Comments below.

On 21/07/2014 7:26 PM, Tamar Cohen wrote:
> HOLY COW I was just totally confused. The first screen (image attached) was where I thought we were expected to see the user folder and to be able to drag and drop things, but it turns out after I press Next is where the folders including the User folder with my setups show up! AND drag and drop works in this area.
Oh dear. Yes, they both have Eclipse.org as the root object, though on
the first page it's the list of Products and the second the list of
Projects and when coding those two words differ by only two letters. :-P
>
> sorry. thank you! sorry AND thank you!
>
> ok I'm finishing up my exploration of using this tool now. Thanks again for your amazingly prompt response and hopefully the resolution of my confusion can help others.
Hehehe. You're welcome.
>
> Tamar
Previous Topic:Configure Eclipse according to current project state
Next Topic:How to set up for authentication to p2 update site
Goto Forum:
  


Current Time: Sat Oct 25 00:58:34 GMT 2014

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

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