Return-Path: X-Original-To: apmail-groovy-dev-archive@minotaur.apache.org Delivered-To: apmail-groovy-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9CC918723 for ; Mon, 1 Feb 2016 16:03:09 +0000 (UTC) Received: (qmail 35700 invoked by uid 500); 1 Feb 2016 16:03:09 -0000 Delivered-To: apmail-groovy-dev-archive@groovy.apache.org Received: (qmail 35659 invoked by uid 500); 1 Feb 2016 16:03:09 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Received: (qmail 35649 invoked by uid 99); 1 Feb 2016 16:03:09 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2016 16:03:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C7829C0DB3 for ; Mon, 1 Feb 2016 16:03:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id gE2kvfcNO046 for ; Mon, 1 Feb 2016 16:03:07 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 4190F2096C for ; Mon, 1 Feb 2016 16:03:06 +0000 (UTC) Received: from [192.168.1.121] ([195.141.68.118]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LwXCt-1a094H2Zxv-018MzU for ; Mon, 01 Feb 2016 17:02:58 +0100 Subject: Re: API document generation To: dev@groovy.apache.org References: <036A33DB-5F16-4F7B-A640-8873D310E908@msgilligan.com> From: Jochen Theodorou Message-ID: <56AF81B1.7000501@gmx.org> Date: Mon, 1 Feb 2016 17:02:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <036A33DB-5F16-4F7B-A640-8873D310E908@msgilligan.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:VV8YkjZ26+DDG6oXEg2xwayzGi3GUeFz52sDowmAK5LLIxBZowE bdzPz3iwhCh0JrfnY2cNgEaEcU8X0FUThWTHRHfe1Bh2cGgg0/mo/uAkr08wsn9hs9CJNJb Jot29uUdo5nt+V5wFZvXo9HtlyjJChNTtAlNYEdL6dxnXKWFgQHE7ipj9Q3mPCucnHS8ooT A0Tz14z52jWn7IxmTP1+Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:UHeYfE16Yg8=:en2R+4kO8gtc/p9SuqEbtU AhGKM9+RPeiOhqsLyBhJQNHNzwpFvl/mRKEWELxIJKU+7zQ4TeNcliwYxZezHuhFARZaxPnck kfs9l0up28VfzTMfCWsRwiKGSVzjS1qTutZMAVAINs5epYCKTiOJ2jglcQnyjZ/ZITUlGQWzf kXn3ktJykgDwGiBkhlOLQFM08Wl1F6wg4kwEEd3WnJj0lM3TIJ/MgPIyKn22t8rsTGennBUtt cSM9pYUwCHzzOgKXg5WDRLaYu4AANKHtK1smO7ZOAluoUbh9B6nx36K8+WbLnmwngDFoNFjEy 1Kx3FfdhDP1/nllBOj1MGeJ+vNw2A3UJKoq/2y470aDaCoMIEDP54ogSCfMgrvHCIvF8P+2bR VlKWm0dRSR6yzOqv20XtbbQTRostvTBoiLlgi+UmLGhRrmt9ny/1IwYopSZ5dGOTnSWf/+ej3 dZB9LenCCp2YelqMArJ1auFKXoHWPFK9iYQyhYVA1BT1tdqH3+fbOWeKZbdXQLdctkViJsZ8L aIhhA2GE1iLfeOgQfzjW3AcLjbXCz3XsO9OHR1HUvfzyfwHrVgU59QhPttO6UH6AGLCxRNoI0 HM2VkLgQpMsb5w7Y5F/N+h/i3rF3GrYYxqdhYoTZ9faY2e355dl7gPg18kakdozvNuIkbDP+f 3opCC+5XFGrk9rtcOWvcndq+f470aoI7feRh4ENdkqtzfEQF8AbOu94fVAwJac9CcVZ+zSREh ozd2ad2YxafYhmrSVDFpcPi82At32xoT6M+a55PEGdoO6AX+Bz8T20dVi3r0Ri4dlut7qEcFY xi7+6Cj On 01.02.2016 16:13, Sean Gilligan wrote: > >> >> I'm also wondering whether others think groovydoc is just fine as it is, > > It's not fine. In my opinion it's one of the biggest frustrations with Groovy. Especially the fact that you can't use it for both Java (7+) and Groovy. > > And Asciidoclet support would be awesome! we can write a doctool, that can process Groovy and java... maybe even other languages. And such a tool could then have asciidoc support of course. I could even imagine supporting existing doclets to some extend.... But hooking into javadoc to make it know a new language is painful. Because it means to hook into the javac compiler, produce an ast the compiler understands and then not having proper support for extension methods and properties or any other thing that goes beyond what java offers. And on top of that... you are handling internal classes, which may change in any version of java... and with jdk9 modules they might not even be normally available anymore. For basically the same reasons I gave up on a javac based joint compiler for Groovy. bye Jochen