Javadoc with new build [was Re: Build error on OSX]
Marc Petit-Huguenin
marc at petit-huguenin.org
Sat Oct 27 15:44:27 PDT 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
The patch seems to have been filtered, so trying again, inline:
diff -r 98bb7a8beb30 common/makefiles/Makefile
- --- a/common/makefiles/Makefile Tue Oct 16 11:09:03 2012 -0700
+++ b/common/makefiles/Makefile Sat Oct 27 15:05:18 2012 -0700
@@ -165,7 +165,7 @@
@$(if $(SJAVAC_SERVER_DIR),$(RM) -rf $(SJAVAC_SERVER_DIR)/*.port)
@$(call AtRootMakeEnd)
- -docs: start-make jdk docs-only
+docs: start-make images docs-only
docs-only:
@$(call MakeStart,docs,$@)
@($(CD) $(SRC_ROOT)/common/makefiles/javadoc && $(BUILD_LOG_WRAPPER) $(MAKE)
$(MAKE_ARGS) -f Javadoc.gmk docs)
diff -r 98bb7a8beb30 common/makefiles/javadoc/Javadoc.gmk
- --- a/common/makefiles/javadoc/Javadoc.gmk Tue Oct 16 11:09:03 2012 -0700
+++ b/common/makefiles/javadoc/Javadoc.gmk Sat Oct 27 15:05:18 2012 -0700
@@ -60,7 +60,8 @@
"-Xbootclasspath/p:$(JAVADOC_JAR)$(CLASSPATH_SEPARATOR)$(JAVAC_JAR)$(CLASSPATH_SEPARATOR)$(DOCLETS_JAR)"
\
-jar $(JAVADOC_JAR)
- -JAVADOC_CMD = javadoc
+JAVADOC_CMD = $(OUTPUT_ROOT)/images/j2sdk-image/bin/javadoc \
+ -J-Xmx1024m
# Copyright year for beginning of Java and some of the apis
# (Needed when creating the javadocs)
On 10/27/2012 03:14 PM, Marc Petit-Huguenin wrote:
> The attached patch contains an ugly workaround to build the javadoc from
> the new build (you may need to run "make docs" twice).
>
> That come too late for me - as now that MapStream is no longer in the API,
> JDK 1.8 becomes useless for my projects - but hopefully this will help
> someone else.
>
>
> On 09/29/2012 11:12 AM, Mike Duigou wrote:
>> Unfortunately the version of the new build files currently used by
>> lambda do not include javadoc support. It is still possible to build the
>> javadoc using the old build process. This will be fixed in the next sync
>> with jdk8 (which already has such support).
>
>> Mike
>
>> On Sep 29 2012, at 11:07 , Marc Petit-Huguenin wrote:
>
>> On 09/23/2012 11:16 AM, Mike Duigou wrote:
>>>>> This looks like a problem with the old build process.
>>>>>
>>>>> For the lambda repo we've almost entirely shifted over to the much
>>>>> simpler and faster build-infra build system. This is also
>>>>> happening because we expect that the old (existing) build system
>>>>> will be retired in jdk8 quite soon.
>>>>>
>>>>> cd common/makefiles sh ../autoconf/configure
>>>>> --with-boot-jdk=/Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home
>>>>>
>>>>>
>
>>>>>
>>>>>
> make images
>>>>>
>
>> I am not able to build the javadoc with the new process:
>
>> cd common/makefiles sh ../autoconf/configure --enable-docs make images
>
>> Anything I missed?
>
>> Thanks.
>
>
>
- --
Marc Petit-Huguenin
Email: marc at petit-huguenin.org
Blog: http://blog.marc.petit-huguenin.org
Profile: http://www.linkedin.com/in/petithug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJQjGPJAAoJECnERZXWan7EXz8P/0Lbcko7ZX3aio75tz7G0MnC
mBtrfByIqxDlN02weNXjvfC6x0ONnbaYRordHehlnBcB0FICZG6uClHDa3wAPM34
LwX05y+CUMrAeJiO62o6+86qAfK03fE1s2ML7KNZH1PVf2A46F8VkNNBElNOwSoh
i3IFUTa7yHSPjthQheATn3OQLanAvVDxQBJfge8ZXB4aTd6T6DKgwEsKj6rujlkx
flTOBv4sTURc0NKYWbHwSR9RkAJqynT8O2rp3HcHxs0sQb1+yTjxZ01mOQzf5rOA
nIPe5r6YSSQbMeslC+g4b5TRHI1eqIsUC1zHfcmMsLxzmslpA3fWybTdcPRR0HMB
HfYbZ4ZzFtJqRv5a3KjIVU/gGEJbwafCokdflt95+vXohlI3Fl+yZPupAzbFVTD9
bvgJNlEyO/SgZjzEfxM/H1AxkPBqp0piYLDfQLbun+WeAoh5vIWamQlCE6p1Vf+x
vKsnOIk/N1zCo7I7m9Ue/VMd7EpYxE3c69BVJNKA0d6IvKPbZdBqXL3NAxShXZB2
pkKdlqHLBchmOszcEMAmnoaNhvM1DAMlOeFhltrEbvWxLbIggOjS64YVgpNMV68B
43k0Hf0fpz2VVlCZEA2bMGNvrZK7ysNStHKCgXM7cnTAYa7HQhXuwESso9/qiraz
CRfdwsVe59MYMlae7EiJ
=obDT
-----END PGP SIGNATURE-----
More information about the lambda-dev
mailing list