Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 18420 invoked from network); 12 Feb 2001 16:24:15 -0000 Received: from unknown (HELO ?195.115.98.1?) (195.115.98.1) by h31.sny.collab.net with SMTP; 12 Feb 2001 16:24:15 -0000 Received: from maileu.imediation.com by [195.115.98.1] via smtpd (for h31.sny.collab.net [64.208.42.41]) with SMTP; 12 Feb 2001 17:23:56 UT Received: (private information removed) Message-ID: <9B3E950CB293D411ADF4009027B0A4D291F71C@maileu.imediation.com> From: Stephane Bailliez To: ant-dev@jakarta.apache.org Subject: RE: 2nd Beta Date: Mon, 12 Feb 2001 16:28:08 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C09510.C888FC90" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ------_=_NextPart_000_01C09510.C888FC90 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C09510.C888FC90" ------_=_NextPart_001_01C09510.C888FC90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Pfffew, that was close, the JJTree doc was half written when I saw your post. For Conor, here is the doc for MParse. It is deprecated anyway, it was coded to run with MParse 1.1. I didn't = test it because I don't have 1.1 available in my computer and it would = certainly ruin my 2.0 install. Change are required to make it work with 2.0. lib changed and = parameters are differents. This should not be a big problem to make a task for 2.0 but I think = that there is about 10% of the current code that will be used for 2.0.... = That will be a complete rewrite. Should we do that during beta 2 stage ? --=20 St=E9phane Bailliez=20 Software Engineer, Paris - France=20 iMediation - http://www.imediation.com=20 Disclaimer: All the opinions expressed above are mine and not those = from my company.=20 > -----Original Message----- > From: Michael Saunders [mailto:michael@amtec.com] > Sent: Monday, February 12, 2001 4:52 PM > To: ant-dev@jakarta.apache.org > Subject: Re: 2nd Beta >=20 >=20 > Conor, >=20 > Attached is the doc for jjtree. It doesn't give much more=20 > than the available > options but I guess it is better that nothing. >=20 > Michael >=20 > Conor MacNeill wrote: > >=20 > > I will be producing a second beta in a few days. I am=20 > currently waiting on > > the following > >=20 > > 1. Updated documentation for wlrun and wlstop (me) > > 2. Updated element in VAJ tasks (Glenn) > > 3. Update to tar in 1.3 branch and decision about=20 > omit/truncate (Sam) > > 4. javah documentation (I have mailed the author) > > 5. mparse documentation (Stephane?) > >=20 > > Would someone like to document the task please? How = about > > ? > >=20 > > Once the beta is tagged, I will merge the latest changes=20 > into the MAIN > > trunk. > >=20 > > This second beta will be the release candidate unless there=20 > are some major > > bugs reported. I'll probably extend the release plan by a=20 > few days to give > > everyone enough time to hit it. > >=20 > > Conor > >=20 > >=20 > --------------------------------------------------------------------- > > To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: ant-dev-help@jakarta.apache.org >=20 ------_=_NextPart_001_01C09510.C888FC90 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: 2nd Beta

Pfffew, that was close, the JJTree doc was half = written when I saw your post.

For Conor, here is the doc for MParse.

It is deprecated anyway, it was coded to run with = MParse 1.1. I didn't test it because I don't have 1.1 available in my = computer and it would certainly ruin my 2.0 install.

Change are required to make it work with 2.0. lib = changed and parameters are differents.
This should not be a big problem to make a task for = 2.0 but I think that there is about 10% of the current code that will = be used for 2.0.... That will be a complete rewrite.

Should we do that during beta 2 stage ?

--
 St=E9phane Bailliez
 Software Engineer, Paris - France
 iMediation - http://www.imediation.com
 Disclaimer: All the opinions expressed above = are mine and not those from my company.



> -----Original Message-----
> From: Michael Saunders [mailto:michael@amtec.com]
> Sent: Monday, February 12, 2001 4:52 PM
> To: ant-dev@jakarta.apache.org
> Subject: Re: 2nd Beta
>
>
> Conor,
>
> Attached is the doc for jjtree. It doesn't give = much more
> than the available
> options but I guess it is better that = nothing.
>
> Michael
>
> Conor MacNeill wrote:
> >
> > I will be producing a second beta in a few = days. I am
> currently waiting on
> > the following
> >
> > 1. Updated documentation for wlrun and = wlstop (me)
> > 2. Updated <project> element in VAJ = tasks (Glenn)
> > 3. Update to tar in 1.3 branch and = decision about
> omit/truncate (Sam)
> > 4. javah documentation (I have mailed the = author)
> > 5. mparse documentation (Stephane?)
> >
> > Would someone like to document the = <starteam> task please? How about
> > <jjtree> ?
> >
> > Once the beta is tagged, I will merge the = latest changes
> into the MAIN
> > trunk.
> >
> > This second beta will be the release = candidate unless there
> are some major
> > bugs reported. I'll probably extend the = release plan by a
> few days to give
> > everyone enough time to hit it.
> >
> > Conor
> >
> >
> = ---------------------------------------------------------------------
> > To unsubscribe, e-mail: = ant-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: = ant-dev-help@jakarta.apache.org
>

  ------_=_NextPart_001_01C09510.C888FC90-- ------_=_NextPart_000_01C09510.C888FC90 Content-Type: text/html; name="mparse.html" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mparse.html" JavaCC Task

MParse

Requirements

This task requires Metamata Development environment 1.1. It does not = work as is with the latest 2.0 version freely available at Metamata.

Description

=20

Invokes the Metamata MParse compiler=20 compiler on a grammar file.

To use the mparse task, set the target attribute to the = name of the=20 grammar file to process. You also need to specify the directory = containing=20 the Metamata installation using the metamatahome attribute, so = that Ant=20 can find the MParse classes.

This task only invokes MParse if the grammar file is newer than the = generated=20 Java files. MParse assumes that the Java class name of the generated = parser is the same as the name of the grammar file, less the .jj extension.

For additional information about MParse, please consult the online = manual available here (PDF)

Parameters

Attribute Description Required
target The .jj grammar file to process. It will only be = processed if the grammar is newer than the corresponding .java file. Yes
metamatahome The home directory containing the Metamata = distribution. Yes
workingdir The temporary directory used by MParse. Yes
cleanuphack Remove the stale file as well as the = intermediate Sun JavaCC file created during the transformation of the grammar = file. No. Default to false.

Nested elements

userclasspath

 The userclasspath element is required and represents = a PATH like structure.

Example

  <mparse target=3D"src/Parser.jj" =
metamatahome=3D"c:/metamata" =
workingdir=3D"c:/tmp">
    <userclasspath>
      <pathelement location=3D"./lib/dependency.jar"/>
    </userclasspath>
  </mparse>

This invokes Metamata MParse installed in c:/metamata on a = grammar file src/Parser.jj with a working directory in c:/tmp and a specific classpath


------_=_NextPart_000_01C09510.C888FC90--