How to build kulla

dalibor topic dalibor.topic at oracle.com
Wed Jun 24 11:49:01 UTC 2015


Afaict, most of the authors listed at 
http://neomatrix369.gitbooks.io/adoptopenjdk-getting-started-kit/ don't 
have an OCA on file, fwiw.

cheers,
dalibor topic

On 24.06.2015 06:51, Mani Sarkar wrote:
> Hi Robert,
>
> On that note, would something like this maven script a good contribution to
> the kulla project. It'll helps create a ~600KB portable .jar file to run
> and play with and only needs a JDK9 runtime for it to work.
>
> Cheers,
> Mani
>
> On Tue, Jun 23, 2015 at 9:57 PM, Mani Sarkar <sadhak001 at gmail.com> wrote:
>
>> Hi Robert,
>>
>> No worries, we have a mvn pom.xml file which already does that = produces
>> a JAR, see
>> http://neomatrix369.gitbooks.io/adoptopenjdk-getting-started-kit/content/en/openjdk-projects/kulla-pom-xml.html
>> .
>>
>> It also powers our Adopt OpenJDK Cloudbees build farm for Kulla -
>> https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK/job/langtools-1.9-linux-x86_64-kulla-dev/
>>
>> I'll add this as part of our regular OpenJDK9 build and that way wont need
>> to build an extra instance.
>>
>> Cheers,
>> Mani
>>
>> On Sun, Jun 21, 2015 at 9:42 PM, Robert Field <robert.field at oracle.com>
>> wrote:
>>
>>>
>>> On 06/21/15 12:06, Mani Sarkar wrote:
>>>
>>> Hi Martijn, Robert,
>>>
>>>   This is good news, I should get my head around this soon and have
>>> something in place using your suggestions.
>>>
>>>
>>> Wonderful!
>>>
>>>
>>>   @Robert - we still like to extract the classes and produce a .jar file
>>> so that others can download it from our CI servers, does the mechanism to
>>> do that remains the same. Or are you also saying that the make clean images
>>> creates a .jar file in the build folder alongside the images folder (JDK
>>> and JRE).
>>>
>>>
>>> make images does not produce this JAR.
>>>
>>> The mechanism would not be the same because instead of using an external
>>> jline you would bundle up both the jshell and jline files from the make
>>> images.  The script compile.sh should provide good info about which files
>>> are needed, but it does so from the source perspective, I'd think you would
>>> just want to grab "make images" class files and stuff 'em in a JAR.  If
>>> that doesn't fall in place for you, I could take a look tomorrow.  Let us
>>> know how we can help.
>>>
>>> Thanks!
>>> Robert
>>>
>>>
>>>
>>>
>>>   Cheers.
>>> Mani
>>>
>>> On Sun, Jun 21, 2015 at 7:44 PM, Martijn Verburg <
>>> martijnverburg at gmail.com> wrote:
>>>
>>>> Hi Robert,
>>>>
>>>>   We should be able to help.  I'm a little out of action at present, but
>>>> hopefully Mani sees this and will get the build up and running.
>>>>
>>>>   Cheers,
>>>> Martijn
>>>>
>>>> On 21 June 2015 at 19:20, Robert Field <robert.field at oracle.com> wrote:
>>>>
>>>>>    Yep.
>>>>>
>>>>> Executed with: jshell
>>>>>
>>>>> -R
>>>>>
>>>>> On June 21, 2015 10:48:30 AM Martijn Verburg <martijnverburg at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Robert,
>>>>>>
>>>>>>   Does this mean for the kulla-dev forest I could go:
>>>>>>
>>>>>>   hg clone <url for kulla-dev>
>>>>>> ./get_source.sh
>>>>>> make clean images
>>>>>>
>>>>>>   And the REPL will be available?
>>>>>>
>>>>>>
>>>>>>
>>>>>>   Cheers,
>>>>>> Martijn
>>>>>>
>>>>>> On 21 June 2015 at 00:42, Robert Field <robert.field at oracle.com>
>>>>>> wrote:
>>>>>>
>>>>>>>   Dear Mani, Martijn,
>>>>>>>
>>>>>>> Thank you for this work.
>>>>>>>
>>>>>>> Kulla (aka JShell) has moved quite a ways now towards being ready to
>>>>>>> merge into JDK9.  Jline is now integrated into the jdk side of the Kulla
>>>>>>> repo.  This version of jline has been made more platform independent (no
>>>>>>> longer requiring the external native libraries).  JShell now uses this.
>>>>>>>
>>>>>>> As a result the unit of a Kulla/JShell build is now a full JDK
>>>>>>> build.  Would it be possible to do full Kulla JDK builds now?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Robert
>>>>>>>
>>>>>>>
>>>
>>
>>
>> --
>> @theNeomatrix369 <http://twitter.com/theNeomatrix369>*  |  **Blog
>> <http://neomatrix369.wordpress.com>**  |  *LJC Associate & LJC Advocate
>> (@adoptopenjdk & @adoptajsr programs)
>> *Meet-a-Project - *MutabilityDetector
>> <https://github.com/MutabilityDetector>*  |  **Bitbucket
>> <https://bitbucket.org/neomatrix369>* * |  **Github
>> <https://github.com/neomatrix369>* * |  **LinkedIn
>> <http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b>*
>> *Come to Devoxx UK 2016:* http://www.devoxx.co.uk/
>>
>> *Don't chase success, rather aim for "Excellence", and success will come
>> chasing after you!*
>>
>
>
>

-- 
<http://www.oracle.com> Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
<tel:+491737185961>

ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher

<http://www.oracle.com/commitment> Oracle is committed to developing
practices and products that help protect the environment


More information about the kulla-dev mailing list