Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5AA237DFE for ; Fri, 9 Dec 2011 16:19:49 +0000 (UTC) Received: (qmail 2827 invoked by uid 500); 9 Dec 2011 16:19:49 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 2793 invoked by uid 500); 9 Dec 2011 16:19:49 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 2785 invoked by uid 99); 9 Dec 2011 16:19:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 16:19:49 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.85.173.253] (HELO server.dankulp.com) (64.85.173.253) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 16:19:43 +0000 Received: by server.dankulp.com (Postfix, from userid 5000) id D13B418448E; Fri, 9 Dec 2011 11:19:22 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter-dev@camel.apache.org.nyDh2SrGRd Received: from dilbert.dankulp.com (c-24-91-72-253.hsd1.ma.comcast.net [24.91.72.253]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id B696B18448E; Fri, 9 Dec 2011 11:19:21 -0500 (EST) From: Daniel Kulp To: dev@camel.apache.org Cc: Claus Ibsen Subject: Re: code snippets broken on confluence wiki Date: Fri, 09 Dec 2011 11:19:20 -0500 Message-ID: <3339689.Q6uFjpYZLi@dilbert.dankulp.com> User-Agent: KMail/4.7.3 (Linux/3.0.1; KDE/4.7.3; x86_64; ; ) In-Reply-To: <9133285.V0kODYn1sW@dilbert.dankulp.com> References: <9133285.V0kODYn1sW@dilbert.dankulp.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Old-Spam-Status: No, score=-102.9 required=3.0 tests=ALL_TRUSTED,BAYES_00, SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.3.1 On Friday, December 09, 2011 11:03:09 AM Daniel Kulp wrote: > Hmmm... the sync source is broken as well: >=20 > https://cwiki.apache.org/CAMEL/seda.html >=20 > I'll force a rebuild of the page and see if that helps. A full re-export of the space seems to have fixed it. Thus, the next = sync=20 should be all set. Likely an issue between the Confluence and SVN ser= ver on=20 that particular day or something. Dan >=20 > Dan >=20 > On Friday, December 09, 2011 4:53:34 PM Claus Ibsen wrote: > > Hi > >=20 > > Thanks for reporting. > >=20 > > You can try browsing the source code on trunk and find the unit tes= t > > that provided the snippet tags for the wiki documentation. > > What happens sometime is that an unit test gets refactored, and the= n > > the wiki pages may get out of sync. > >=20 > > However in this case it was not the case. > >=20 > > The dynamic page is correct > > https://cwiki.apache.org/confluence/display/CAMEL/SEDA > >=20 > > The sync from cwiki -> html runs once in a while, so I guess Apache= > > ought to get the page properly updated. > >=20 > > On Fri, Dec 9, 2011 at 4:41 PM, Reuben Garrett >=20 > wrote: > > > Greetings! > > >=20 > > > I'm working on a Camel-based integration project and am contribut= ing > > > to > > > the documentation by proof-reading as I go. I noticed today that= > > > some > > > code snippets are "broken" - e.g. on the SEDA > > > page < > > > http://camel.apache.org/seda.html> > > >=20 > > > Wiki markup such as the following: > > > {snippet:id=3De1|lang=3Djava|url=3Dcamel/trunk/camel-core/src/tes= t/java/or > > > g/ap ache/camel/component/seda/SedaAsyncRouteTest.java} > > >=20 > > > =E2=80=A6 produces this error message: > > > Error formatting macro: snippet: > > > java.lang.IndexOutOfBoundsException: > > > Index: 20, Size: 20 > > >=20 > > > I'm not sure if this is the correct forum to target the issue - b= ut > > > I am committed to Apache, and in particular I want to build up an= d > > > promote Camel as an EIP leader. Is there a way I can resolve thi= s > > > error? > > >=20 > > > Regards, > > > Reuben Garrett --=20 Daniel Kulp dkulp@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com