These are chat archives for ceylon/ceylon-ide-eclipse

29th
Feb 2016
Gavin King
@gavinking
Feb 29 2016 12:43
So @davidfestal I guess I have quite a few commits for you to cherry-pick back to the branch
David Festal
@davidfestal
Feb 29 2016 12:43
OK
I've nearly finished pushing those I can see locally
Gavin King
@gavinking
Feb 29 2016 12:43
AFAICT all my recent IDE commits are relevant
David Festal
@davidfestal
Feb 29 2016 12:43
I'll pull master
Gavin King
@gavinking
Feb 29 2016 12:43
ok
David Festal
@davidfestal
Feb 29 2016 12:44
and will cherry pick the remaining ones you've just pushed
there are all in Java ? (not in ceylon-ide-common) ?
Gavin King
@gavinking
Feb 29 2016 13:12
some in common, i believe
David Festal
@davidfestal
Feb 29 2016 13:25
The 1.2.2-preparation branch (just as the 1.2.1 IDE release) doesn't contain a big part of the recent refactorings in ceylon-ide-common
so it might be that some fixes done on some recent ceylon-ide-common files don't need to be cherry-picked to 1.2.2-preparation
I'll have a look
Gavin King
@gavinking
Feb 29 2016 13:56
@davidfestal what things do i need to install to be able to compile the SDK in Eclipse?
David Festal
@davidfestal
Feb 29 2016 13:57
I don't understand. Doesn't it work out of the box ?
Gavin King
@gavinking
Feb 29 2016 13:57
nope
David Festal
@davidfestal
Feb 29 2016 13:57
do you have any error ?
Gavin King
@gavinking
Feb 29 2016 13:57
excuse me
the IDE (not SDK)
David Festal
@davidfestal
Feb 29 2016 13:57
Ah, you mean with the bundle proxies, etc ... ?
Gavin King
@gavinking
Feb 29 2016 13:58
something to do with missing org.eclipse.jdt.debug it seems
David Festal
@davidfestal
Feb 29 2016 13:58
ah strange.
Gavin King
@gavinking
Feb 29 2016 13:58
I have installed the Eclipse plug-in development environment.
David Festal
@davidfestal
Feb 29 2016 13:58
Could you show me the error message ?
Gavin King
@gavinking
Feb 29 2016 13:58
Host bundle 'org.eclipse.jdt.debug' cannot be resolved
The import org.eclipse.debug cannot be resolved
David Festal
@davidfestal
Feb 29 2016 13:59
ah
is it when you compile or when you run ?
Gavin King
@gavinking
Feb 29 2016 13:59
compile time
David Festal
@davidfestal
Feb 29 2016 13:59
let me check somethinh
Gavin King
@gavinking
Feb 29 2016 14:00
note: it compiles fine from command line
but not in Eclipse
David Festal
@davidfestal
Feb 29 2016 14:00
I'm not surprised about that
because inside Eclipse it searches the eclipse bundles inside the Eclipse setup
do you have this feature installed : Eclipse JDT Plug-in Developer Resources ?
Gavin King
@gavinking
Feb 29 2016 14:01
probably not
i have never heard of it
David Festal
@davidfestal
Feb 29 2016 14:02
I know I had some identical problems some time ago
and it might have helped
well, maybe not
it might be for the API doc and sources only
Gavin King
@gavinking
Feb 29 2016 14:03
API documentation and source code zips for Eclipse Java development tools.
doesn’t sound like it would help
David Festal
@davidfestal
Feb 29 2016 14:03
yeah, the other point is
what target platform are you using ?
Gavin King
@gavinking
Feb 29 2016 14:04
what’s that?
David Festal
@davidfestal
Feb 29 2016 14:04
in Preferences -> Plugin Development -> Target Platform
a Target platform is the description of an overall Eclipse environment (all the features install from where, etc ...)
so what do you have in this preference dialog?
Gavin King
@gavinking
Feb 29 2016 14:05
Running Platform (Active)
David Festal
@davidfestal
Feb 29 2016 14:05
OK, and no error ?
could tell me where these errors occur:
Host bundle 'org.eclipse.jdt.debug' cannot be resolved
The import org.eclipse.debug cannot be resolved
in a Ceylon file (I don't think so)
Gavin King
@gavinking
Feb 29 2016 14:06
no
David Festal
@davidfestal
Feb 29 2016 14:06
in a manifest file ?
Gavin King
@gavinking
Feb 29 2016 14:06
in java source
David Festal
@davidfestal
Feb 29 2016 14:06
on the project ?
Gavin King
@gavinking
Feb 29 2016 14:07
and in MANIFEST.MF
David Festal
@davidfestal
Feb 29 2016 14:07
OK
Gavin King
@gavinking
Feb 29 2016 14:07
Also lots of errors like Bundle 'com.redhat.ceylon.maven-support' cannot be resolved in MANIFEST.MF
David Festal
@davidfestal
Feb 29 2016 14:08
Did you open the bundle proxy projects ?
Gavin King
@gavinking
Feb 29 2016 14:08
no
David Festal
@davidfestal
Feb 29 2016 14:09
Now in the ceylon-ide-eclipse/required-bundle-proxies you should only see 1.2.2-related folders
apart from com.redhat.ceylon.maven-support that is in 2.0
you can open them all
I mean, import in a dedicated Java Working Set
As for the JDT debug error, did you run the Retrieve Eclipse Dependencies.launch run configuration
to retrieve all the required Eclipse dependencies for the Java/Ceylon code to work with ?
Gavin King
@gavinking
Feb 29 2016 14:12
how do i run that
and why is it that this is getting worse not better?
just importing the projects used to work
David Festal
@davidfestal
Feb 29 2016 14:12
This has been like that since a long time
Gavin King
@gavinking
Feb 29 2016 14:12
and the README claims that it works
that’s not true David
David Festal
@davidfestal
Feb 29 2016 14:13
since The IDE is a true Ceylon project
wait, nothing changed recently in this regard
Gavin King
@gavinking
Feb 29 2016 14:13
only very recently did this stop working
David Festal
@davidfestal
Feb 29 2016 14:13
what ?
you've never been using proxies have you ?
Gavin King
@gavinking
Feb 29 2016 14:13
never
David Festal
@davidfestal
Feb 29 2016 14:14
I thought you were always using build through Maven ?
Bastien Jansen
@bjansen
Feb 29 2016 14:14
how do you test changes in ceylon-ide-common then @gavinking ?
Gavin King
@gavinking
Feb 29 2016 14:15
i build it
remember i rarely change common
Bastien Jansen
@bjansen
Feb 29 2016 14:15
and reinstall it in your main eclipse instance?
Gavin King
@gavinking
Feb 29 2016 14:15
yes
Bastien Jansen
@bjansen
Feb 29 2016 14:15
ah ok
David Festal
@davidfestal
Feb 29 2016 14:15
@gavinking : believe we, what I'm speaking of (bundle-proxies and Retrieve Eclipse Dependencies" have been there for a very long time)
Bastien Jansen
@bjansen
Feb 29 2016 14:15
you don't need proxy projects then, indeed
David Festal
@davidfestal
Feb 29 2016 14:15
you can check this in GitHub
Now I don't know why you have this JDT error
Gavin King
@gavinking
Feb 29 2016 14:15
@davidfestal i know that but i don’t use it
something changed very recently
which broke my way of working
David Festal
@davidfestal
Feb 29 2016 14:16
OK, I'm just trying to give you ideas to try finding why you have those errors
Ah, wait
no
so when and how did it break exactly ?
Gavin King
@gavinking
Feb 29 2016 14:18
well i’m not sure ‘cos i was not working on the IDE for a month or so
David Festal
@davidfestal
Feb 29 2016 14:18
Ah, OK ;-)
The point is that there has just been a version bump, etc ...
did you install the version built by Maven in your main Eclipse ?
Gavin King
@gavinking
Feb 29 2016 14:22
yes, I did
right, i think it happened during the version bump, most likely
Bastien Jansen
@bjansen
Feb 29 2016 14:23
is it a new eclipse install?
Gavin King
@gavinking
Feb 29 2016 14:24
yes
Bastien Jansen
@bjansen
Feb 29 2016 14:24
with the plugin development tools feature installed?
perhaps there's something missing in the readme
it might not be related to the build
David Festal
@davidfestal
Feb 29 2016 14:25
OK, I've pushed the 1.2.2-preparation branch and it should be ready for a 1.2.2 release
Gavin King
@gavinking
Feb 29 2016 14:25
@bjansen yes, I installed it
David Festal
@davidfestal
Feb 29 2016 14:26
what version of fresh eclipse did you install ? Mars ?
Mars.2 ?
I'm still in Mars.1
Bastien Jansen
@bjansen
Feb 29 2016 14:27
I upgraded to Mars.2 this morning and everything's still working fine
David Festal
@davidfestal
Feb 29 2016 14:27
with a fresh new install ?
Gavin King
@gavinking
Feb 29 2016 14:27
I have tried both
Bastien Jansen
@bjansen
Feb 29 2016 14:28
no, I upgraded an existing install
David Festal
@davidfestal
Feb 29 2016 14:28
OK
Gavin King
@gavinking
Feb 29 2016 14:28

