Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [n4js-dev] Add new plugin to target platform

I have successfully added the dependency and added some documentation.
Maybe you want to have a look at the diff:


Does this seem ok for you? Note that all the comments a lost in N4JS.setup, since I used the setup editor to add stuff there. Do we need the comments?

Cheers,
Jens

On 10. Dec 2019, at 12:50, Jens von Pilgrim <developer@xxxxxxxxx> wrote:

Dear Sebastian,


On 10. Dec 2019, at 09:17, Sebastian Zarnekow <sebastian.zarnekow@xxxxxxxxx> wrote:
the target is generated from the declared dependencies of the plugins / features, so you have a chicken-egg situation I suppose.

I know. 

What I assume is that you could add the installation units to the setup as an extra units.

This is what I did. At least what I was hoping that I did. But….

After running oomph you should see lsp4e.debug in the target platform and it should be possible to use it. 

that did not work.

Subsequently the extra units should be removed again.

What do you mean by that?

Cheers,
Jens



Best
Sebastian
<Screenshot 2019-12-10 at 09.16.34.png>
--
Sebastian Zarnekow
Saskatoon Str 33 | 14513 Teltow
Tel: 0151 / 1739 6724


On Mon, Dec 9, 2019 at 6:09 PM Jens von Pilgrim <developer@xxxxxxxxx> wrote:
Hi all,

I haven’t done it in a while, so I need some help.

I want to add a new plugin to the target platform, so that we can use it e.g. in the runners.
To be more concrete, it is the org.eclipse.lsp4e.debug plugin.

I have added the plug in to the N4JS.setup file as follows:

<setupTask
      xsi:type="setup.p2:P2Task"
      label="LSP4E">
    <requirement
        name="org.eclipse.lsp4e.debug"
        versionRange="[0.10.0,0.12.1)"/>
    <repository
        url=""https://download.eclipse.org/lsp4e/releases/0.12.0" target="_blank" class="">https://download.eclipse.org/lsp4e/releases/0.12.0/"/>
  </setupTask>

and also as repository:

<repository
            url=""https://download.eclipse.org/lsp4e/releases/0.12.0" target="_blank" class="">https://download.eclipse.org/lsp4e/releases/0.12.0"/>

Running the set up tasks shows me that something is downloaded.

However, it is not added to the targetplatform file org.eclipse.n4js.targetplatform.target

What do I miss?

Cheers,

Jens

PS We need LSP4E for implementing the debugger, since LSP4E already allows for debugging node.js applications using the VSC node-js DAP plugin.

_______________________________________________
n4js-dev mailing list
n4js-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/n4js-dev
_______________________________________________
n4js-dev mailing list
n4js-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/n4js-dev

_______________________________________________
n4js-dev mailing list
n4js-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/n4js-dev


Back to the top