Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 53833 invoked by uid 500); 18 Jun 2003 10:56:23 -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 53817 invoked from network); 18 Jun 2003 10:56:22 -0000 Received: from moutng.kundenserver.de (212.227.126.184) by daedalus.apache.org with SMTP; 18 Jun 2003 10:56:22 -0000 Received: from [212.227.126.161] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19Sac2-00071v-00 for user@ant.apache.org; Wed, 18 Jun 2003 12:56:22 +0200 Received: from [217.88.241.135] (helo=cyberspaceroad.com) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19Sac2-0003rw-00 for user@ant.apache.org; Wed, 18 Jun 2003 12:56:22 +0200 Message-ID: <3EF0451C.3060600@cyberspaceroad.com> Date: Wed, 18 Jun 2003 12:55:24 +0200 From: Adam Hardy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en MIME-Version: 1.0 To: user@ant.apache.org Subject: changing a java package name to a directory path References: <1055933179.38189.ezmlm@ant.apache.org> In-Reply-To: <1055933179.38189.ezmlm@ant.apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I would like to create a directory path from a property containing a java package name. e.g.: org.foo.bar to org/foo/bar Is there a way of doing this in Ant? I'm using JAXB (the xml binding 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 package name, e.g. org.foo.bar, to create. It's this property I need to convert into a path so I can check if it's in comparison with the xml schema. Thanks in advance for any help, Adam --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org