Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] m2e-core sources in Eclipse

Everything is expected to work with default workspace created by 3.8M4,
no additional configuration should be necessary.

--
Regards,
Igor

On 12-01-17 9:10 AM, Matthew Piggott wrote:
You may need to set a target platform

2012/1/16 Rafał Krzewski <Rafal.Krzewski@xxxxxxxxx
<mailto:Rafal.Krzewski@xxxxxxxxx>>

    Okaaay, that's embarassing :) I was looking at the new wiki, at
    http://wiki.eclipse.org/Category:M2E and I couldn't see the
    developers guide entry. Sure enough it is in there.
    It did not occur to me to look at the old wiki, I thought all m2e
    documentation was migrated to Eclipse.

    Back to the build problem - I think I did pretty much the same
    thing, but I've installed Tycho connector before importing m2e-core.
    Shouldn't make a difference, but who knows...
    I'll start from a clean slate and follow the dev guide to be sure.

    Cheers,
    Rafał



    On 01/16/2012 11:39 PM, Igor Fedorenko wrote:
    What do you mean by "m2e core developer's guide appears to be gone
    from
    the wiki"? The old wiki is still in place [1] and it there is a
    link to
    the new wiki [2] right at the top.

    [1] https://docs.sonatype.org/display/M2ECLIPSE/Developer+Guide
    [2] http://wiki.eclipse.org/M2E_Development_Environment

    --
    Regards,
    Igor

    On 12-01-16 4:52 PM, Rafał Krzewski wrote:
    Hi,

    I've imported current m2e-core sources to use as reference, but I
    have a
    problem to get the to compile cleanly.
    I am getting a bunch of classpath errors saying that SWT classes
    cannot
    be found on the classpath:

    The project was not built since its build path is incomplete. Cannot
    find the class file for org.eclipse.swt.graphics.Image. Fix the
    build
    path then try building this project
    The type org.eclipse.swt.graphics.Image cannot be resolved. It is
    indirectly referenced from required .class files
    ...

    Command line build works fine.

    Am I missing something obvious?

    My environment:

    JDK 1.6.0_26, Linux/GTK x86_64
    Eclipse SDK 3.8.0.I20111209-1447 (3.8M4)
    m2e - Maven Integration for Eclipse 1.1.0.20111210-1509
    m2e - Extensions Development Support (Optional) 1.1.0.20111210-1509
    Tycho Project Configurators 0.6.0.201112050222
    m2e connector for modello 0.14.0.201109270543

    I've checked out m2e-core master, at
    69bf9f4d8b656318084aa69fee2a7f9abb4531cf
    I did git clean -fdx and imported all project using 'Import existing
    Maven projects'

    I wouldn't be bothering you, but m2e core developer's guide
    appears to
    be gone from the wiki ;)

    Cheers,
    Rafał


Back to the top