Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Distribution of custom patches.

Never tried that. We ship the entire CDT in our fork. Was just easier.

On 13-07-22 9:03 PM, "Joseph Henry" <Joseph.Henry@xxxxxxx> wrote:

>I was able to build using maven 3.0.5. But since I am unable to get the
>fragment method to work for me my question now is, is there a small
>subset of plugins I can fork and build to be distributed using our own
>update site? I really don't want to distribute the entire CDT repo.
>
>Sent from my iPhone
>
>On Jul 19, 2013, at 10:49 AM, "Marc-André Laperle"
><marc-andre.laperle@xxxxxxxxxxxx> wrote:
>
>> Yup! I tested with both Maven versions and it worked fine.
>> 
>> Marc-Andre
>> 
>> On Fri, 19 Jul 2013 14:46:03 +0000
>> Doug Schaefer <dschaefer@xxxxxxx> wrote:
>> 
>>> Excellent. Thanks, Marc-Andre. Does it work with mvn 3.0 as well as
>>> 3.1?
>>> 
>>> Doug.
>>> ________________________________________
>>> From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on
>>> behalf of Marc-André Laperle [marc-andre.laperle@xxxxxxxxxxxx] Sent:
>>> Friday, July 19, 2013 10:43 AM To: cdt-dev@xxxxxxxxxxx
>>> Subject: Re: [cdt-dev] Distribution of custom patches.
>>> 
>>> On that subject, I have already tested building CDT with the staged
>>> Tycho 0.18.1 so it should be a quick upgrade after it's released.
>>> 
>>> Marc-Andre
>>> 
>>> On Fri, 19 Jul 2013 10:40:55 -0400
>>> Marc-André Laperle <marc-andre.laperle@xxxxxxxxxxxx> wrote:
>>> 
>>>> Tycho doesn't work with 3.1.0 yet, it will be when 0.18.1 is out
>>>> next week.
>>>> 
>>>> On Fri, 19 Jul 2013 14:36:47 +0000
>>>> Joseph Henry <Joseph.Henry@xxxxxxx> wrote:
>>>> 
>>>>> Sorry,
>>>>> 
>>>>> Maven is 3.1.0 not 3.0.1
>>>>> 
>>>>> From: cdt-dev-bounces@xxxxxxxxxxx
>>>>> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Doug Schaefer
>>>>> Sent: Friday, July 19, 2013 10:02 AM To: cdt-dev@xxxxxxxxxxx; CDT
>>>>> General developers list. Subject: Re: [cdt-dev] Distribution of
>>>>> custom patches.
>>>>> 
>>>>> I didn't think that but maybe.
>>>>> 
>>>>> Sent from my BlackBerry 10 smartphone on the Rogers network.
>>>>> From: Madan Teodor-TEMADAN1
>>>>> Sent: Friday, July 19, 2013 9:57 AM
>>>>> To: CDT General developers list.
>>>>> Reply To: CDT General developers list.
>>>>> Subject: Re: [cdt-dev] Distribution of custom patches.
>>>>> 
>>>>> 
>>>>> AFAIK, Maven 3.0.4 is required.
>>>>> Teo
>>>>> 
>>>>> From:
>>>>> cdt-dev-bounces@xxxxxxxxxxx<mailto:cdt-dev-bounces@xxxxxxxxxxx>
>>>>> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Joseph Henry
>>>>> Sent: Friday, July 19, 2013 16:50 To: CDT General developers list.
>>>>> Subject: Re: [cdt-dev] Distribution of custom patches.
>>>>> 
>>>>> Ok,
>>>>> 
>>>>> So that is what I tried, but when I got to build with Maven I get
>>>>> this exception
>>>>> 
>>>>> 
>>>>> Exception in thread "main" java.lang.NoSuchMethodError:
>>>>> 
>>>>>org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/son
>>>>>atype/aether/RepositorySystemSession;
>>>>> at
>>>>> 
>>>>>org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRea
>>>>>lmHelper.java:86)
>>>>> at
>>>>> 
>>>>>org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMe
>>>>>tadata(P2TargetPlatformResolver.java:158)
>>>>> at
>>>>> 
>>>>>org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(P
>>>>>2TargetPlatformResolver.java:140)
>>>>> at
>>>>> 
>>>>>org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupPr
>>>>>oject(DefaultTychoDependencyResolver.java:76)
>>>>> at
>>>>> 
>>>>>org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProje
>>>>>ctsRead(TychoMavenLifecycleParticipant.java:56)
>>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
>>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153) at
>>>>> org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) at
>>>>> org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at
>>>>> org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
>>>>> 
>>>>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>>>>>ava:57)
>>>>> at
>>>>> 
>>>>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>>>>>orImpl.java:43)
>>>>> at java.lang.reflect.Method.invoke(Method.java:601) at
>>>>> 
>>>>>org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launc
>>>>>her.java:290)
>>>>> at
>>>>> 
>>>>>org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java
>>>>>:230)
>>>>> at
>>>>> 
>>>>>org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Lau
>>>>>ncher.java:414)
>>>>> at
>>>>> 
>>>>>org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:3
>>>>>57)
>>>>> 
>>>>> Any ideas?
>>>>> 
>>>>> This is Maven 3.0.1
>>>>> jdk1.7.0_21 (64 bit)
>>>>> 
>>>>> From:
>>>>> cdt-dev-bounces@xxxxxxxxxxx<mailto:cdt-dev-bounces@xxxxxxxxxxx>
>>>>> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Doug Schaefer
>>>>> Sent: Monday, July 15, 2013 10:20 AM To: CDT General developers
>>>>> list. Subject: Re: [cdt-dev] Distribution of custom patches.
>>>>> 
>>>>> We actually fork the CDT for our post Juno SR-2 changes. We clone
>>>>> the repo and make our local changes on a branch. We then build the
>>>>> CDT's p2 repo using Maven. And that feed that into the rest of our
>>>>> product build chain. As long as you change the qualifier so it's
>>>>> after the CDT's (e.g. prefix them with a letter), you should be
>>>>> able to get your users to point their Eclipse at that repo to get
>>>>> your version.
>>>>> 
>>>>> Patching jar files is probably not the right way to do that.
>>>>> 
>>>>> Doug.
>>>>> 
>>>>> From: Joseph Henry
>>>>> <Joseph.Henry@xxxxxxx<mailto:Joseph.Henry@xxxxxxx>> Reply-To: "CDT
>>>>> General developers list."
>>>>> <cdt-dev@xxxxxxxxxxx<mailto:cdt-dev@xxxxxxxxxxx>> Date: Monday, 15
>>>>> July, 2013 3:59 PM To: "CDT General developers list."
>>>>> <cdt-dev@xxxxxxxxxxx<mailto:cdt-dev@xxxxxxxxxxx>> Subject:
>>>>> [cdt-dev] Distribution of custom patches.
>>>>> 
>>>>> Hi all,
>>>>> 
>>>>> My company has a custom Eclipse CDT integration for our
>>>>> development environment.
>>>>> 
>>>>> We are using Eclipse Juno with CDT version 8.1.2. We recently
>>>>> encountered 2 core CDT bugs
>>>>> (408525<https://bugs.eclipse.org/bugs/show_bug.cgi?id=408525>,
>>>>> 407506<https://bugs.eclipse.org/bugs/show_bug.cgi?id=407506>)
>>>>> which block usage of our plugin.
>>>>> 
>>>>> We have internally patched the associated CDT jars for 8.1.2, but
>>>>> I need a way to easily distribute them throughout our company.
>>>>> Right now we are just naming the jars the same and telling users
>>>>> that they need to download the jar and copy it to there eclipse
>>>>> directory. This is quite cumbersome, and with over 300 users, it
>>>>> is a bit of a support nightmare.
>>>>> 
>>>>> I was wondering if anyone knew of a way to distribute these
>>>>> patched jars via a feature update site?
>>>>> 
>>>>> I have tried building the jars and making my plugin distribute
>>>>> them, but eclipse wont accept the jar if it is already in the
>>>>> plugin folder with the same name, and if the name is different,
>>>>> the CDT does not recognize it.
>>>> 
>>>> _______________________________________________
>>>> cdt-dev mailing list
>>>> cdt-dev@xxxxxxxxxxx
>>>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>>> 
>>> _______________________________________________
>>> cdt-dev mailing list
>>> cdt-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>>> _______________________________________________
>>> cdt-dev mailing list
>>> cdt-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>> 
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>_______________________________________________
>cdt-dev mailing list
>cdt-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top