what is this stuff in the readme supposed to do:

  1. Use File > Import... > Existing Projects into Workspace to import the Eclipse projects
    that are in these directories:

    • the ceylon-dist-osgi project found at the following location:

      .../ceylon/dist/osgi

    • the ceylon-dist-osgi-embedded-repository project found at the following location:

      .../ceyon/dist/osgi/embeddedRepository

    • all the required bundle-proxys projects found under the following location:

      .../ceyon-ide-eclipse/required-bundle-proxies

David Festal
@davidfestal
Feb 29 2016 14:29
This makes available those projects as OSGI bundles in Eclipse
Gavin King
@gavinking
Feb 29 2016 14:29
what for?
David Festal
@davidfestal
Feb 29 2016 14:29
because they are referenced by the IDE plugin
in the manifest for example
OK, I know
let me explain again
I dont think there has been any regression BUT
you installed a fresh new eclipse
and you don't want to use those projects as well as the require-bundle-proxy projects
then you have to make the required OSGI bundles (distribution jars, ceylon formatter, etc ...) from somewhere
ah, but you installed the plugin in this new fresh Eclipse installation ?
Gavin King
@gavinking
Feb 29 2016 14:32
right
of course
David Festal
@davidfestal
Feb 29 2016 14:32
so they should be visible then
as for the org.eclipse.jdt.debug for example
if you go into the Plug-in Development perspective
and open the Plug-ins view
can you find the org.eclipse.jdt.debug plugin ?
Gavin King
@gavinking
Feb 29 2016 14:38
Do I need to do this:
  1. Add the following folder as a local update site in your Eclipse Available Software Sites
    list:

    .../ceylon-ide-eclipse/UpdateSiteForBinaryDependencies/

    From this new update site, install only the elements that are under the categories
    whose name contains : '- Only Binary Dependencies'. This provides (as OSGI bundles)
    only the external archives required by the various siblings projects required by the
    IDE plugin (jboss modules, antlr-runtime v4, etc ...).

