Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Fwd: com.google.gson dependency



On Fri, Oct 9, 2015 at 11:48 AM, Doug Schaefer <dschaefer@xxxxxxx> wrote:
That’s not exactly true. CDT has dependencies on RSE and org.eclipse.remote. The Arduino libraries use the Apache compress and freemarker bundles from Orbit as well. Qt depends on ANTLR out of Orbit And I have a feeling that they will also add dependencies on JSDT since QML is an extension of _javascript_.

So, no. We need to get used to CDT using bundles out of Orbit. There are great things there. And it doesn’t make sense to duplicate those things in our repo (and doing that isn’t looked on favourably by the simrel folks). I have a similar structure to yours where we mirror everything we depend on into a local p2 repo. It’s easy to pick out individual bundles out of different p2 repos to do that. I can share more details if you need.

I'm using a weird ant-based script to download pieces of p2 repositories. If you know of a better technology, sharing it would definitely be helpful.

Doug.

-sergey 

From: <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Sergey Prigogin <eclipse.sprigogin@xxxxxxxxx>
Reply-To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Date: Friday, October 9, 2015 at 2:31 PM

To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] Fwd: com.google.gson dependency

Until now downloadable CDT p2 repository was self contained and could install without access to other p2 repositories. Dependency on Gson changes that. Should the gson plugin be packaged in the downloadable CDT repository?

-sergey

On Fri, Oct 9, 2015 at 6:45 AM, Doug Schaefer <dschaefer@xxxxxxx> wrote:
I do it because of gson. It’s awesome at inflating Java objects from JSON files and visa versa. I use it for all my persistence on all the projects I work on (lots outside Eclipse lately).

I’d content there’s no good reason not to. It’s easy to pull gson out of the mars repo. I do that for our Momentics product builds. Sounds like others have figured it out too.

Doug.

From: <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Sergey Prigogin <eclipse.sprigogin@xxxxxxxxx>
Reply-To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Date: Thursday, October 8, 2015 at 5:16 PM
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>

Subject: Re: [cdt-dev] Fwd: com.google.gson dependency

I don't think there is a good reason to store ScannerInfoData in JSON format while everything else in Eclipse is stored as XML.

-sergey

On Thu, Oct 8, 2015 at 12:59 PM, Doug Schaefer <dschaefer@xxxxxxx> wrote:
Anyway, the point may be moot. I may not need JSON anyway. I've so far managed to be able to use properties for everything. You could simply remove the dependency too for now. Because if I followed through, it wouldn't be very optional. ;)

Doug.


From:cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Doug Schaefer [dschaefer@xxxxxxx]
Sent: Thursday, October 08, 2015 3:57 PM

To: CDT General developers list.
Subject: Re: [cdt-dev] Fwd: com.google.gson dependency

Strange, because com.google.gson is in the Mars simrel repo. It should install when you install the CDT.

I mean it's hosted in Orbit. The Tycho build pulls it out of there when it does a build.

Doug.


From:cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Sergey Prigogin [eclipse.sprigogin@xxxxxxxxx]
Sent: Thursday, October 08, 2015 3:53 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Fwd: com.google.gson dependency

CDT fails to start on Eclipse 4.5 because co.google.gson is missing. What does "pulling gson right out of Orbit" mean?

-sergey

On Thu, Oct 8, 2015 at 12:49 PM, Doug Schaefer <dschaefer@xxxxxxx> wrote:
OK, what's the issue there? I'm pulling gson right out of Orbit which should be available to everyone.


From:cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Sergey Prigogin [eclipse.sprigogin@xxxxxxxxx]
Sent: Thursday, October 08, 2015 3:46 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Fwd: com.google.gson dependency

I'm going to make it an optional dependency for now.

-sergey

On Thu, Oct 8, 2015 at 12:45 PM, Sergey Prigogin <eclipse.sprigogin@xxxxxxxxx> wrote:
Are you saying that this plugin is included in the Eclipse platform? If so, what versions? I see it in 4.6 but not in 4.5.

-sergey

On Thu, Oct 8, 2015 at 12:38 PM, Doug Schaefer <dschaefer@xxxxxxx> wrote:
Ah, right. I'm have some JSON working for the new build system which is in cdt.core.

No feature dependency is necessary. The plug-in dependency should be enough.

Doug


From:cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Sergey Prigogin [eclipse.sprigogin@xxxxxxxxx]
Sent: Thursday, October 08, 2015 2:27 PM
To: Doug Schaefer
Cc: CDT General developers list.
Subject: [cdt-dev] Fwd: com.google.gson dependency

Hi Doug,

The com.google.gson dependency was added to org.eclipse.cdt.core but I don't see any feature dependency that would install the com.google.gson plugin. Where is this dependency supposed to come from?

-sergey


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



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


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


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


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


Back to the top