[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: src.zip, demos and samples in java idk
From: |
Hartmut Goebel |
Subject: |
Re: src.zip, demos and samples in java idk |
Date: |
Fri, 16 Sep 2016 16:47:10 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Am 03.09.2016 um 16:04 schrieb Ludovic Courtès:
>> > Shall I move these to "doc" or to a new output (e.g. "examples").
> It would make sense to move them to “doc”, indeed; we’ve done it in
> other packages.
I tried, but did not manage. Building eat 3,8 GB of temp-space, then
failed due to the ram-disk being out of space.
For somebody else wanting to work on this: I assume adding these lines
to patch-paths phase should move the demo and sample into the docs.
+ ;; install demo and sample code into docs
+ (substitute* "openjdk.src/jdk/make/common/Defs.gmk"
+ (("^DEMODIR[ \t]+=.*/demo$")
+ "DEMODIR = $(OUTPUTDIR)/docs$(DOCSDIRSUFFIX)/demo\n")
+ (("^SAMPLEDIR[ \t]+=.*/sample$")
+ "DEMODIR = $(OUTPUTDIR)/docs$(DOCSDIRSUFFIX)/sample\n"))
I'm not going to work on this any longer. I've spend two hours
scrabbling about the targets within this source and each try did take
another half an hour - and then failed due to out of disk-space. This
confirms my opinion about the poor quality of Java software.
--
Regards
Hartmut Goebel
| Hartmut Goebel | address@hidden |
| www.crazy-compilers.com | compilers which you thought are impossible |