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

21st
Dec 2016
Bill O'Neil
@billoneil
Dec 21 2016 02:23
im still having issues with getting sources to work in eclipse :(
the jar of this class belongs to Ceylon project modules which does not allow modifications to source attachments
module test "1.0.0" {
    import java.base "8";
    import maven: "io.undertow:undertow-core" "1.4.7.Final";
    import maven: "org.slf4j:slf4j-api" "1.7.21";
}
Bill O'Neil
@billoneil
Dec 21 2016 02:33
i tried deleting and creating a new project and everything
Bill O'Neil
@billoneil
Dec 21 2016 03:02
I also ran "reset source attachmentsā€¯ and no go
Bill O'Neil
@billoneil
Dec 21 2016 03:27
cant figure this out at all
Bill O'Neil
@billoneil
Dec 21 2016 03:56
ok more info
apparently its my eclipse
It is just not downloading the source files by default
I turned on auto download sources / java doc in the eclipse config still not working
also turned on
    <profile>
      <id>sources-and-javadocs</id>
      <properties>
        <downloadSources>true</downloadSources>
        <downloadJavadocs>true</downloadJavadocs>
      </properties>
    </profile>
  </profiles>

  <activeProfiles>
    <activeProfile>sources-and-javadocs</activeProfile>
  </activeProfiles>
in my settings.xml
Bastien Jansen
@bjansen
Dec 21 2016 05:52
I think there's a bug with maven dependencies, their sources aren't downloaded correctly in eclipse
I noticed it and completely forgot to fix it
Gavin King
@gavinking
Dec 21 2016 12:47
@bjansen oh, I didn't know about that one! @davidfestal did you?
David Festal
@davidfestal
Dec 21 2016 12:48
well, not really
oh, yes, that might be this one : ceylon/ceylon-ide-eclipse#1828
is it what you meant @bjansen ?
Bastien Jansen
@bjansen
Dec 21 2016 13:05
yep
David Festal
@davidfestal
Dec 21 2016 13:05
do you think you could fix it ?
Bastien Jansen
@bjansen
Dec 21 2016 13:06
sure
David Festal
@davidfestal
Dec 21 2016 13:06
I'm curretly in the mean of a quite big change ...
Bastien Jansen
@bjansen
Dec 21 2016 13:06
I believe it broke when namespaces were added
David Festal
@davidfestal
Dec 21 2016 13:07
Yeah, probably
Thanks !
Bill O'Neil
@billoneil
Dec 21 2016 13:07
If i knew anything about eclipse plugin development I would take a look. However I have never touched one :(