Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 74954 invoked by uid 500); 18 Jun 2003 11:07:24 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 74760 invoked from network); 18 Jun 2003 11:07:22 -0000 Received: from dnsinet.rzf-nrw.de (193.109.238.66) by daedalus.apache.org with SMTP; 18 Jun 2003 11:07:22 -0000 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.9/8.12.9) with ESMTP id h5IB7IBT006585 for ; Wed, 18 Jun 2003 13:07:18 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2653.19) id ; Wed, 18 Jun 2003 13:07:19 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B5608FF6AB4@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: AW: changing a java package name to a directory path Date: Wed, 18 Jun 2003 13:07:19 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C33589.C92E9210" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C33589.C92E9210 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Use of Ant-Contrib gave me main: [echo] package =3D org.apache.tools.ant [echo] path =3D org/apache/tools/ant BUILD SUCCESSFUL Ant-Contrib: Homepage: http://sourceforge.net/projects/ant-contrib/ CVS-Source: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ant-contrib/ant-contrib/s= rc/n et/sf/antcontrib/ CVS-Manual: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ant-contrib/ant-contrib/m= anua l/index.html =09 http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/ant-contrib/an= t-co ntrib/manual/tasks/index.html Binary: http://gump.covalent.net/jars/latest/ant-contrib/ Jan > -----Urspr=FCngliche Nachricht----- > Von: Adam Hardy [mailto:adam.ant@cyberspaceroad.com] > Gesendet am: Mittwoch, 18. Juni 2003 12:55 > An: user@ant.apache.org > Betreff: changing a java package name to a directory path >=20 > Hi, >=20 > I would like to create a directory path from a property=20 > containing a=20 > java package name. >=20 > e.g.: >=20 > org.foo.bar to org/foo/bar >=20 > Is there a way of doing this in Ant? I'm using JAXB (the xml binding=20 > package). I created a task to run its executable xjc, which creates a = > package of java classes from an xml schema. You have to give it a=20 > package name, e.g. org.foo.bar, to create. It's this property=20 > I need to=20 > convert into a path so I can check if it's in=20 > comparison with=20 > the xml schema. >=20 > Thanks in advance for any help, >=20 > Adam >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 ------_=_NextPart_001_01C33589.C92E9210--