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 4827518558 for ; Mon, 1 Feb 2016 08:56:12 +0000 (UTC) Received: (qmail 37952 invoked by uid 500); 1 Feb 2016 08:55:37 -0000 Delivered-To: apmail-groovy-dev-archive@groovy.apache.org Received: (qmail 37906 invoked by uid 500); 1 Feb 2016 08:55:37 -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 37896 invoked by uid 99); 1 Feb 2016 08:55:37 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2016 08:55:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0E8B4C074E for ; Mon, 1 Feb 2016 08:55:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.9 X-Spam-Level: ** X-Spam-Status: No, score=2.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id tbJ5QoS95PbA for ; Mon, 1 Feb 2016 08:55:23 +0000 (UTC) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id F0AA831AF8 for ; Mon, 1 Feb 2016 08:55:22 +0000 (UTC) Received: by mail-io0-f181.google.com with SMTP id 9so70688205iom.1 for ; Mon, 01 Feb 2016 00:55:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=KYMMlF+YryOmxBYX/Bgo/SYX3ZAki92WbeQS1J6d2M4=; b=U0K8vzTZKdWW1NKnIWmedbER5gCFQQ95rtMJFyjshATFpchXRYBbVVBiirYaQYze6m Ge8ABhPix5QodZhwDXWZhzS2a8krVQMEwmq7taWL8jUg1ntzEsqe+syv6Tn+g3pCdsPU pZxp+IRxGCpBFeuJ6wNy4Cukya8gIc/6v1k3uu+fkDFVMNX7YXqOeSdzX/vAtlqjX0+i m8TIAJxFLagWnHHQzkeuw4B/GVbVr4QDoZY6YqXfNduOX2DjMKnSqXk5LPyMHhNxwiIq QlxinLFwp0uQinMuCynIzAulOV6A6ojwo2UpG2s9eRVFoKBcMAG8fxuh/vYb8Xnr+zua qtkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=KYMMlF+YryOmxBYX/Bgo/SYX3ZAki92WbeQS1J6d2M4=; b=ZfR0boe7F/Ajh/yCOy0Eg9R5d4cp0lDDNnO8ZBztZcaWi3A0RYS1fI2ZxBrUW1VwR0 VckKEjF9NmbRziiAuzoNnX8nu7TCOHqXQ7hP61EvfrYfcyheEDOn2s09+rm09h8/25B8 fXN8GOfg+qzjk/CZLrDuFaCiXjwBxnmfXTIJJqkC1ZxyhGo3btzWZeCmAMOsupxr9lmw w35fLAZwLn+0C4C/I88eLToIfUxKIeQ3iXHYBI+A0zjO0c79PHnra7j9gmbM4Qg6faqH kRt9QS++zL/Eubw3tOuujOs1EVliIIX1AB63AzbNp2AFHFJCGdmnrzgzrTN/u9vLhlVr 2riQ== X-Gm-Message-State: AG10YOR84pfwJRe/LqxWO/F0HLm/bkAoj37gI85SAVw34ZX5BtHI2lQW6FVyvr1EMRYw1jMyXoxKSQu1rqRKvg== MIME-Version: 1.0 X-Received: by 10.107.130.15 with SMTP id e15mr936360iod.175.1454316921940; Mon, 01 Feb 2016 00:55:21 -0800 (PST) Received: by 10.36.143.5 with HTTP; Mon, 1 Feb 2016 00:55:21 -0800 (PST) In-Reply-To: References: Date: Mon, 1 Feb 2016 09:55:21 +0100 Message-ID: Subject: Re: API document generation From: Andres Almiray To: dev@groovy.apache.org Content-Type: multipart/alternative; boundary=001a113f99b285f1ce052ab18b70 --001a113f99b285f1ce052ab18b70 Content-Type: text/plain; charset=UTF-8 Well, Groovydoc is a parallel API inspired by Javadoc, so retrofitting would entail grabbing the real Javadoc tooling API and adding extension points that can handle Groovy syntax such as understanding properties, closures and other stuff (such as default values in method parameters IIRC). ------------------------------------------- Java Champion; Groovy Enthusiast http://jroller.com/aalmiray http://www.linkedin.com/in/aalmiray -- What goes up, must come down. Ask any system administrator. There are 10 types of people in the world: Those who understand binary, and those who don't. To understand recursion, we must first understand recursion. On Mon, Feb 1, 2016 at 9:51 AM, Peter Ledbrook wrote: > I'm afraid not. Javadoc is a very specific tool that looks exclusively >> into Java sources. >> My experience in the past extending Groovydoc tells me the only way to >> integrate with Javadoc tooling and doclets is to embrace and extend the >> Javadoc API. >> > > How feasible is it to retrofit Groovydoc to the Javadoc API do you think? > I assume that's what you're saying, if not necessarily recommending. > > Peter > --001a113f99b285f1ce052ab18b70 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Well, Groovydoc is a parallel API inspired by Javadoc, so = retrofitting would entail grabbing the real Javadoc tooling API and adding = extension points that can handle Groovy syntax such as understanding proper= ties, closures and other stuff (such as default values in method parameters= IIRC).

-------------------------------------------
Java = Champion; Groovy Enthusiast
http://jroller.com/aalmiray
http://www.linkedin.com/in/aalmiray=
--
What goes up, must come down. Ask any system administrator.There are 10 types of people in the world: Those who understand binary, a= nd those who don't.
To understand recursion, we must first understan= d recursion.

On Mon, Feb 1, 2016 at 9:51 AM, Peter Ledbro= ok <peter@cacoethes.co.uk> wrote:
=
I'm afraid not. Ja= vadoc is a very specific tool that looks exclusively into Java sources.
=
My experience in the past extending Groovydoc tells me the only way t= o integrate with Javadoc tooling and doclets is to embrace and extend the J= avadoc API.

How feasible is it= to retrofit Groovydoc to the Javadoc API do you think? I assume that's= what you're saying, if not necessarily recommending.

Peter=C2=A0

--001a113f99b285f1ce052ab18b70--