Thanks for the help, we're off to a good start!  One of my goals is to make
sure the bug I encountered is reproduced in the test suite, and then fixed
after the code change.  Otherwise it will just break again.

The problem with IDE-only is that inevitably there's a test that somebody
was running in their IDE that isn't being tested by CI.  So I wanted to
first make sure that I can do the command-line build, and my next step was
to get the IDE stuff going.  Here is how I normally do that when I
contribute to something:

- look in the README
- it points me to https://www.eclipse.org/swt/fixbugs.php, which doesn't
say anything about the command-line build
- a lot of the links on this page are out-of-date, which makes me question
if the instructions are accurate or not
    - Tools link points to Eclipse 3.5
    - Javadoc points to Eclipse Luna
    - Community has CVS links to the Fox widget port
    - Contact Us points to defunct mailing lists
- this makes me not trust this link, so I go to the next link in the
README: https://projects.eclipse.org/projects/eclipse.platform.swt/developer
- this link says "This project is archived. Some links on this page may not
work."
- the next link in the README is the defunct
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
- so next I go to CONTRIBUTING
    - which is how I found out about this list

I appreciate the help on the IDE stuff - I can get it running in an IDE.
But I'm still not able to run the command-line build.

In my opensource projects, I try to make the repo self-sufficient.
External links to wikis and webpages and forums tend to go stale, so I try
to make sure that all the information that anyone needs to run the build is
right there in the repo.  If someone wants to improve the instructions,
they don't need to get admin on some wiki or forum, they can just update
the repo.

As an example:
https://github.com/diffplug/goomph/blob/master/CONTRIBUTING.md

So three questions:

1) Would this be a welcome contribution?  If I update the README and
CONTRIBUTING to be self-sufficient, rather than pointing out to external
websites which are difficult for outside contributors to keep up-to-date?
2a) How to I build at the command line?  When I do `mvn help:describe`, I
get

[FATAL] Non-resolvable parent POM for
eclipse.platform.swt:eclipse.platform.swt:4.14.0-SNAPSHOT: Could not find
artifact org.eclipse:eclipse-platform-parent:pom:4.14.0-SNAPSHOT and
'parent.relativePath' points at wrong local POM @ line 16, column 11
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project
eclipse.platform.swt:eclipse.platform.swt:4.14.0-SNAPSHOT
(/Users/ntwigg/Documents/dev/eclipse.platform.swt/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for
eclipse.platform.swt:eclipse.platform.swt:4.14.0-SNAPSHOT: Could not find
artifact org.eclipse:eclipse-platform-parent:pom:4.14.0-SNAPSHOT and
'parent.relativePath' points at wrong local POM @ line 16, column 11 -> [

2b) Where can I see what CI is doing?  If I want to duplicate a CI result
on my machine, how do I go about that?

Ned Twigg
Lead Software Architect, DiffPlug LLC
540-336-8043 (cell)
888-513-6870 (fax)
340 S Lemon Ave #3433, Walnut, CA 91789

ᐧ

On Fri, Oct 4, 2019 at 10:45 AM Ed Merks <ed.me...@gmail.com> wrote:

> Ned,
>
> If it's an issue of setting up a local development environment that can be
> done automatically:
>
>   https://wiki.eclipse.org/Eclipse_Platform_SDK_Provisioning
>
> SWT is a bit tricky, with some renaming involved to set up the classpath
> in an OS-specific way, but that's handled automatically by the setup.
>
> The above will clone way more projects than you really need, but you can
> go back after the initial automatic selection, selectively choose which
> projects to actually clone; this particular setup chooses all the Eclipse
> SDK projects by default.  You would actually only need the SWT project for
> your focused purpose, but it's super useful to have clones of all projects
> of the Eclipse SDK so that you can contribute anywhere and change anything.
>
> Take note of the instructions about getting a Gerrit account and changing
> the clone URIs to be Gerrit Read/Write URIs so that you can commit to
> Gerrit when you want to contribute later.
>
> Regards,
> Ed
>
>
> On 04.10.2019 18:35, Ned Twigg wrote:
>
> Hello!  I really like SWT.  I like contributing to open source, and I have
> a hard time contributing to SWT.  I would like to help make it easier to
> contribute.
>
> I found and documented a simple bug two years ago.
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=520488
>
> Today, Niraj very generously supplied a fix, but he cannot test it because
> he doesn't have a mac.  I figured the least I could do was help test it,
> but I cannot get the build to work.  I tried to follow the
> README/CONTRIBUTING, but it seems that a lot of the info there is stale.
>
> Is there anyone who can help get me setup?  I will document the process,
> and update the README / CONTRIBUTING.  I also plan to run a GitHub mirror
> with public CI, so that it is easier for people like me to at least get
> started with contributing back to SWT.
>
> Ned Twigg
> Lead Software Architect, DiffPlug LLC
> 540-336-8043 (cell)
> 888-513-6870 (fax)
> 340 S Lemon Ave #3433, Walnut, CA 91789
> ᐧ
>
> _______________________________________________
> platform-dev mailing listplatform-...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visithttps://www.eclipse.org/mailman/listinfo/platform-dev
>
> _______________________________________________
> platform-dev mailing list
> platform-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/platform-dev
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to