Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 56683 invoked from network); 27 Aug 2004 15:24:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Aug 2004 15:24:22 -0000 Received: (qmail 67172 invoked by uid 500); 27 Aug 2004 15:24:08 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 67127 invoked by uid 500); 27 Aug 2004 15:24:07 -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 67113 invoked by uid 99); 27 Aug 2004 15:24:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [138.253.100.179] (HELO mx1.liv.ac.uk) (138.253.100.179) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 08:24:02 -0700 Received: from mailhub5.liv.ac.uk ([138.253.100.157]) by mx1.liv.ac.uk with esmtp (Exim 4.24) id 1C0ia9-0006FZ-6N for user@ant.apache.org; Fri, 27 Aug 2004 16:24:01 +0100 Received: from localhost.localdomain ([127.0.0.1] helo=mailhub5.liv.ac.uk) by mailhub5.liv.ac.uk with esmtp (Exim 4.24) id 1C0ia9-0000uh-4f for user@ant.apache.org; Fri, 27 Aug 2004 16:24:01 +0100 Received: from webmaila.liv.ac.uk ([138.253.100.226]) by mailhub5.liv.ac.uk with esmtp (Exim 4.24) id 1C0ia9-0000ue-35 for user@ant.apache.org; Fri, 27 Aug 2004 16:24:01 +0100 Received: from apache by webmaila.liv.ac.uk with local (Exim 4.24) id 1C0ia9-0006yl-13 for user@ant.apache.org; Fri, 27 Aug 2004 16:24:01 +0100 Received: from pc087097.mulcourt.liv.ac.uk (pc087097.mulcourt.liv.ac.uk [138.253.87.97]) by webmaila.liv.ac.uk (IMP) with HTTP Message-ID: <1093620240.412f52110180f@webmaila.liv.ac.uk> Date: Fri, 27 Aug 2004 16:24:01 +0100 From: A.Adeleke@liverpool.ac.uk To: user@ant.apache.org Subject: JFlex and CUP tasks definition MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.4 X-Originating-IP: 138.253.87.97 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Users, I have two basic problems with my build.xml file for a J2ME project. 1) I need to use JFlex and CUP to generate some java files, how can i define tasks for these and which directory would i put the .flex and .cup before performing the tasks. I actually need Ant to these tasks java JFlex.Main lexer.flex and java java_cup.Main < parser.cup 2)The tasks in (1) would generate some java files which would be put in the J2ME project 'src' directory with some other files. I need to use the javac tasks on these files but in a specific order. How can i do this? i.e run sym.java before parser.java and before Lexer.java Regards Debo --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org