Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 62182 invoked by uid 500); 3 Aug 2003 15:49:22 -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 68252 invoked from network); 3 Aug 2003 13:40:56 -0000 Message-ID: <002e01c359c4$b8957310$f023fb3e@topficie.loc> From: "GFC" To: "Ant Users List" References: <879A5AD5DD0ED511891F0003473A9B5608FF6CAC@Z011004> Subject: Re: How to map JBuilder settings in Ant syntax Date: Sun, 3 Aug 2003 15:39:52 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I tried the scripts and for me it works after removing the propertyregex tag (because I couldn't make it work otherwise). The output then results in a xml file with the following content: G%|/java libs/javamail-1.3/mail.jar;G%|/java libs/jaf-1.0.2/activation.jar;E%|/Oracle/Ora81/jdbc/lib/classes12.zip;servle t.jar; Do I have to include these lines in my original build.xml in order to map my JBuilder settings? Thanks, Gian Franco ----- Original Message ----- From: To: Sent: Friday, July 25, 2003 12:05 PM Subject: RE: How to map JBuilder settings in Ant syntax > Interesting thing :-) > > I created a buildfile which will do that work. > Required: > - xmltask libarary from http://www.oopsconsultancy.com/software/xmltask.html > - ant-contrib library from > http://sourceforge.net/project/showfiles.php?group_id=36177 > > Extract: > - extract the information which libarary are used from the jbuilder project > file (JPX) > - iterate over all used library files (*.library) > !!! the library file must have the .library filename !!! > - extract the class path information and collect that > - transform that collected infos to a semicolon separated list > - create a with that > > But there is still a problem: JBuilder allows to define a path INSIDE an > archive. E.g. > [lib/junit.zip]/classes > This is not handled by this script. But maybe there will be no problems with > that... > > > > > > > > > > > classname="com.oopsconsultancy.xmltask.ant.XmlTask"/> > > > > > > > > > > > path="/project/property[@category='sys'][@name='Libraries']" > buffer="usedlibs"/> > > > > > > > > all included libraries are: ${property(value)} > > > list="${property(value)}" delimiter=";"/> > > > > ]]> > > > > > > > > > > > > > > > > > > > regexp="<root>(.*)</root>" select="\1"/> > > > > > > > > > path.win32: ${path.win32} > > > > > > > append="true"/> > > > > > > > > With short tests on my computer that works ... > > > Jan > > > > > -----Original Message----- > > From: Gian Franco Casula [mailto:Gian.Franco.Casula@topficie.nl] > > Sent: Thursday, July 24, 2003 1:44 PM > > To: user@ant.apache.org > > Subject: How to map JBuilder settings in Ant syntax > > > > > > Hello, > > > > Does anyone know how to translate the entries in > > 'Required libraries' in the JBuilder 'Project properties' > > in my build.xml? > > > > Example: in JBuilder I have the 'Required library' called 'mail' > > (which consists of two jar files) it's content is used by JBuilder > > during compilation. Since I haven't 'included' this library in my > > build.xml a compilation error occurs, which I only manage to > > skip by deleting the class referencing the 'mail' files. > > > > Thank you, > > > > Gian Franco > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org