Return-Path: Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 44735 invoked from network); 8 Aug 2003 12:41:18 -0000 Received: from out1.smtp.messagingengine.com (HELO mail.messagingengine.com) (66.111.4.25) by daedalus.apache.org with SMTP; 8 Aug 2003 12:41:18 -0000 Received: from mail.messagingengine.com (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id BBA248CBBB for ; Fri, 8 Aug 2003 08:41:18 -0400 (EDT) Received: from 10.202.2.150 ([10.202.2.150] helo=mail.messagingengine.com) by messagingengine.com with SMTP; Fri, 08 Aug 2003 08:41:18 -0400 X-Epoch: 1060346478 X-Sasl-enc: jitlpoXa63/9dgneZowdaA Received: from cerviche (gandolf.har.mrc.ac.uk [193.63.70.234]) by www.fastmail.fm (Postfix) with ESMTP id 509328CBCD for ; Fri, 8 Aug 2003 08:41:18 -0400 (EDT) Message-ID: <034201c35daa$614cc330$2ff1f682@har.mrc.ac.uk> Reply-To: "Rob Oxspring" From: "Rob Oxspring" To: "Jakarta Commons Developers List" References: <245A7290F0E0D311BF6E009027E7908B0720474D@ATLANTA> Subject: [CLI] XML -> CLI (was Re: Three month contribution to Commons?) Date: Fri, 8 Aug 2003 13:41:23 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N There has been talk on a few occasions that there should be a way to get build a CLI interface from an XML definition but this is the first time I've thought about it in any detail. I'd always figured that the xml->cli transformation would take place at runtime but the comment from Gary seems to suggest otherwise. So what do people have in mind? Is the xml2cli transformation people are thinking of a compile-time or runtime operation? What sort of functionality should be produced by the transformation? - would the transformed code just present a CommandLine object for the client code to query or would the code call specified methods on the client code? Does anyone have an example of the sort of xml fragment they might expect to use? I mainly just want to ponder briefly about what would be needed by the core API and see if my cli2 proposal will be able to cope. (I'm aiming to have a new drop of my proposal ready sometime over the weekend so I'll let people play with the new ideas and pass comment then). Rob ----- Original Message ----- From: "Gary Gregory" To: "'Jakarta Commons Developers List'" ; Sent: Thursday, August 07, 2003 7:26 PM Subject: RE: Three month contribution to Commons? > As you mentioned CLI, if you look at CLI messages yesterday or the day > before on this list you'll see that there is a CLI 2.0 in the works but it > seems that there are two main branches and approaches. I have not done work > deep in CLI but I use it (version 1.0). > > Perhaps there is something there for you to do? Perhaps the two authors of > CLI branches would like to comment or get help from you? > > From my end, one thing I would like a future CLI to be able to do is to > define a CLI from an XML file such that CLI can generate Java code, Javadoc > and HTML docs. But I'm just dreamin' here... ;-) > > Gary >