‘Cos I added all the bundles to a working set
and they have compile errors
Bundle 'org.jboss.modules' cannot be resolved
Bundle 'org.jboss.jandex' cannot be resolved
David Festal
@davidfestal
Feb 29 2016 14:40
yes, you should do that
What I don't understand is: why there are already not in your main Eclipse if you installed the whole plugin
but yes, do it
Gavin King
@gavinking
Feb 29 2016 14:45
Just more errors
A cycle was detected in the build path of project 'ceylon.collection-1.2.2.car'. The cycle consists of projects {ceylon.bootstrap-1.2.2.jar, ceylon.runtime-1.2.2.jar, com.redhat.ceylon.tool.provider-1.2.2.jar, com.redhat.ceylon.compiler.java-1.2.2.jar, ceylon-dist-osgi, ceylon.collection-1.2.2.car, ceylon.file-1.2.2.car, ceylon.formatter-1.2.2.car, ceylon.interop.java-1.2.2.car, ceylon.tool.converter.java2ceylon-1.2.2.car, com.redhat.ceylon.ide.common-1.2.2.car}
David Festal
@davidfestal
Feb 29 2016 14:46
This has been a long time that we had to allow cycles
or it's something else?
Gavin King
@gavinking
Feb 29 2016 14:54
well i changed that, but i still have errors
pretty much the same errors i started with
i have done all steps in the readme now
lots of errors like Bundle 'org.jboss.modules' cannot be resolved Bundle 'org.jboss.logmanager' cannot be resolved in the bundle projects
David Festal
@davidfestal
Feb 29 2016 14:57
Could you copy all your errors of the error view to a gist for me ?
when we have found the root cause of these errors
Gavin King
@gavinking
Feb 29 2016 14:58
291 of them?
David Festal
@davidfestal
Feb 29 2016 14:59
you can probably come back to your previous situation
without the proxies, etc ...
yes, 291 of them
in a gist,I'll filter what is interesting to me
please
And, in the meantime, I'll try to install a new Fresh Eclipse
David Festal
@davidfestal
Feb 29 2016 15:02
Such errors are very strange:
Unknown extension point: 'org.eclipse.compare.contentMergeViewers' line 44 plugin.xml
it seems fully unrelated to Ceylon itself
it seems the main Eclipse doesn't know these extension points
just as if PDE was not correctly installed
weird
just as if it doesn't find any of the bundles that are available in the main Eclipse
Gavin King
@gavinking
Feb 29 2016 15:06
Eclipse Plug-in Development Environment 3.11.1.v20150904-0345 org.eclipse.pde.feature.group Eclipse.org
is that the right version?
wait, i found a newer version
i will try upgrading it
David Festal
@davidfestal
Feb 29 2016 15:09
at least it's the same as me it seems
Gavin King
@gavinking
Feb 29 2016 15:09
though September 2015 doesn’t seem that old
David Festal
@davidfestal
Feb 29 2016 15:09
but I'm on Mars.1
not Mars.2
Gavin King
@gavinking
Feb 29 2016 15:09
Version: Mars.1 Release (4.5.1)
David Festal
@davidfestal
Feb 29 2016 15:10
Ah, OK, I thought you were on Mars.2...
Bastien Jansen
@bjansen
Feb 29 2016 15:10
I have org.eclipse.pde_3.11.2.v20160212-1500 on Mars.2
David Festal
@davidfestal
Feb 29 2016 15:10
OK, so we all have consistent things
it seems
Bastien Jansen
@bjansen
Feb 29 2016 15:10
slightly more recent
Gavin King
@gavinking
Feb 29 2016 15:11
I just updated to that one
David Festal
@davidfestal
Feb 29 2016 15:11
yes
OK
I have the same as you had and no problem
Gavin King
@gavinking
Feb 29 2016 15:11
These are all the projects I just added
ceylon-dist-osgi
ceylon-dist-osgi-embedded-repository
ceylon.bootstrap-1.2.2.jar
ceylon.collection-1.2.2.car
ceylon.file-1.2.2.car
ceylon.formatter-1.2.2.car
ceylon.interop.java-1.2.2.car
ceylon.language-1.2.2.car
ceylon.runtime-1.2.2.jar
ceylon.tool.converter.java2ceylon-1.2.2.car
com.redhat.ceylon.common-1.2.2.jar
com.redhat.ceylon.compiler.java-1.2.2.jar
com.redhat.ceylon.compiler.js-1.2.2.jar
com.redhat.ceylon.ide.common-1.2.2.car
com.redhat.ceylon.langtools.classfile-1.2.2.jar
com.redhat.ceylon.maven-support-2.0.jar
com.redhat.ceylon.model-1.2.2.jar
com.redhat.ceylon.module-resolver-1.2.2.jar
com.redhat.ceylon.tool.provider-1.2.2.jar
com.redhat.ceylon.typechecker-1.2.2.jar
David Festal
@davidfestal
Feb 29 2016 15:12
OK, but in fact it doesn't seem tome this comes from there
Gavin King
@gavinking
Feb 29 2016 15:12
no, b/c I never had the errors before
and I never had those projects in the past
David Festal
@davidfestal
Feb 29 2016 15:12
there's a problem in your installation that prevents your Eclipse to access the bundles of the main Eclipse
That's something else IMO
Gavin King
@gavinking
Feb 29 2016 15:13
And I have these projects
com.redhat.ceylon.eclipse.android.feature
com.redhat.ceylon.eclipse.feature
ceylon-ide-common
com.redhat.ceylon.eclipse.android.plugin
com.redhat.ceylon.eclipse.ui
com.redhat.ceylon.eclipse.ui.jdt.debug.fragment
David Festal
@davidfestal
Feb 29 2016 15:13
could you select all (with cmd +A) the lines in the Installed Software list, copy it and again send it to me in a Gist ?
All this is normal
Gavin King
@gavinking
Feb 29 2016 15:13
This message was deleted
ok as a gist then
David Festal
@davidfestal
Feb 29 2016 15:14
Thanks
1.2.2.v20160229-1354 ceylon.formatter null
Awesome
David Festal
@davidfestal
Feb 29 2016 15:15
you don't have nullin the table
only in the copy/paste :-)
Gavin King
@gavinking
Feb 29 2016 15:15
haha
David Festal
@davidfestal
Feb 29 2016 15:18
Could you still install Eclipse JDT Plug-in Developer Resources and Eclipse PDE Plug-in Developer Resources ?
it's the only significant difference in the our setups in this regard
Gavin King
@gavinking
Feb 29 2016 15:20
apparently I already have them
or at least
i can’t install them
David Festal
@davidfestal
Feb 29 2016 15:20
you can't ?
Ah, that might be some oomph setup thing
this made things complicated to me once
let me check something
What do you have in your Oomph -> Bundle Pools preference ?
can you share the screenshot ?
Gavin King
@gavinking
Feb 29 2016 15:24
Screen Shot 2016-02-29 at 4.23.49 PM.png
David Festal
@davidfestal
Feb 29 2016 15:33
What do you get if you go on the /user/gavin/.p2 node and click on Analyze ?
do you have some damaged artifacts
can you find the jboss.logmanager bundle, and is it the version required by the ceylon distribution ?
Gavin King
@gavinking
Feb 29 2016 15:36
I have 1.4.0.Final and 2.0.3.Final
David Festal
@davidfestal
Feb 29 2016 15:37
similarly do you see the og.eclipse.jdt.debug bundle ?
Gavin King
@gavinking
Feb 29 2016 15:37
For the second one there are 2 profiles
This message was deleted
ugh
David Festal
@davidfestal
Feb 29 2016 15:38
for 2.0.3 ?
Gavin King
@gavinking
Feb 29 2016 15:38
yes
David Festal
@davidfestal
Feb 29 2016 15:38
not here
Gavin King
@gavinking
Feb 29 2016 15:38
I have 3.9.0 (2 profiles) and 3.9.1 (1 profile)
David Festal
@davidfestal
Feb 29 2016 15:38
yew
for og.eclipse.jdt.debug ?
Gavin King
@gavinking
Feb 29 2016 15:39
yes
David Festal
@davidfestal
Feb 29 2016 15:40
I have only one: 3.9.0
in only one profile
but you recently tried to install both a Mars.1 and a Mars.2 ?
Do you have some damaged artifacts ?
Gavin King
@gavinking
Feb 29 2016 15:41
I have them sharing a workspace
no
David Festal
@davidfestal
Feb 29 2016 15:41
Ah
pfff
so you have 2 profiles in the Profile table (at the bottom of the dialog) ?
Gavin King
@gavinking
Feb 29 2016 15:42
where?
David Festal
@davidfestal
Feb 29 2016 15:43
In the Analysis result diallog
Gavin King
@gavinking
Feb 29 2016 15:43
oh i see — I hve 3, actually
David Festal
@davidfestal
Feb 29 2016 15:43
really ?
which are ?
Gavin King
@gavinking
Feb 29 2016 15:43
mars-ceylon
mars2
mars
David Festal
@davidfestal
Feb 29 2016 15:43
ah
Gavin King
@gavinking
Feb 29 2016 15:44
mars-ceylon is greyed out
David Festal
@davidfestal
Feb 29 2016 15:44
it seems to me that the profile is specified when starting eclipse
I don't know how all this works exactly
but remember that this has already made me some problems
and that I had made some cleaning
in order to find back a working state
Gavin King
@gavinking
Feb 29 2016 15:45
i can delete some profiles
but i have no idea which one to delete
David Festal
@davidfestal
Feb 29 2016 15:46
have a look at the eclipse.ini files used to start each of your eclipse installations
you should fid the profile referenced
maybe the wrong profile is referenced by the eclipse installation you start
don"t know
all this is really a mess
Don't understand why they added all this oomph stuff
and how many artifacts in each profile, in the Analysis dialog ?
-configuration
file:/Users/gavin/eclipse/java-mars2/Eclipse.app/Contents/Eclipse/configuration
David Festal
@davidfestal
Feb 29 2016 15:50
and what does this configuration file contain ?
well, this directory I mean
the config.ini found in this configuration ?
you should find the profile there
eclipse.p2.profile=_home_david_eclipse-mars_eclipse
here
Gavin King
@gavinking
Feb 29 2016 15:51
<?xml version="1.0" encoding="UTF-8"?>
<setup:Installation
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    name="installation">
  <productVersion
      href="index:/org.eclipse.setup#//@productCatalogs[name='org.eclipse.products']/@products[name='epp.package.java']/@versions[name='mars']"/>
