Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Importing setup fails
Importing setup fails [message #1698700] Wed, 17 June 2015 10:57 Go to next message
Oliver Libutzki is currently offline Oliver LibutzkiFriend
Messages: 40
Registered: September 2011
Member
Hi,

I want to import a setup project into the Eclipse installer, but I always get the error message that the file does not contain a valid project.

My setup-file is attached.

I use 1.1.0 Build 1448.

Edit: I just tried to import http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/Oomph.setup but this fails with the same error message.

[Updated on: Wed, 17 June 2015 10:59]

Report message to a moderator

Re: Importing setup fails [message #1698702 is a reply to message #1698700] Wed, 17 June 2015 11:07 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=iso-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Am 17.06.2015 um 12:57 schrieb Oliver Libutzki:<br>
<blockquote cite="mid:mlrjql$qc8$1@xxxxxxxxe.org" type="cite">
<pre wrap="">Hi,

I want to import a setup project into the Eclipse installer, but I always get the error message that the file does not contain a valid project.

My setup-file is attached.

I use 1.1.0 Build 1448.
</pre>
</blockquote>
Maybe a file encoding problem? When I open it I see this:<br>
<br>
<img src="https://www.eclipse.org/forums/index.php?t=getfile&amp;id=22199" alt=""><br>
<br>
Cheers<br>
/Eike<br>
<br>
----<br>
<a class="moz-txt-link-freetext" href="http://www.esc-net.de">http://www.esc-net.de</a><br>
<a class="moz-txt-link-freetext" href="http://thegordian.blogspot.com">http://thegordian.blogspot.com</a><br>
<a class="moz-txt-link-freetext" href="http://twitter.com/eikestepper">http://twitter.com/eikestepper</a><br>
<br>
<br>
</body>
</html>
  • Attachment: hbffjfde.png
    (Size: 32.82KB, Downloaded 144 times)


Re: Importing setup fails [message #1698704 is a reply to message #1698702] Wed, 17 June 2015 11:19 Go to previous messageGo to next message
Oliver Libutzki is currently offline Oliver LibutzkiFriend
Messages: 40
Registered: September 2011
Member
Eike Stepper wrote on Wed, 17 June 2015 07:07

Maybe a file encoding problem?
Cheers
/Eike

Hmm, that's strange. I just double-checked that it's a valid UTF-8 file. So I don't that the issue is encoding related.
Re: Importing setup fails [message #1698951 is a reply to message #1698704] Fri, 19 June 2015 07:21 Go to previous messageGo to next message
Alexander Nittka is currently offline Alexander NittkaFriend
Messages: 1193
Registered: July 2009
Senior Member
Hi,

the attached setup looks like the empty project setup from my Oomph Playground. Have you tried importing by adding https://raw.githubusercontent.com/nittka/oomph-playground/master/setups/setups/emptyProject.setup to the project catalog? Because this usually worked for me...


Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext@itemis.de
Re: Importing setup fails [message #1698957 is a reply to message #1698951] Fri, 19 June 2015 07:51 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
Alexander,

I can drag that that link directly from Thunderbird and drop it into
either project catalog. If I've dropped it into one project catalog, I
can no longer drop it into another; it can be contained by at most one
container. So perhaps you've already added it somewhere and are
trying to add it somewhere else and that definitely won't work.


On 19/06/2015 9:21 AM, Alexander Nittka wrote:
> Hi,
>
> the attached setup looks like the empty project setup from my Oomph
> Playground. Have you tried importing by adding
> https://raw.githubusercontent.com/nittka/oomph-playground/master/setups/setups/emptyProject.setup
> to the project catalog? Because this usually worked for me...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Importing setup fails [message #1698962 is a reply to message #1698951] Fri, 19 June 2015 08:02 Go to previous messageGo to next message
Oliver Libutzki is currently offline Oliver LibutzkiFriend
Messages: 40
Registered: September 2011
Member
Same error message. Any ideas? I'm confused.
Re: Importing setup fails [message #1698970 is a reply to message #1698962] Fri, 19 June 2015 08:46 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
I notice the message says does not contain a valid "product". And
indeed what you're saying you're trying to add isn't a Product, it's a
Project. So it seems you're trying to do this on the Product page when
no doubt you want to be doing it on the Project page. Right?

On 19/06/2015 10:02 AM, Oliver Libutzki wrote:
> Same error message. Any ideas? I'm confused.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Importing setup fails [message #1698977 is a reply to message #1698970] Fri, 19 June 2015 09:18 Go to previous messageGo to next message
Oliver Libutzki is currently offline Oliver LibutzkiFriend
Messages: 40
Registered: September 2011
Member
Thanks, I just read some docs to clearify what "product" and "project" means in the Oomph context.

So there seems to be no corresponding wizard, right? I just can select "Setup Project Model" and "WorkingSets Model". But I need a "Product Model" first, right?
Re: Importing setup fails [message #1699005 is a reply to message #1698977] Fri, 19 June 2015 12:24 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
Oliver,

Sorry, no, there's no wizard for creating a new Product. Here's an
example you can copy and paste as a starting point.

http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/OomphInstaller.setup

The normal Setup Editor can edit any type of thing. You can of course
also look at the Products in the org.eclipse.products.setup catalog to
copy and paste starting point for your own product definition.


On 19/06/2015 11:18 AM, Oliver Libutzki wrote:
> Thanks, I just read some docs to clearify what "product" and "project"
> means in the Oomph context.
>
> So there seems to be no corresponding wizard, right? I just can select
> "Setup Project Model" and "WorkingSets Model". But I need a "Product
> Model" first, right?


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Heads Up: Installer might not restart automatically after the next self-update
Next Topic:How to reuse Source Locator for a custom Task
Goto Forum:
  


Current Time: Sun Dec 08 03:26:57 GMT 2024

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

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

Back to the top