How to build kulla
Mani Sarkar
sadhak001 at gmail.com
Sat Jun 27 10:23:11 UTC 2015
Hi Robert,
For now we can keep it as a separate file people can download and place it
in the respective folder to run and generate the .jar file.
Maybe a make file equivalent of it that creates a jar is an option.
As far as JShell is concerned, I dont think we need to do anything with
regards to our build on CloudBees, I will soon be merging the two builds
jobs to produce a kulla.jar once the openjdk9 build is complete.
More on this later.
Cheers,
Mani
On Wed, Jun 24, 2015 at 6:34 AM, Robert Field <robert.field at oracle.com>
wrote:
> Hi Mani,
>
> I'm open to what others think, but my first thinking is that as we move
> towards integrating Kulla into JDK9 we will need to move towards removing
> all the JShell specific build stuff.
>
> It is a great resource to have. And I'll make use of it or its products.
> I don't know how it would fit into a generic JDK9 world.
>
> Thanks,
> Robert
>
>
>
> On 06/23/15 21: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!*
>>
>
>
>
> --
> @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!*
>
>
>
--
@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!*
More information about the adoption-discuss
mailing list