Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Oomph issues

Hi, Ernesto,

See some replies in-line, below.

HTH,

Christian


On Jul 23, 2014, at 12:02 PM, Ernesto Posse <eposse@xxxxxxxxxxxxx> wrote:

Hi. I've been trying to use Oomph to setup a development environment and I've run into several issues. After several attempts I finally got a working environment, but every time I restart the IDE, the Oomph dialog pops up with a new subtask that resets the default JRE back to 1.6 (I had set it to 1.7 as the drop-down list showed only 1.7 and 1.8; and by the way, the drop-down list for 1.7 shows only 1.8 even though I don't have it in my machine):

The way that Oomph deals with JREs is perhaps not entirely intuitive.  The core model that all setups inherit lets any particular JRE be re-directed to an instance of a later (higher-version) JRE, because a later JRE is compatible with an earlier.  The reverse is not true, so for example, Oomph doesn't let you re-direct a 1.6 JRE to a 1.5 instance.  This is why the drop-down only shows higher versions.

As you noticed, if you select one of those drop-down versions, then Oomph will require a value for that, either redirection to yet another later JRE or an actual location on your system.

The baseline for Papyrus Luna is 1.6, which is why the setup model starts with that.

Once you have provisioned an actual JRE install, Oomph shouldn't be prompting for JREs again (at least, not for the same Papyrus setup).  If it does, that's a bug that should be reported to the Oomph team.


[11:39:56] Performing setup task JRE JavaSE-1.6 = /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin

[11:39:56] Configurating a JavaSE-1.6 JRE for location /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin


This all looks correct.


The actual value for 1.6 does point to 1.7.0_51, as I told the Oomph installer, but I get the errors anyway, so I have to manually go back to Preferences>Java>Installed JREs and set it back.

I haven't seen this.  I configured my own Papyrus setup to use a 1.7.0 JRE for 1.6 as you did, and it's working fine.  I don't have to tweak any settings.  What do you mean by errors?  Entries in the Error Log?  What specifically is the JRE preference set to and what specifically do you set it back to?  (sorry, I'm having trouble visualizing what you're actually seeing)


Should I have manually set the variable for JRE 1.6 instead of selecting from the drop-down when installing? or is there a way to avoid having Oomph reset it every time?

I also encountered other problems: 

* when setting up Gerrit, my password is not accepted and the only way to continue is to click "Cancel".

Is it the correct Gerrit password?  Are you an Eclipse committer?  If not, you won't have a Gerrit account and you'll have to use one of the anonymous options supplied by Oomph.


* when installing the Developer package + UML-RT, I got a couple of missing dependencies:
    - org.eclipse.acceleo.*
    - org.eclipse.gmf.codegen.xtend.*
    - all of umlrt (although when I installed only UML-RT it did work)

Please raise a bug on Papyrus for this, with details of how to reproduce the erroneous set-up.  Thanks!

* if I don't close the initial (bootstrapping) dialog, the second one (startup) blocks at some point. It unblocks once you hit "Finish" on the first one, but since there's no hint that you have to do that, I thought that the start-up was working for a very long time.

This should be reported to the Oomph team in bugzilla.  It's a normal consequence of stacking dialogs with modal behaviour, but it's not a great experience.



Thanks!


--
Ernesto Posse

_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev


Back to the top