</setup:Installation>
where is the config.ini
David Festal
@davidfestal
Feb 29 2016 15:52
is it the content of /Users/gavin/eclipse/java-mars2/Eclipse.app/Contents/Eclipse/configuration/config.ini ?
Gavin King
@gavinking
Feb 29 2016 15:53
#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Mon Feb 29 11:41:14 CET 2016
org.eclipse.update.reconcile=false
eclipse.p2.profile=_Users_gavin_eclipse_java-mars2_Eclipse.app_Contents_Eclipse
osgi.instance.area.default=@user.home/Documents/workspace
osgi.framework=file\:../../../../../.p2/pool/plugins/org.eclipse.osgi_3.10.102.v20160118-1700.jar
equinox.use.ds=true
eclipse.buildId=4.5.2.M20160212-1500
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.1.100.v20150423-1455.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
osgi.configuration.cascaded=false
eclipse.product=org.eclipse.platform.ide
osgi.splashPath=file\:/Users/gavin/.p2/pool/plugins/org.eclipse.platform_4.5.2.v20160212-1500
osgi.framework.extensions=reference\:file\:org.eclipse.osgi.compatibility.state_1.0.100.v20150402-1551.jar
osgi.bundles.defaultStartLevel=4
eclipse.p2.data.area=file\:/Users/gavin/.p2/
eclipse.application=org.eclipse.ui.ide.workbench
David Festal
@davidfestal
Feb 29 2016 15:53
so here is the profile this installation uses:
_Users_gavin_eclipse_java-mars2_Eclipse.app_Contents_Eclipse
Gavin King
@gavinking
Feb 29 2016 15:53
eclipse.p2.profile=_Users_gavin_eclipse_java-mars2_Eclipse.app_Contents_Eclipse
this is for mars.2
David Festal
@davidfestal
Feb 29 2016 15:54
now you have to check that the bundles you require are effectively installed in this profile I assume
Gavin King
@gavinking
Feb 29 2016 15:54
For mars.1
#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Mon Feb 29 16:10:24 CET 2016
org.eclipse.update.reconcile=false
eclipse.p2.profile=_Users_gavin_eclipse_java-mars_Eclipse.app_Contents_Eclipse
osgi.instance.area.default=@user.home/Documents/workspace
osgi.framework=file\:../../../../../.p2/pool/plugins/org.eclipse.osgi_3.10.101.v20150820-1432.jar
equinox.use.ds=true
eclipse.buildId=4.5.1.M20150904-0015
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.1.100.v20150423-1455.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
osgi.configuration.cascaded=false
eclipse.product=org.eclipse.platform.ide
osgi.splashPath=file\:/Users/gavin/.p2/pool/plugins/org.eclipse.platform_4.5.1.v20150904-0015
osgi.framework.extensions=reference\:file\:org.eclipse.osgi.compatibility.state_1.0.100.v20150402-1551.jar
osgi.bundles.defaultStartLevel=4
eclipse.p2.data.area=file\:/Users/gavin/.p2/
eclipse.application=org.eclipse.ui.ide.workbench
David Festal
@davidfestal
Feb 29 2016 15:54
(at least that's what I would do)
so you saw these 2 profiles in the Oomph Analysis dialog?
Gavin King
@gavinking
Feb 29 2016 15:56
well, yes, they appear to be
David Festal
@davidfestal
Feb 29 2016 15:56
By the way in the Bundle Pools preferences, you can check the "Show profiles" check box
you should see them also
could you try the Refresh button ?
Gavin King
@gavinking
Feb 29 2016 15:57
can I just delete the profile _Users_gavin_eclipse_java-mars-ceylon-release_Eclipse.app_Contents_Eclipse
David Festal
@davidfestal
Feb 29 2016 15:57
don't know, it depends what it contents
you should check how many
Gavin King
@gavinking
Feb 29 2016 15:58
it’s greyed out anyway
David Festal
@davidfestal
Feb 29 2016 15:58
artifacts it contains
Gavin King
@gavinking
Feb 29 2016 15:58
where even did it come from?
David Festal
@davidfestal
Feb 29 2016 15:58
ah greyed
Don't know
I assume yes
All this is so obscure
Then, in the Analysis view
where you have your 2 remaining profiles
Gavin King
@gavinking
Feb 29 2016 15:59
but what created it in the first place?
David Festal
@davidfestal
Feb 29 2016 16:00
a previous Eclipse install ?
don't know
Gavin King
@gavinking
Feb 29 2016 16:00
oh i see that is a filesystem path!
ok
David Festal
@davidfestal
Feb 29 2016 16:00
So
Gavin King
@gavinking
Feb 29 2016 16:01
to a nonexistent install of eclipse
the underscores tripped me up
David Festal
@davidfestal
Feb 29 2016 16:01
could you filter the artifacts to display the "Unused"
artifacts
(list box at the left, just under the artifact list)
that might be interesting
Gavin King
@gavinking
Feb 29 2016 16:02
ok
and?
delete ‘em?
David Festal
@davidfestal
Feb 29 2016 16:03
The only unused artifacts I have are the 1.2.1 Ceylon distribution jars
Gavin King
@gavinking
Feb 29 2016 16:03
I have lots
David Festal
@davidfestal
Feb 29 2016 16:03
I would like to see the list of unused you have
Gavin King
@gavinking
Feb 29 2016 16:03
68
copy/paste no work on that screen
David Festal
@davidfestal
Feb 29 2016 16:03
Are there the required ceylon archives, as well as org.eclipsejdt.debug ???
Gavin King
@gavinking
Feb 29 2016 16:04
there are
android stuff
EMF stuff
GEF stuff
oomph stuff
PDE stuff
David Festal
@davidfestal
Feb 29 2016 16:04
they should have been associated to your used profiles
Gavin King
@gavinking
Feb 29 2016 16:04
jandex 1.0.3.Final
log manager 1.4.0.Final
David Festal
@davidfestal
Feb 29 2016 16:05
but visibly were associated to the wrong profile
Gavin King
@gavinking
Feb 29 2016 16:05
jboss modules 1.3.3.Final
David Festal
@davidfestal
Feb 29 2016 16:05
that corresponded to a non-existing-anymore installation
Gavin King
@gavinking
Feb 29 2016 16:05
they are just older versions AFAICT
David Festal
@davidfestal
Feb 29 2016 16:05
in my installation, all this is associated to the only one profile I have
Gavin King
@gavinking
Feb 29 2016 16:05
the latest version are associated with both profiles
David Festal
@davidfestal
Feb 29 2016 16:06
Ah, you have also the good ones associated to the right profiles ?
Gavin King
@gavinking
Feb 29 2016 16:06
they are just old obsolete versions of shit
David Festal
@davidfestal
Feb 29 2016 16:06
Ah, OK
Gavin King
@gavinking
Feb 29 2016 16:06
probably from the old profile i deleted
i will delete em
David Festal
@davidfestal
Feb 29 2016 16:06
Yeah, that might hekp
and maybe restart Eclipse with the
Gavin King
@gavinking
Feb 29 2016 16:07
gone
David Festal
@davidfestal
Feb 29 2016 16:07
-clean option
eclipse -clean
Gavin King
@gavinking
Feb 29 2016 16:07
what does that do?
David Festal
@davidfestal
Feb 29 2016 16:08
one second
clean the p2 caches, etc ... but let me check
-clean
Cleans cached data used by the OSGi framework and Eclipse runtime. Try to run Eclipse once with this option if you observe startup errors after install, update, or using a shared configuration.
David Festal
@davidfestal
Feb 29 2016 16:37
@gavinking : did the cleaning fix things ?
Gavin King
@gavinking
Feb 29 2016 16:38
well i have other errors now
David Festal
@davidfestal
Feb 29 2016 16:38
which are ?
Gavin King
@gavinking
Feb 29 2016 16:38
I’m pretty much giving up at this point
Access restrictions and other stuff
David Festal
@davidfestal
Feb 29 2016 16:38
OK :-(
send them to me anyway. I'll see if I can do something
if you want
so the bundles are found now at least...?
Gavin King
@gavinking
Feb 29 2016 16:39
shrug no clue
I have hundreds of errors
400 or so
David Festal
@davidfestal
Feb 29 2016 16:40
^^
don't understand what's going on there
The Eclipse environment is broken it seems
well don't know
anyway, you still can make a gist for me again
David Festal
@davidfestal
Feb 29 2016 16:46
Seems that you still have some bundles that are not correctly installed in your profile
do you really need 2 profiles ?
a mars.1 and a mars.2 installation ?
Gavin King
@gavinking
Feb 29 2016 17:00
probably not
it’s not like i created them myself
David Festal
@davidfestal
Feb 29 2016 17:01
yes, I know
Gavin King
@gavinking
Feb 29 2016 17:29
@davidfestal do I need to uninstall the Ceylon Full Distribution Feature?
and the Ceylon IDE Common Code Feature
and the Java To Ceylon Converter Feature
just leaving the - Binary Dependencies stuff?
David Festal
@davidfestal
Feb 29 2016 17:57
Not necessarily.
Gavin King
@gavinking
Feb 29 2016 17:58
ok
well, yeah, i give up then
i deleted the mars.1 installation
and its oomph profile
but i still have hundreds of errors
David Festal
@davidfestal
Feb 29 2016 18:00
Sorry, I'm eating now. Should be back tonight.
Gavin King
@gavinking
Feb 29 2016 18:02
ok
I guess i could try deleting eclipse and reinstalling from scratch...
David Festal
@davidfestal
Feb 29 2016 18:09
In this case also delete the famous .p2 folder :smile:
Gavin King
@gavinking
Feb 29 2016 22:20
After totally deleting and reinstalling everything, it is working finally :-/
Gavin King
@gavinking
Feb 29 2016 22:59
@davidfestal ceylon/ceylon-ide-eclipse#1707