Skip to content

Commit 750109f

Browse files
committed
Improve the setup
- Add tasks for windows to create a wwwd.sh for launching the IDE with an augment PATH that includes Node.js and Git which is needed by the Maven task in order to build the project's content. - Add a badge link to the setup configuration the CONTRIBUTING.md.
1 parent d3a5388 commit 750109f

2 files changed

Lines changed: 36 additions & 1 deletion

File tree

CONTRIBUTING.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ Latest builds, for testing, can usually be found at `https://download.eclipse.or
3535

3636
### Prerequisites
3737

38-
Java 21 and Maven 3.9.6 (only if you want to build from the command-line), or newer.
38+
Java 21 and Maven 3.9.12 (only if you want to build from the command-line), or newer.
39+
40+
### 🧙 Setting up the Development Environment Automatically
41+
42+
You can set up a pre-configured IDE for contribution to Eclipse Wild Web Developer using the following link:
43+
44+
[![Create Eclipse Development Environment for the Eclipse SDK](https://download.eclipse.org/oomph/www/setups/svg/Wild_Web_Developer.svg)](https://www.eclipse.org/setups/installer/?url=https://raw.githubusercontent.com/eclipse-wildwebdeveloper/wildwebdeveloper/master/setup/WWDConfiguration.setup&show=true "Click to open Eclipse-Installer Auto Launch or drag onto your running installer's title area")
3945

4046
### ⌨️ Setting up the Development Environment manually
4147

setup/WWD.setup

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,35 @@
377377

378378
</content>
379379
</setupTask>
380+
<setupTask
381+
xsi:type="setup:CompoundTask"
382+
filter="(osgi.os=win32)">
383+
<setupTask
384+
xsi:type="setup:VariableTask"
385+
type="FOLDER"
386+
name="node.location"
387+
label="Node.js Installation Location"
388+
link="https://nodejs.org/en/download">
389+
<description>The location of the Node.js installation on this device.</description>
390+
</setupTask>
391+
<setupTask
392+
xsi:type="setup:VariableTask"
393+
name="git.location"
394+
defaultValue="C:\Program Files\Git"
395+
label="Git Installation Location"
396+
link="https://git-scm.com/install/windows">
397+
<description>The location of Git installation on this device.</description>
398+
</setupTask>
399+
<setupTask
400+
xsi:type="setup:ResourceCreationTask"
401+
targetURL="${installation.location|uri}/${installation.relativeProductFolder}/wwd2.sh">
402+
<content>
403+
#!/bin/bash
404+
export PATH=&quot;${node.location|cygpath}/:${git.location|cygpath}/mingw64/bin:${git.location|cygpath}/usr/bin:$PATH&quot;
405+
./eclipse.exe $*
406+
</content>
407+
</setupTask>
408+
</setupTask>
380409
<stream name="master"
381410
label="Master">
382411
<setupTask

0 commit comments

Comments
 (0)