Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Need some more current pointers for getting started on JDT projects

You don't need to clone/import Platform projects to work on JDT. If compilation failed you might not have a correct target platform because the target platform is what is used to resolve dependencies. Also even if most Platform or JDT projects contain pom.xml files you should import them as existing Eclipse projects.

I would recommend you to try Oomph setup (Eclipse Installer). https://www.eclipse.org/downloads/packages/
 * In Eclipse Installer select advanced mode
 * select Eclipse IDE for Eclipse Committers (Latest)
* on the next page you can select JDT projects and any other projects you are interested

Notes on some of your other points:
* If you get a timeout while cloning you can try it again. Those errors are usually temporarily. * The URLs on the Git Workflow page look outdated. In general Eclipse git repos are listed at https://git.eclipse.org/c/ and you can find clone URLs if you select a repo. * Regards the using http: as anonymous. You can clone from https: as anonymous. Anonymous only means you do not provide your username. (as required for ssh clone)

Best regards
Paul

PS: found a wiki page for Eclipse SDK Oomph setup.
https://wiki.eclipse.org/Eclipse_Platform_SDK_Provisioning
Maybe that helps too.


Am 12.08.2019 um 09:04 schrieb Richard Steiger:
[FYI, despite having reported and done a bit of investigation on https://bugs.eclipse.org/bugs/show_bug.cgi?id=518095, I'm still a total eclipse noob, so please go easy on anything stupid below.]

I have a few JDT experiments ("hacks") I want to try-out, and have been trying to follow the instructions in the various dev resources and guides, such as

  * eclipse.org/jdt/core/dev.php
  * wiki.eclipse.org/JDT_Core_Committer_FAQ
  * https://wiki.eclipse.org/JDT_Core_Programmer_Guide
  * eclipse.org/forums/index.php/f/13/
  * and numerous others.

The central problem (that's blocking me) is the fact that none of the above appear to be both current and correct, compounded by the fact that none of the docs have overt last-modified dates, nor major release level ranges.  I therefore invested a fair amount of time trying to build a JDT dev project going down multiple routes, only to discover that each was effectively an abandoned gopher-hole.  In more detail:

  * I tried to clone the repos listed in
    https://github.com/eclipse/eclipse.jdt.core; determined that maven
    can build all modules from the command-line with the
    -Pbuild-individual-bundles profile, but have yet to successfully
    import the modules into eclipse as a set of maven projects, since
    the project can't be compiled without the core eclipse
    infrastructure jars; attempting to extract them from the parent pom
    is a total crap-shoot, given its inherent complexity (else I might
    be on my way to at least prototyping the hacks, but miles from
    creating even a personal release);
  * I also tried cloning the repose listed in
    https://wiki.eclipse.org/Platform-releng/Git_Workflows (using http:
    as anonymous as instructed); the first 3 clones worked, but the next
    several crapped-out with timeouts, premature EOFs, or other faults;
    url #6
    (*ssh://userid@xxxxxxxxxxxxxxx:29418/jdt/eclipse.jdt.core.git*) with
    the magic *29418
    <ssh://userid@xxxxxxxxxxxxxxx:29418/jdt/eclipse.jdt.core.git>*
    segment alludes to this link being release-specific (viewing History
    doesn't pin-point what release the page presents, but the latest
    entry is back to '16
  * I was initially excited to find
    eclipse.platform.common-I20190808-1800, then tracked it to
    https://projects.eclipse.org/projects/eclipse.platform, only to find
    it's either not indexed there, or might be stale.

Any advice or live/good links to Getting Started docs would be most appreciated.

Thanks,

-rjs




Back to the top