Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] checking out Eclipse WTP code

Hi Mukul,

toolchains.xml is a MVN concept[1]. It should live in ~/.m2/toolchains.xml.

I have attached my one that I use on Ubuntu.

HTH,
Jonah

[1] https://maven.apache.org/ref/3.3.9/maven-core/toolchains.html
~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On 28 March 2017 at 12:22, Mukul Gandhi <gandhi.mukul@xxxxxxxxx> wrote:
> Hi Patrik,
>    Thanks for your reply.
>
> Can you please let me know, what details need to be provided in the
> toolchains.xml file? Is there an example available. What do you mean by,
> "pointing to old JREs"?
>
> On 28 March 2017 at 13:58, Patrik Suzzi <psuzzi@xxxxxxxxx> wrote:
>>
>> Mukul,
>>
>> The WTP build is explained here:
>> https://wiki.eclipse.org/WTP/Build/CBI_Build.
>>
>> Summarizing, you should:
>>
>> 1. Clone recursively from WTP releng repo
>>
>> git clone --recursive
>> http://git.eclipse.org/c/webtools/webtools.releng.aggregator.git
>>
>> 2. Setup your toolchains.xml in <home>/.m2/toolchains.xml, pointing to old
>> JREs.
>>
>> 3. Build with maven clean verify, and ignore errors, if any.
>>
>> mvn clean verify -Pbree-libs
>>
>>
>> I just edited the page fixing a broken repository url.
>> Please, let me know if this works.
>>
>> Best regards,
>>
>> Patrik Suzzi
>> Consultant Software Engineer,
>> Eclipse Platform Committer
>> https://about.me/psuzzi
>>
>> On 28 March 2017 at 08:27, Mukul Gandhi <gandhi.mukul@xxxxxxxxx> wrote:
>>>
>>> Hello,
>>>    I'm planning to check out Eclipse WTP code from eclipse.org's
>>> repository, to do some hands on with the WTP build locally.
>>>
>>> Can anyone point me to the relevant repository and the commands.
>>>
>>>
>>> --
>>> Regards,
>>> Mukul Gandhi
>>>
>>> _______________________________________________
>>> wtp-dev mailing list
>>> wtp-dev@xxxxxxxxxxx
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/wtp-dev
>>
>>
>>
>> _______________________________________________
>> wtp-dev mailing list
>> wtp-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/wtp-dev
>
>
>
>
> --
> Regards,
> Mukul Gandhi
>
> _______________________________________________
> wtp-dev mailing list
> wtp-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/wtp-dev
<?xml version="1.0" encoding="UTF8"?>
<toolchains>
  <toolchain>
     <type>jdk</type>
     <provides>
         <id>J2SE-1.4</id>
     </provides>
     <configuration>
        <jdkHome>/usr/lib/jvm/java-4-oracle/jre</jdkHome>
     </configuration>
  </toolchain>
  <toolchain>
     <type>jdk</type>
     <provides>
         <id>J2SE-1.5</id>
     </provides>
     <configuration>
        <jdkHome>/usr/lib/jvm/java-5-oracle/jre</jdkHome>
     </configuration>
  </toolchain>
  <toolchain>
     <type>jdk</type>
     <provides>
         <id>JavaSE-1.6</id>
     </provides>
     <configuration>
        <jdkHome>/usr/lib/jvm/java-6-oracle/jre</jdkHome>
     </configuration>
  </toolchain>
  <toolchain>
     <type>jdk</type>
     <provides>
         <id>JavaSE-1.7</id>
     </provides>
     <configuration>
        <jdkHome>/usr/lib/jvm/java-7-oracle/jre</jdkHome>
     </configuration>
  </toolchain>
  <toolchain>
     <type>jdk</type>
     <provides>
         <id>JavaSE-1.8</id>
     </provides>
     <configuration>
        <jdkHome>/usr/lib/jvm/java-8-oracle/jre</jdkHome>
     </configuration>
  </toolchain>
</toolchains>

Back to the top