From kimberlythompson@example.net Wed Aug 01 15:44:45 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 20145 invoked from network); 1 Aug 2007 15:44:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2007 15:44:45 -0000 Received: (qmail 73096 invoked by uid 500); 1 Aug 2007 15:44:38 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 73037 invoked by uid 500); 1 Aug 2007 15:44:38 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 73015 invoked by uid 99); 1 Aug 2007 15:44:38 -0000 Received: from Unknown (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 08:44:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlythompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 15:44:25 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <kimberlythompson@example.net>) id 1IGGMr-000158-SP for kimberlythompson@example.net; Wed, 01 Aug 2007 08:44:09 -0700 Message-ID: <kimberlythompson@example.net> Date: Wed, 1 Aug 2007 08:44:09 -0700 (PDT) From: dkhanna01 <kimberlythompson@example.net> To: kimberlythompson@example.net Subject: Re: TImestamping in ANT In-Reply-To: <kimberlythompson@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kimberlythompson@example.net References: <kimberlythompson@example.net> <kimberlythompson@example.net> <kimberlythompson@example.net> <kimberlythompson@example.net> <kimberlythompson@example.net> <kimberlythompson@example.net> <kimberlythompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org HI, I tried with net.sf.antcontrib.perf.AntPerformanceListener but every time I create a build it failed saying java.lang.OutOfMemoryError: Java heap space Java heap space This happens abruptly at any place during cmpile time. Now the same build is running fine with ANT 1.6.1 and without using listener. I have updated ANT 1.7.0 and used antcontrib listener and that is where its failing. Now I also tried creating the build with ANT 1.7.0 version without listner and it did worked. Also java version was same at all the places. SO I am assuming that there is some problem in using this listner I think Antelope could be a good option but the question is where I can download ANTELOPE ? I couldn't find it on the web site you mentioned. Please Help ! THanks Dale Anson wrote: > > Another option for this is to use either the stopwatch task or the > performance listener from either antcontrib > (antcontribe.sourceforge.net) or antelope (antelope.tigris.org). The > performance listener is actually quite nice in that it gathers the > statistics as the build runs, then outputs the stats altogether at the > end of the build. I put some example output below, see the docs at > http://antelope.tigris.org/nonav/docs/manual/bk03ch27.html > > Dale > > > > Output in the target results shows the build file name followed by the > target name, output in the task results shows the build filename > followed by the target name followed by the task name. > > -------------- Target Results ----------------------- > Antelope.all: 0.000 sec > Antelope.init: 0.011 sec > Antelope.-build_number: 0.014 sec > Antelope.clean: 0.233 sec > Antelope.-zip_tasks: 0.297 sec > Antelope.prep_files: 0.311 sec > Antelope.-zip_docs: 0.546 sec > Antelope.combined: 1.290 sec > Antelope.compile: 1.724 sec > Antelope.dist: 2.162 sec > > -------------- Task Results ----------------------- > Antelope.init.mkdir: 0.000 sec > Antelope.init.mkdir: 0.001 sec > Antelope.dist.echo: 0.002 sec > Antelope.prep_files.delete: 0.004 sec > Antelope.combined.echo: 0.005 sec > Antelope.dist.delete: 0.006 sec > Antelope.-zip_tasks.echo: 0.007 sec > Antelope.dist.copy: 0.011 sec > Antelope.-build_number.buildnumber: 0.014 sec > Antelope.compile.copy: 0.016 sec > Antelope.prep_files.copy: 0.020 sec > Antelope.prep_files.replace: 0.071 sec > Antelope.-zip_tasks.zip: 0.122 sec > Antelope.-zip_tasks.jar: 0.161 sec > Antelope.prep_files.replace: 0.216 sec > Antelope.clean.delete: 0.233 sec > Antelope.dist.antcall: 0.421 sec > Antelope.-zip_docs.zip: 0.540 sec > Antelope.dist.antcall: 0.685 sec > Antelope.dist.zip: 1.036 sec > Antelope.combined.jar: 1.284 sec > Antelope.compile.javac: 1.708 sec > > -------------- Totals ----------------------- > Start time: Thu, 5 Dec 2002 17:18:30 > Stop time: Thu, 5 Dec 2002 17:18:39 > Total time: 8.476 sec > > > Woot! The example is almost 5 years old and still valid! > > > > Wascally Wabbit wrote: >> Sorry, >> Incomplete original example methinks. >> >> If you change >> - <assign var="time" value="now"/> >> >> to >> + <assign var="time" op="-now" fromvar="time"/> >> >> it should work. >> >> --- [ A WORKING EXAMPLE TO DEMONSTRATE (TESTED ;-))] ---- >> >> Here's a working sample (assuming AntX is installed in a >> directory at ./antx relative to test script): >> >> <project name="test" default="timed-target" basedir="."> >> <property name="jware.antx.defaults.valueuris.flag" value="yes"/> >> <path id="antx.classpath"> >> <pathelement location="${basedir}/antx/JWare_apis.jar"/> >> <pathelement location="${basedir}/antx/AntX_tasks.jar"/> >> </path> >> >> <taskdef resource="com/idaremedia/antx/install/antlib.xml" >> classpathref="antx.classpath"/> >> <typedef resource="com/idaremedia/antx/valueuri/antlib.xml" >> classpathref="antx.classpath"/> >> >> <target name="timed-target"> >> <assign var="time" op="now"/> >> <echo message="started @ ${$var:time} ms"/> >> <sleep seconds="2"/> >> <assign var="time" op="-now" fromvar="time"/> >> <echo message="duration was ${$var:time} ms"/> >> <copyproperty name="duration" variable="time" >> transform="duration"/> >> <echo message="Duration transformed is ${duration}"/> >> </target> >> </project> >> >> >> OUTPUT: >> timed-target: >> [echo] started @ 1185500881950 ms >> [echo] duration was 2003 ms >> [echo] Duration transformed is 2sec.3ms >> >> >> dkhanna01 wrote: >>> first of all thanks for the information >>> I tried to load antx libraries and it did worked, BUT while >>> calculating the >>> duration its giving me an error as : >>> >>> Unable to convert 'now' to time duration. >>> compile took -now >>> >>> Here is my code: >>> >>> <target name="usage" description="Displays a list of valid targets"> >>> <assign var="time" value="now"/> >>> <copyproperty name="usage.start" variable="time" >>> transform="datetime"/> >>> <echo level="info" message="usage started ${usage.start}"/> >>> >>> <antcall target="usage:default"/> >>> >>> <assign var="time" value="now"/> >>> <copyproperty name="compile.duration" variable="time" >>> transform="duration"/> >>> >>> <echo level="info" message="compile took ${compile.duration}"/> >>> </target> >>> >>> Is there any thing I have missed. >>> >>> THanks again >>> >>> >>> >>> >>> Wascally Wabbit wrote: >>>> Hi, >>>> >>>> The assign task is already defined for you as part of the >>>> AntXtras antlib. The easiest thing to do is to load the >>>> entire antlib and experiment. *See the Quick Start and >>>> User Guide for additional information*. >>>> >>>> Example (assuming at least Ant 1.6.5, and AntXtras bin download >>>> to some local directory '${antextensions.d}/antx'): >>>> >>>> [Top-Level] >>>> >>>> <path id="antx.classpath"> >>>> <fileset dir="${antextensions.d}/antx"> >>>> <include name="lib/*.jar"/> >>>> </fileset> >>>> </path> >>>> >>>> <taskdef resource="com/idaremedia/antx/install/antlib.xml" >>>> classpathref="antx.classpath"/> >>>> >>>> >>>> [In any target or macrodef] >>>> <assign var="duration" value="now"/> >>>> ... >>>> <assign var="duration" value="-now" .../> >>>> ... >>>> >>>> -The Wabbit >>>> >>>> >>>> dkhanna01 wrote: >>>>> Hi I downloaded the antxtras unility from the site but the two jar >>>>> files in >>>>> that does not contain class file for assign task. SO when I try to >>>>> run my >>>>> script after adding assing task it gave an error that " Problem: >>>>> failed >>>>> to >>>>> create task or type assign" >>>>> >>>>> THanks >>>>> >>>>> >>>>> Wascally Wabbit wrote: >>>>>> dkhanna01 wrote: >>>>>>> I need to find out the time taken by each of the process/target >>>>>>> in our >>>>>>> build.xml file. Now for doing this I have use ANT tstamp task to >>>>>>> calculate >>>>>>> the start time and end time of the process. Now my question is >>>>>>> how do I >>>>>>> find >>>>>>> out the total time taken by the process, I mean is there any way to >>>>>>> calculate difference between "End time" and "Start time" >>>>>>> Thanks >>>>>> If you can use thirdparty libraries you can use the AntXtra's >>>>>> <assign> task like so: >>>>>> >>>>>> <target name="compile" depends="-init" description="Compile stuff"> >>>>>> <assign var="time" value="now"/> >>>>>> ...[all your compiling tasks here] >>>>>> <assign var="time" value="-now" transform="duration" >>>>>> copyproperty="compile.duration"/> >>>>>> <echo level="info" message="compile took ${compile.duration}"/> >>>>>> </target> >>>>>> >>>>>> If you want to do this for lots of your targets you can leverage >>>>>> macrodefs to do this for every target using something like: >>>>>> >>>>>> <macrodef name="timedtarget"> >>>>>> <attribute name="name"> >>>>>> <attribute name="functions"/> >>>>>> <sequential> >>>>>> <assign var="time_" value="now"/> >>>>>> <callinline targets="@{functions}"/> <!--do NOT switch >>>>>> projects--> >>>>>> <assign var="time_" value="-now" transform="duration" >>>>>> copyproperty="@{name}.duration"/> >>>>>> <echo level="info" message="@{name} took ${@{name}.duration}"/> >>>>>> </sequential> >>>>>> </macrodef> >>>>>> >>>>>> Then use it like so: >>>>>> >>>>>> <target name="-compile"> >>>>>> ...[all your compiling work here in private target] >>>>>> </target> >>>>>> >>>>>> <target name="compile" depends="-init" description="Compile stuff"> >>>>>> <timetarget name="compile" functions="-compile"/> >>>>>> </target> >>>>>> >>>>>> AntXtras is at: http://antxtras.sf.net/ >>>>>> >>>>>> Hope that helps. >>>>>> >>>>>> -The Wabbit >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: kimberlythompson@example.net >>>>>> For additional commands, e-mail: kimberlythompson@example.net >>>>>> >>>>>> >>>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: kimberlythompson@example.net >>>> For additional commands, e-mail: kimberlythompson@example.net >>>> >>>> >>>> >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: kimberlythompson@example.net >> For additional commands, e-mail: kimberlythompson@example.net >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kimberlythompson@example.net > For additional commands, e-mail: kimberlythompson@example.net > > > -- View this message in context: http://www.nabble.com/TImestamping-in-ANT-tf4050746.html#a11948152 Sent from the Ant - Users mailing list kimberlythompson@example.net. --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlythompson@example.net For additional commands, e-mail: kimberlythompson@example.net From kimberlythompson@example.net Wed Aug 01 16:55:07 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 83687 invoked from network); 1 Aug 2007 16:55:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2007 16:55:06 -0000 Received: (qmail 24981 invoked by uid 500); 1 Aug 2007 16:55:03 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 24947 invoked by uid 500); 1 Aug 2007 16:55:02 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 24936 invoked by uid 99); 1 Aug 2007 16:55:02 -0000 Received: from igron-1.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 09:55:02 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kimberlythompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nz-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 16:54:35 +0000 Received: by nz-out-0506.google.com with SMTP id r28so109490nza for <kimberlythompson@example.net>; Wed, 01 Aug 2007 09:54:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ls5aIAlZiDLHeW3+SfUUQGAWhW4efQ5OHCurrvR2XyvsQpfBH8Z7Si2I8eFzMXFwQ/QD/6ICrouqK4Oldo8VUKUqcCDKVMTA4Dg1OvEPFUvhV1Gq9+GUJ7kygl+BgQ+dSkdu95NFJw3a4MZVFELBzYanvrxVBCD9XjInkiuI7xY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=eKqTVql1Zren+k9UjzZmu3s89skRf5/Nmt/Mii0hwhT5t36o9NNkIMgemsQTVWMSpuC7/M4AeeUPPt68GF5gFF9TQaKqNmjDbcRfA1iGdW7SFqno8J01XzxB9MIsx8+SuyBfCXRt4j5g6b3mY/X95W3wbXXf++enYA7bwJAsqf0= Received: by 83.161.120.155 with SMTP id x8mr42368wfj.1185987276839; Wed, 01 Aug 2007 09:54:36 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 1 Aug 2007 09:54:36 -0700 (PDT) Message-ID: <kimberlythompson@example.net> Date: Wed, 1 Aug 2007 09:54:36 -0700 From: "Alex Egg" <kimberlythompson@example.net> To: "Ant Users List" <kimberlythompson@example.net> Subject: Re: concat task on group of utf 8 files w/ BOM In-Reply-To: <kimberlythompson@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_65584_30281188.1185987276722" References: <kimberlythompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_65584_30281188.1185987276722 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline SSBkb24ndCB1bmRlcnN0YW5kIGhvdyB0byB1c2UgdGhlIGZpbHRlcmNoYWlucywgc28gSSBqd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LS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KPiBUbyB1bnN1YnNj cmliZSwgZS1tYWlsOiB1c2VyLXVuc3Vic2NyaWJlQGFudC5hcGFjaGUub3JnCj4gRm9yIGFkZGl0 aW9uYWwgY29tbWFuZHMsIGUtbWFpbDogdXNlci1oZWxwQGFudC5hcGFjaGUub3JnCj4KPgo= ------=_Part_65584_30281188.1185987276722-- From kimberlythompson@example.net Wed Aug 01 16:57:08 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 84854 invoked from network); 1 Aug 2007 16:57:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2007 16:57:07 -0000 Received: (qmail 31105 invoked by uid 500); 1 Aug 2007 16:57:03 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 31077 invoked by uid 500); 1 Aug 2007 16:57:03 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 31066 invoked by uid 99); 1 Aug 2007 16:57:03 -0000 Received: from igron-1.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 09:57:03 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kimberlythompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nz-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 16:56:35 +0000 Received: by nz-out-0506.google.com with SMTP id r28so109871nza for <kimberlythompson@example.net>; Wed, 01 Aug 2007 09:56:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=WK7rMFGYb/sqFtI7+QR3h5QrTbrsWKfKD9jtIwZbDQIWcVKWil1pbEYS1c6BCO74w9npKftY3qmVme8RT7+zpY1frH6UA3TVa9ula69PKX4vEUxsiU8VddW17EjE43F3dXyxyLlR8XKQlzvahhPijHt62/a1HJpdzs6TieOoy/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ltIOJKVLBkPhw1vP9dmfru8i0nVtQQi+qWngZmxq4+4UTBvaUgtHKx+cJzgJlHhxO9SazkZbevws+mK3S6pMucxmYno4Ngn+0c8n2nPXrX0343SPEH0Nit0ZvuqziiRHI0RVC4EfT32UlaOgjRrRE/AoGO70iTIm6ekCBbxRLmw= Received: by 83.161.120.155 with SMTP id n10mr43142wfc.1185987396517; Wed, 01 Aug 2007 09:56:36 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 1 Aug 2007 09:56:36 -0700 (PDT) Message-ID: <kimberlythompson@example.net> Date: Wed, 1 Aug 2007 09:56:36 -0700 From: "Alex Egg" <kimberlythompson@example.net> To: "Ant Users List" <kimberlythompson@example.net> Subject: Re: simple buildnumber task usage question In-Reply-To: <kimberlythompson@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_65612_15221016.1185987396480" References: <kimberlythompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_65612_15221016.1185987396480 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline SSdtIHNvIGVtYmFycmFzc2VkIQoKT24gNy8zMS8wNywgSmFuLk1hdGVybmVAcnpmLmZpbi1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PiA+IEkgYWxyZWFkeSBo YXZlIHRoZSB0YXNrIGluIG15IGJ1aWxkIGZpbGUgYXM6Cj4gPj4gPgo+ID4+ID4gPGJ1aWxkbnVt YmVyLz4KPiA+PiA+Cj4gPj4gPiBidXQgdGhhdCBqdXN0IHNhdmVzIGl0IHRvIHRoZSBidWlsZC5u dW1iZXIgZmlsZSwgaG93IGRvIEkKPiA+Z2V0IGl0IHRvIGEKPiA+PiA+IHByb3BlcnR5IGluIG15 IGJ1aWxkIGZpbGUgc28gSSBjYW4gdXNlIGl0IGluIG15IHBhdGggbmFtZT8KPiA+PiA+Cj4gPj4K PiA+Pgo+ID4+IC0tCj4gPj4gLS0KPiA+PiBEYXZpZCBXZWludHJhdWIKPiA+PiBxYXp3YXJ0QGdt YWlsLmNvbQo+ID4+Cj4gPj4gLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCj4gPj4gVG8gdW5zdWJzY3JpYmUsIGUtbWFp bDogdXNlci11bnN1YnNjcmliZUBhbnQuYXBhY2hlLm9yZwo+ID4+IEZvciBhZGRpdGlvbmFsIGNv bW1hbmRzLCBlLW1haWw6IHVzZXItaGVscEBhbnQuYXBhY2hlLm9yZwo+ID4+Cj4gPj4KPiA+Cj4K PiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0KPiBUbyB1bnN1YnNjcmliZSwgZS1tYWlsOiB1c2VyLXVuc3Vic2NyaWJl QGFudC5hcGFjaGUub3JnCj4gRm9yIGFkZGl0aW9uYWwgY29tbWFuZHMsIGUtbWFpbDogdXNlci1o ZWxwQGFudC5hcGFjaGUub3JnCj4KPgo= ------=_Part_65612_15221016.1185987396480-- From kimberlythompson@example.net Wed Aug 01 17:14:45 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 93312 invoked from network); 1 Aug 2007 17:14:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2007 17:14:42 -0000 Received: (qmail 56886 invoked by uid 500); 1 Aug 2007 17:14:37 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 56856 invoked by uid 500); 1 Aug 2007 17:14:37 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 56837 invoked by uid 99); 1 Aug 2007 17:14:37 -0000 Received: from igron-1.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 10:14:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kimberlythompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fk-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 17:14:09 +0000 Received: by fk-out-0910.google.com with SMTP id 18so256843fks for <kimberlythompson@example.net>; Wed, 01 Aug 2007 10:14:11 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QnSJOEut/1+ps5ol1KQD8CoefEZLez6k/2bX2fuuePLWvcDxCE++sgRGUImncCGFLC1ah9KQ3hZ1fNEuJ2B9XN23PCf0DCOpkQshBb/O9CpsvzDw5FEqmATfFZcirOfMChw6A+DL04fyvwBmLKY1DN0pN3aYx5UHhTPjdqvahJs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZaNhSS8dhMYby6Ft/qqRtDZtHWkjWVJR19WYD3XjDHkl/MVDtBQBLm4nxl+tTk5xK+ie1yRNvAQ98PByn8D4C231d5YlspRBDi0MpmjwGUPx8gF7wmvhi6HksbytC6xJoIdeYoAdKaa8fVgJEaPR6RyxMH4NDPoqWX+unbPUFJk= Received: by 83.161.120.155 with SMTP id n2mr1173637buf.1185988451550; Wed, 01 Aug 2007 10:14:11 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 1 Aug 2007 10:14:11 -0700 (PDT) Message-ID: <kimberlythompson@example.net> Date: Wed, 1 Aug 2007 18:14:11 +0100 From: "Peter Reilly" <kimberlythompson@example.net> To: "Ant Users List" <kimberlythompson@example.net> Subject: Re: concat task on group of utf 8 files w/ BOM In-Reply-To: <kimberlythompson@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <kimberlythompson@example.net> <kimberlythompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org I do not think that filter chains will help here as they operate on Readers and not on input streams. Peter On 8/1/07, Alex Egg <kimberlythompson@example.net> wrote: > I don't understand how to use the filterchains, so I just wrote ant ant t= ask > to remove the BOMs. Can you show me an example? > > On 7/31/07, kimberlythompson@example.net <kimberlythompson@example.net> wrote= : > > > > You could try a <filterchain> to get rid off the BOMs when <concat>enat= ing > > the files. > > > > Jan > > > > >-----Urspr=FCngliche Nachricht----- > > >Von: Alex Egg [mailto:kimberlythompson@example.net] > > >Gesendet: Montag, 30. Juli 2007 22:33 > > >An: Ant Users List > > >Betreff: concat task on group of utf 8 files w/ BOM > > > > > >Hi, > > >I'm using the concat task with a fileset that points to a > > >bunch of files > > >with unicode byte order marks. After the task is complete I > > >wind up with > > >file that's full for BOMs, which down the road, crashes a > > >program that reads > > >this file. > > > > > >Any good solution to deal with this? The BOMS? > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: kimberlythompson@example.net > > For additional commands, e-mail: kimberlythompson@example.net > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlythompson@example.net For additional commands, e-mail: kimberlythompson@example.net From kimberlythompson@example.net Wed Aug 01 18:44:16 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 32703 invoked from network); 1 Aug 2007 18:44:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2007 18:44:15 -0000 Received: (qmail 46998 invoked by uid 500); 1 Aug 2007 18:44:10 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 46965 invoked by uid 500); 1 Aug 2007 18:44:10 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 46954 invoked by uid 99); 1 Aug 2007 18:44:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 11:44:10 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kimberlythompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nz-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 18:43:43 +0000 Received: by nz-out-0506.google.com with SMTP id r28so130643nza for <kimberlythompson@example.net>; Wed, 01 Aug 2007 11:43:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TYzW9jtGmepR50sDMJ6pwMN9jm+OR6PXDw2OJ4YvmisziYL8AbmBp++nUT4NcLHCg2bvLfi3j194R+44jJParLlUX3WBYq17kIrnfeq8I1V1sjmBh+ofjq0V/Em73ejNmQsEEs4SVVQdj6oSKz0bai+AME+fRWcuxYQj3rcchp0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=csXM+JSarvuUbC83ssYuxY6E/LDcXHLGlxppvEgqNp5kLSgYgzahMR725Vw1jJ70sx6PEA882e8K36xKIIKpdfN6MrSt9yx/VN17tvaLo9iOix7i2rl51k0iSqbDRLz89e/lhdbZoUzeEo6J1pkL7ZsYk9xRHBi33fG35RPfLHI= Received: by 83.161.120.155 with SMTP id d14mr47393wfc.1185993824842; Wed, 01 Aug 2007 11:43:44 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 1 Aug 2007 11:43:44 -0700 (PDT) Message-ID: <kimberlythompson@example.net> Date: Wed, 1 Aug 2007 13:43:44 -0500 From: "Dominique Devienne" <kimberlythompson@example.net> To: "Ant Users List" <kimberlythompson@example.net> Subject: Re: concat task on group of utf 8 files w/ BOM In-Reply-To: <kimberlythompson@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <kimberlythompson@example.net> <kimberlythompson@example.net> <kimberlythompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org On 8/1/07, Peter Reilly <kimberlythompson@example.net> wrote: > I do not think that filter chains will help here as they > operate on Readers and not on input streams. Actually, that may be why it "should" work. Java knows about optional BOMs and does the right thing, as long as you tell it that the encoding is UTF-16. Alex, try playing with 'encoding' and 'outputencoding' attributes of <concat> to see if that gets rid of the BOMs. I suspect the BOMs will be "eaten up" for the char decoder and no longer appear in the streams. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlythompson@example.net For additional commands, e-mail: kimberlythompson@example.net From kimberlythompson@example.net Wed Aug 01 20:22:40 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 66821 invoked from network); 1 Aug 2007 20:22:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2007 20:22:38 -0000 Received: (qmail 62718 invoked by uid 500); 1 Aug 2007 20:22:34 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 62685 invoked by uid 500); 1 Aug 2007 20:22:33 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 62672 invoked by uid 99); 1 Aug 2007 20:22:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 13:22:33 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlythompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fk-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 20:22:21 +0000 Received: by fk-out-0910.google.com with SMTP id 18so297036fks for <kimberlythompson@example.net>; Wed, 01 Aug 2007 13:22:05 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mPBFSgsplSjvMTI/OonK2/wnQu2iMywiWYyqAqVCjidFStjF58YHtCOopX060iGvZzvpy1v5YFVfPqcwdMvfudiKRtzPX1ra4oMcbLpSDxlah55ruDWq8UnqACBTUeX5Euz9QGHN7ibQF+3EM0DNqfjWZf7cUtNKVOWBDdRCI94= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=m37/0ozFt5MNW2IUdsr7fOq/1nKSkbFwjHfMgqE+GCL5O+/8COymVe7CD2PCDpeSW/zNYJfWhzzKmbrkvmZVwzdp/CePkxgfcnm9LCMMix7ZW49w8v/hn0N7aeEPKJyOfC+vWDaN4Sf5ytw7JoJC1LVt2ytLP7j4vA5FW5gikgU= Received: by 83.161.120.155 with SMTP id e14mr1460510buc.1185999724917; Wed, 01 Aug 2007 13:22:04 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 1 Aug 2007 13:22:04 -0700 (PDT) Message-ID: <kimberlythompson@example.net> Date: Wed, 1 Aug 2007 21:22:04 +0100 From: "Peter Reilly" <kimberlythompson@example.net> To: "Ant Users List" <kimberlythompson@example.net> Subject: Re: concat task on group of utf 8 files w/ BOM In-Reply-To: <kimberlythompson@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <kimberlythompson@example.net> <kimberlythompson@example.net> <kimberlythompson@example.net> <kimberlythompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org On 8/1/07, Dominique Devienne <kimberlythompson@example.net> wrote: > On 8/1/07, Peter Reilly <kimberlythompson@example.net> wrote: > > I do not think that filter chains will help here as they > > operate on Readers and not on input streams. > > Actually, that may be why it "should" work. Java knows about optional > BOMs and does the right thing, as long as you tell it that the > encoding is UTF-16. The encoding is not UTF-16, it is UTF-8. Having a BOM in UTF-8 makes no sense, as a byte cannot be byte ordered. However, it is allowed by the UTF standard as an optional feature. see: http://issues.apache.org/bugzilla/show_bug.cgi?id=28049 and http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058 Some windows programs (notepad.exe for example) use this character sequence to indicate that the text file is utf-8 encoded as against the windows encoded. XML readers in java know about the UTF-8 BOMs, but the std java streamreader does not. In old versions of java they woudl throw an exception, new versions convert it to a ? (i think). Peter > > Alex, try playing with 'encoding' and 'outputencoding' attributes of > <concat> to see if that gets rid of the BOMs. I suspect the BOMs will > be "eaten up" for the char decoder and no longer appear in the > streams. --DD > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kimberlythompson@example.net > For additional commands, e-mail: kimberlythompson@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlythompson@example.net For additional commands, e-mail: kimberlythompson@example.net From kimberlythompson@example.net Wed Aug 01 20:30:50 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 70112 invoked from network); 1 Aug 2007 20:30:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2007 20:30:49 -0000 Received: (qmail 85752 invoked by uid 500); 1 Aug 2007 20:30:44 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 85713 invoked by uid 500); 1 Aug 2007 20:30:44 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 85702 invoked by uid 99); 1 Aug 2007 20:30:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 13:30:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlythompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nz-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 20:30:32 +0000 Received: by nz-out-0506.google.com with SMTP id r28so150330nza for <kimberlythompson@example.net>; Wed, 01 Aug 2007 13:30:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kI30obQw3bQDu8EmHOYYnK/cznMz1bAU7YUzmsJHYTHd7MYzyjOsTU+UFNjdwCTy4Gvhrj6w0hcmAHv6+q5Ni1HwzH0KgyuHsf32WC2bVDjTUL2wfibtlvyI5AyQ+mEufzk2o14UUmHHHH8KPBt+J11n8P48/varUFKFvYPB2dQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LR5v7mIBA/MDzQhIb9+R4BJIa5RMPEQoVUYN+MmnbGT3C+4tMpD+xGFSgvjjxaVUuaG7mWH2S9es8AQU0UyfUsy3gXLCFtjazlQEUTzogconszVk/2VTyQl3ncd9C28m1Fn6oandYwNkUcaG9aEc+8EVhq5poBOUKK/rI1WqeGs= Received: by 83.161.120.155 with SMTP id d13mr52628wfe.1186000216577; Wed, 01 Aug 2007 13:30:16 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 1 Aug 2007 13:30:16 -0700 (PDT) Message-ID: <kimberlythompson@example.net> Date: Wed, 1 Aug 2007 15:30:16 -0500 From: "Dominique Devienne" <kimberlythompson@example.net> To: "Ant Users List" <kimberlythompson@example.net> Subject: Re: concat task on group of utf 8 files w/ BOM In-Reply-To: <kimberlythompson@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <kimberlythompson@example.net> <kimberlythompson@example.net> <kimberlythompson@example.net> <kimberlythompson@example.net> <kimberlythompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org On 8/1/07, Peter Reilly <kimberlythompson@example.net> wrote: > On 8/1/07, Dominique Devienne <kimberlythompson@example.net> wrote: > > On 8/1/07, Peter Reilly <kimberlythompson@example.net> wrote: > > > I do not think that filter chains will help here as they > > > operate on Readers and not on input streams. > > > > Actually, that may be why it "should" work. Java knows about optional > > BOMs and does the right thing, as long as you tell it that the > > encoding is UTF-16. > > The encoding is not UTF-16, it is UTF-8. Having a BOM in UTF-8 > makes no sense, as a byte cannot be byte ordered. However, it > is allowed by the UTF standard as an optional feature. > see: http://issues.apache.org/bugzilla/show_bug.cgi?id=28049 and > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058 Hmmm, OK. I missed the part where Alex wrote that he was using UTF-8 with BOM, instead of UTF-16. I assumed the latter, since indeed I didn't know one could put a BOM with UTF-8 data! (useless indeed). --DD --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlythompson@example.net For additional commands, e-mail: kimberlythompson@example.net From kimberlythompson@example.net Thu Aug 02 04:32:24 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 20097 invoked from network); 2 Aug 2007 04:32:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Aug 2007 04:32:23 -0000 Received: (qmail 89885 invoked by uid 500); 2 Aug 2007 04:32:19 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 89850 invoked by uid 500); 2 Aug 2007 04:32:19 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 39847 invoked by uid 99); 1 Aug 2007 11:32:01 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of kimberlythompson@example.net designates 83.161.120.155 as permitted sender) X-IronPort-AV: E=Sophos;i="4.19,208,1183348800"; d="scan'208";a="3746532" Message-ID: <kimberlythompson@example.net> Date: Wed, 01 Aug 2007 19:29:43 +0800 From: James Mao <kimberlythompson@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20070509) MIME-Version: 1.0 To: kimberlythompson@example.net Subject: Target.getTasks returns UnknownElement Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Aug 2007 11:30:39.0900 (UTC) FILETIME=[635DEDC0:01C7D42F] X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm trying to parse the build.xml myself, and tried to get the tasks object with the following code File buildFile = new File("c:/myproject/build.xml"); Project project = new Project(); project.init(); project.setUserProperty( "ant.file" , buildFile.getAbsolutePath()); project.addBuildListener(new DefaultLogger()); ProjectHelper.configureProject(project, buildFile); Target target = (Target) project.getTargets().get("echome"); Task[] tasks = target.getTasks(); System.out.println(((Echo)tasks[0])); <<< Failure point The build.xml is <project name="myproject"> <target name="echome"> <echo message="abc"/> </target> </project> How can i get an instance of Echo , instead of UnknownElement <cid:kimberlythompson@example.net>? I'm running the above code inside a junit test ant 1.7.0, junit4, jdk1.6 Thanks in advance! James --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlythompson@example.net For additional commands, e-mail: kimberlythompson@example.net From kimberlythompson@example.net Thu Aug 02 06:39:23 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 66031 invoked from network); 2 Aug 2007 06:39:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Aug 2007 06:39:23 -0000 Received: (qmail 30386 invoked by uid 500); 2 Aug 2007 06:39:15 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 30362 invoked by uid 500); 2 Aug 2007 06:39:15 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 30351 invoked by uid 99); 2 Aug 2007 06:39:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 23:39:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO dnsinet.rzf-nrw.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 06:39:09 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [83.161.120.155]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id l726cicb030542 for <kimberlythompson@example.net>; Thu, 2 Aug 2007 08:38:45 +0200 Received: from z011034.bk.fin.local ([83.161.120.155]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Thu, 2 Aug 2007 08:38:44 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: simple buildnumber task usage question Date: Thu, 2 Aug 2007 08:38:44 +0200 Message-ID: <kimberlythompson@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: simple buildnumber task usage question Thread-Index: AcfUXQAJX87sYoUrSl+rcwib+1V6PQAcq94w From: <kimberlythompson@example.net> To: <kimberlythompson@example.net> X-OriginalArrivalTime: 02 Aug 2007 06:38:44.0688 (UTC) FILETIME=[C5E66D00:01C7D4CF] X-Virus-Checked: Checked by ClamAV on apache.org That's ok. Sometime the manual is really missing something or is unclear = ;) Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: Alex Egg [mailto:kimberlythompson@example.net]=20 >Gesendet: Mittwoch, 1. August 2007 18:57 >An: Ant Users List >Betreff: Re: simple buildnumber task usage question > >I'm so embarrassed! > >On 7/31/07, kimberlythompson@example.net=20 ><kimberlythompson@example.net> wrote: >> >> No??? >> >> http://ant.apache.org/manual/CoreTasks/buildnumber.html >> ... then set the property build.number to the value that was=20 >read in (or >> to 0, if no such value). >> >> >> >> Jan >> >> >> >-----Urspr=FCngliche Nachricht----- >> >Von: Alex Egg [mailto:kimberlythompson@example.net] >> >Gesendet: Dienstag, 31. Juli 2007 05:15 >> >An: Ant Users List >> >Betreff: Re: simple buildnumber task usage question >> >> > >> >Oh coo. I didn't see that anywhere in the docs... >> > >> > >> > >> >>ld like to use the buildnumber task to >> >> > append a build number to the file name: >> >> > <gzip src=3D"${temp}/s3/_management.js" >> >destfile=3D"${temp}/s3/management_${ >> >> > build.number}.js"/> >> >> > >> >> > So my gzipped file would be something like: management_3.js >> >> > >> >> > I already have the task in my build file as: >> >> > >> >> > <buildnumber/> >> >> > >> >> > but that just saves it to the build.number file, how do I >> >get it to a >> >> > property in my build file so I can use it in my path name? >> >> > >> >> >> >> >> >> -- >> >> -- >> >> David Weintraub >> >> kimberlythompson@example.net >> >> >> >>=20 >--------------------------------------------------------------------- >> >> To unsubscribe, e-mail: kimberlythompson@example.net >> >> For additional commands, e-mail: kimberlythompson@example.net >> >> >> >> >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: kimberlythompson@example.net >> For additional commands, e-mail: kimberlythompson@example.net >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlythompson@example.net For additional commands, e-mail: kimberlythompson@example.net From kimberlythompson@example.net Thu Aug 02 15:50:23 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 37456 invoked from network); 2 Aug 2007 15:50:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Aug 2007 15:50:22 -0000 Received: (qmail 47907 invoked by uid 500); 2 Aug 2007 15:50:17 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 47871 invoked by uid 500); 2 Aug 2007 15:50:17 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 47857 invoked by uid 99); 2 Aug 2007 15:50:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 08:50:17 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail3.uniserve.ca) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 15:49:50 +0000 Received: from www by mail3.uniserve.ca with local (Exim 3.35 #1) id 1IGcvl-0001Fr-00 for kimberlythompson@example.net; Thu, 02 Aug 2007 08:49:41 -0700 Received: from 83.161.120.155 ( [83.161.120.155]) as user kimberlythompson@example.net by members.uniserve.com with HTTP; Thu, 2 Aug 2007 08:49:41 -0700 Message-ID: <kimberlythompson@example.net> Date: Thu, 2 Aug 2007 08:49:41 -0700 From: Mario Madunic <kimberlythompson@example.net> To: Ant Users List <kimberlythompson@example.net> Subject: Re: AW: multiple regexs against a single doc References: <kimberlythompson@example.net> In-Reply-To: <kimberlythompson@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Virus-Checked: Checked by ClamAV on apache.org Thanks Jan, works basically but am having problems with certain regexs <replaceregex pattern="(\s+)" replace=" " flags="g" byline="true" /> does nothing <replaceregex pattern="(_TAB_)" replace="see note below" flags="g" byline="true" /> been trying to place a regex inside the @replace but with no luck. I'm trying to replace the _TAB_ string with an actual tab so one of the following should do something: \t, \u0011, \&#x000b; (might have the u and x backwards). Any help with this will be appreciated. Thanks Mario Maddunic Quoting kimberlythompson@example.net: > Maybe something like > > <move> > <filterchain> > <tokenfilter> > <filetokenizer/> > <replaceregex pattern="" replace="" flags="s"/> > <replaceregex pattern="" replace="" flags="s"/> > > > Jan > > > > >-----Ursprüngliche Nachricht----- > >Von: Mario Madunic [mailto:kimberlythompson@example.net] > >Gesendet: Dienstag, 31. Juli 2007 16:00 > >An: Ant Users List > >Betreff: multiple regexs against a single doc > > > >Right now I'm doing the following with each regex that I > >require to replace some > >string or char > > > > > ><replaceregexp match="(\ue06d)" replace="\&amp;#x00b5;" > >flags="g" byline="true" > >encoding="utf-8"> > ><fileset dir="${l_Drive}\${randDirName}\drop" includes="*.xml" /> > ></replaceregexp> > > > ><replaceregexp match="(\u2009)" replace=" " flags="g" byline="true" > >encoding="utf-8"> > ><fileset dir="${l_Drive}\${randDirName}\drop" includes="*.xml" /> > ></replaceregexp> > > > >etc...(x100) > > > >This is a slow process as each file is "opened" and "closed" > >for each regex. > >What I'd like to do is open a file and parse with multiple > >regexs before going > >to the next regex. Is this possible? I have over a hundred regexs. > > > >Thanks > > > >Marijan Madunic > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: kimberlythompson@example.net > >For additional commands, e-mail: kimberlythompson@example.net > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kimberlythompson@example.net > For additional commands, e-mail: kimberlythompson@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlythompson@example.net For additional commands, e-mail: kimberlythompson@example.net From kimberlythompson@example.net Thu Aug 02 17:56:58 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 23585 invoked from network); 2 Aug 2007 17:56:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Aug 2007 17:56:57 -0000 Received: (qmail 6385 invoked by uid 500); 2 Aug 2007 17:56:53 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 6347 invoked by uid 500); 2 Aug 2007 17:56:53 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 6336 invoked by uid 99); 2 Aug 2007 17:56:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 10:56:52 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlythompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 17:56:45 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <kimberlythompson@example.net>) id 1IGeuO-00086n-DW for kimberlythompson@example.net; Thu, 02 Aug 2007 10:56:24 -0700 Message-ID: <kimberlythompson@example.net> Date: Thu, 2 Aug 2007 10:56:24 -0700 (PDT) From: billf5293 <kimberlythompson@example.net> To: kimberlythompson@example.net Subject: Problem with build after method signature change MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kimberlythompson@example.net X-Virus-Checked: Checked by ClamAV on apache.org We are experiencing a problem with our build after a method signature change in one of our classes. A method was changed from non-static to static. Since the dependant class files would still compile ant did not compile them. The result is a IncompatibleClassChangeError at runtime saying a non-static method is expected. Is there any way to check class compatibility? Thanks. -- View this message in context: http://www.nabble.com/Problem-with-build-after-method-signature-change-tf4207673.html#a11969482 Sent from the Ant - Users mailing list kimberlythompson@example.net. --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlythompson@example.net For additional commands, e-mail: kimberlythompson@example.net From kimberlythompson@example.net Thu Aug 02 18:56:49 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 48236 invoked from network); 2 Aug 2007 18:56:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Aug 2007 18:56:48 -0000 Received: (qmail 29497 invoked by uid 500); 2 Aug 2007 18:56:43 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 29454 invoked by uid 500); 2 Aug 2007 18:56:43 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 29443 invoked by uid 99); 2 Aug 2007 18:56:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 11:56:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlythompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nz-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 18:56:37 +0000 Received: by nz-out-0506.google.com with SMTP id r28so258467nza for <kimberlythompson@example.net>; Thu, 02 Aug 2007 11:56:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ekTl3OqXvZ8zN7GHuR2g+OkWkEbm2kK1hCjMVsaG+TETYU4xGYlCv+sNTTlRh5+Q/qQb2BiCKmqsMssq0RaOeQXJvPvO0l0D9OqSDw27kYozwxJ2x2vS3CumOJBYC/3mEiSYdazNTYFRMu1Yvrryq5Yv0d3fJEajEhpsDu1T2uQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WphdFGcrzP9EadeK6TlM0sggbFXJed7UGfP42PqwsyckVGU0QoPjqxeDK/m4JCcWnjR9HT6rE17EQMZ0r459FpEngjD0J1xxFa8NSzFSip6y+jgOR3UYsOrL9piV/EgSYxoyBvonJfe6zNWj76nqStC0GAZ3p1bxnTghbz9wJyE= Received: by 83.161.120.155 with SMTP id o10mr97828wfh.1186080976369; Thu, 02 Aug 2007 11:56:16 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Thu, 2 Aug 2007 11:56:16 -0700 (PDT) Message-ID: <kimberlythompson@example.net> Date: Thu, 2 Aug 2007 13:56:16 -0500 From: "Dominique Devienne" <kimberlythompson@example.net> To: "Ant Users List" <kimberlythompson@example.net> Subject: Re: Problem with build after method signature change In-Reply-To: <kimberlythompson@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <kimberlythompson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org On 8/2/07, billf5293 <kimberlythompson@example.net> wrote: > > We are experiencing a problem with our build after a method signature change > in one of our classes. A method was changed from non-static to static. > Since the dependant class files would still compile ant did not compile > them. The result is a IncompatibleClassChangeError at runtime saying a > non-static method is expected. > > Is there any way to check class compatibility? It's generally regarded as unnecessary, since Java compiles fast enough that doing a full rebuild is much simpler and safer than trying to do an intelligent incremental build. There are IDEs and also JavaMake that do such incremental builds, and I played with JavaMake in the past, but the added complexity is not worth it IMHO. It all depends on the project size. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlythompson@example.net For additional commands, e-mail: kimberlythompson@example.net From kimberlythompson@example.net Thu Aug 02 22:13:27 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 33100 invoked from network); 2 Aug 2007 22:13:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Aug 2007 22:13:26 -0000 Received: (qmail 48660 invoked by uid 500); 2 Aug 2007 22:13:21 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 48634 invoked by uid 500); 2 Aug 2007 22:13:21 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 48623 invoked by uid 99); 2 Aug 2007 22:13:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 15:13:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail3.uniserve.ca) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 22:12:56 +0000 Received: from www by mail3.uniserve.ca with local (Exim 3.35 #1) id 1IGiua-000A9b-00 for kimberlythompson@example.net; Thu, 02 Aug 2007 15:12:52 -0700 Received: from 83.161.120.155 ( [83.161.120.155]) as user kimberlythompson@example.net by members.uniserve.com with HTTP; Thu, 2 Aug 2007 15:12:52 -0700 Message-ID: <kimberlythompson@example.net> Date: Thu, 2 Aug 2007 15:12:52 -0700 From: Mario Madunic <kimberlythompson@example.net> To: Ant Users List <kimberlythompson@example.net> Subject: iterate through files MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Virus-Checked: Checked by ClamAV on apache.org (Running Ant from a bat file triggered by a directory watching app.) Is is possible to iterate through a directory of files (that can have files added while the task is running), one at a time before running the task again? In other words I want to grab a single file parse it with an Ant task, delete it, and then start all over again till the directory is empty. Each run through the task takes about 5 seconds and don't want any collision between files (there are multiple XSLT tasks ending in one of 2 BCP inserts into a SQL Server). Using a scheduled task is a last resort. Any help will be greatly appreciated. Thanks Marijan (Mario) Madunic --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlythompson@example.net For additional commands, e-mail: kimberlythompson@example.net From kimberlythompson@example.net Thu Aug 02 23:57:17 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 87761 invoked from network); 2 Aug 2007 23:57:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Aug 2007 23:57:16 -0000 Received: (qmail 62333 invoked by uid 500); 2 Aug 2007 23:57:13 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 62297 invoked by uid 500); 2 Aug 2007 23:57:13 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 15840 invoked by uid 99); 2 Aug 2007 17:10:57 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Message-ID: <kimberlythompson@example.net> Date: Thu, 02 Aug 2007 19:10:06 +0200 From: Alexis de Bernis <kimberlythompson@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20070728) MIME-Version: 1.0 To: kimberlythompson@example.net Subject: Child processes are randomly killed (occurred with <sql> and <junit>) Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms000204010500010208050006" X-Antivirus: avast! (VPS 000763-2, 02/08/2007), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org --------------ms000204010500010208050006 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, We encountered the following troubling error when dealing with long ant tasks. When the server is heavily loaded, ANT tasks may randomly abort before their natural end. Adding the verbose flag only shows the "[DEBUG] Process finished" log without any exception. This was first occurring on the <sql> tasks with long running queries (about 2 hours to complete), but we recently had the same problem running a long <junit> test suite. We are using Ant 1.7.0, triggered by the Quickbuild (http://www.pmease.com/) build server. Running these tasks when the server is lightly loaded succeeds every time. We suspect some sort of OOM errors, but having absolutely no error report nor an exception stack trace is troublesome. Could you please help me in analyzing this problem so I can determine if the process gets killed because of Ant ? Thanks in advance, -- Alexis --------------ms000204010500010208050006 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cry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18ZTEYPtY2BF3fxR2KhkrNeQiRoYMNUZSiYArqRcDidAJ0 5PfuoTZPHTCDaO+9Sv8tDG0PJAy7FKJJ4ejS6Hpkp2ZB0owbTMkkJVDMRzMWHSlU7obFpEjY EFT/d0jyW5nwXUW/+qFt1DL3jix1zYrj+bqFK2kF79dFENeveDn/gbx1pfL9v8y3nKvAzZFr xJU2LjzK3+CSvIOpOAsSXwZM0lb7Da9czGDACttQfNmLdNcAAAAAAAA= --------------ms000204010500010208050006-- From kimberlythompson@example.net Fri Aug 03 08:09:26 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 34557 invoked from network); 3 Aug 2007 08:09:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2007 08:09:24 -0000 Received: (qmail 26868 invoked by uid 500); 3 Aug 2007 08:09:13 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 26846 invoked by uid 500); 3 Aug 2007 08:09:12 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 26818 invoked by uid 99); 3 Aug 2007 08:09:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 01:09:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO dnsinet.rzf-nrw.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 08:08:48 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [83.161.120.155]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id l7388iEj020906 for <kimberlythompson@example.net>; Fri, 3 Aug 2007 10:08:44 +0200 Received: from z011034.bk.fin.local ([83.161.120.155]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Fri, 3 Aug 2007 10:08:44 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: Problem with build after method signature change Date: Fri, 3 Aug 2007 10:08:44 +0200 Message-ID: <kimberlythompson@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with build after method signature change Thread-Index: AcfVNuNZlixwCN7WTU+VHqJlN41y8wAbkxrQ From: <kimberlythompson@example.net> To: <kimberlythompson@example.net> X-OriginalArrivalTime: 03 Aug 2007 08:08:44.0889 (UTC) FILETIME=[83157490:01C7D5A5] X-Virus-Checked: Checked by ClamAV on apache.org Yes, the first thing to do when a "curious" problem occurs is doing a "clean build". ant clean build Provide a "clean" target which deletes all generated files. Jan >-----Urspr=FCngliche Nachricht----- >Von: Dominique Devienne [mailto:kimberlythompson@example.net]=20 >Gesendet: Donnerstag, 2. August 2007 20:56 >An: Ant Users List >Betreff: Re: Problem with build after method signature change > >On 8/2/07, billf5293 <kimberlythompson@example.net> wrote: >> >> We are experiencing a problem with our build after a method=20 >signature change >> in one of our classes. A method was changed from non-static=20 >to static. >> Since the dependant class files would still compile ant did=20 >not compile >> them. The result is a IncompatibleClassChangeError at=20 >runtime saying a >> non-static method is expected. >> >> Is there any way to check class compatibility? > >It's generally regarded as unnecessary, since Java compiles fast >enough that doing a full rebuild is much simpler and safer than trying >to do an intelligent incremental build. > >There are IDEs and also JavaMake that do such incremental builds, and >I played with JavaMake in the past, but the added complexity is not >worth it IMHO. It all depends on the project size. --DD > >--------------------------------------------------------------------- >To unsubscribe, e-mail: kimberlythompson@example.net >For additional commands, e-mail: kimberlythompson@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlythompson@example.net For additional commands, e-mail: kimberlythompson@example.net From kimberlythompson@example.net Fri Aug 03 09:30:59 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 55876 invoked from network); 3 Aug 2007 09:30:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2007 09:30:58 -0000 Received: (qmail 37327 invoked by uid 500); 3 Aug 2007 09:30:54 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 37295 invoked by uid 500); 3 Aug 2007 09:30:54 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 37284 invoked by uid 99); 3 Aug 2007 09:30:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 02:30:54 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlythompson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 09:30:50 +0000 Received: by py-out-1112.google.com with SMTP id f31so1494077pyh for <kimberlythompson@example.net>; Fri, 03 Aug 2007 02:30:30 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=A+ZIAZPwFiZhQgPKZfh15B+nqXVQVvoFm6KHt60I1xJvtpJYgfeczBBAsgYnPvNUkQadFOX8nIi4/smCYrhc4uWDdjs338lzN+nGg9kPMdVdNGnUIHRfOrdEIHUdv9yIMD6UW2+iWyKt50dZpHm+nizCkqlLSyEeE9iAJ0dqQfA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=pVvIpIc6LJFDsYGdLt+F3pdEASzshANyGtxriE/OmdPO3YSMFOMc5T0K510vE5pQf8ycbNjSxeKdMft4O3QXTpOKyT6TfzUVCwvQJAHa/QG9EAYKd/BoVE1ishbAdZLYM9sa7H/XP/jO7h4SAqIXZ9jnZrV86eXSaRw3BjyfNhg= Received: by 83.161.120.155 with SMTP id y15mr4690008qba.1186133429601; Fri, 03 Aug 2007 02:30:29 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Fri, 3 Aug 2007 02:30:29 -0700 (PDT) Message-ID: <kimberlythompson@example.net> Date: Fri, 3 Aug 2007 15:00:29 +0530 From: "Anil Kumar pippalapalli" <kimberlythompson@example.net> To: kimberlythompson@example.net Subject: Help Required..... MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_78419_9466668.1186133429558" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_78419_9466668.1186133429558 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all, I have written a Ant Build File for deploying in Weblogic Server 8.1. when i try to compile java src files iam getting OutOfMemory error. I think the problem is with classpath bcoz i have library consisting of 86MB of jar files. It is giving me errors like unresolved symbol for import org.apache.struts.actions.* when i reduce the no of jar files in my library then it is not giving that errors(but remember i require all the jar files to compile my source code). Please help me in setting the classpath so that it accepts all the jar files while compiling my src code. Thanks in advance, anil. ------=_Part_78419_9466668.1186133429558-- From kimberlythompson@example.net Fri Aug 03 09:36:33 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 56946 invoked from network); 3 Aug 2007 09:36:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2007 09:36:32 -0000 Received: (qmail 41956 invoked by uid 500); 3 Aug 2007 09:36:29 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 41919 invoked by uid 500); 3 Aug 2007 09:36:29 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 41908 invoked by uid 99); 3 Aug 2007 09:36:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 02:36:28 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO cromaileu.genesys.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 09:36:25 +0000 Received: from eufrmone002.ad.internal.corp ([83.161.120.155]) by cromaileu.genesys.com with Microsoft SMTPSVC714-371-2496); Fri, 3 Aug 2007 10:36:01 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Help Required..... Date: Fri, 3 Aug 2007 11:36:00 +0200 Message-ID: <kimberlythompson@example.net> In-Reply-To: <kimberlythompson@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Help Required..... Thread-Index: AcfVsT6675xyq/J+RUeopXoz80in1wAAECig From: =?iso-8859-1?Q?Bourzeix=2C_Herv=E9?= <kimberlythompson@example.net> To: "Ant Users List" <kimberlythompson@example.net> X-OriginalArrivalTime: 03 Aug 2007 09:36:01.0365 (UTC) FILETIME=[B4444850:01C7D5B1] X-Virus-Checked: Checked by ClamAV on apache.org Try to modify the heap size and perm size of you JVM launching your ant=20 for instance :=20 -Xms128M -Xmx256M -XX:PermSize=3D64M -XX:MaxPermSize=3D128M herv=E9 -----Original Message----- From: Anil Kumar pippalapalli [mailto:kimberlythompson@example.net] Sent: Friday, August 03, 2007 11:30 AM To: kimberlythompson@example.net Subject: Help Required..... Hi all, I have written a Ant Build File for deploying in Weblogic Server 8.1. when i try to compile java src files iam getting OutOfMemory error. I think the problem is with classpath bcoz i have library consisting of = 86MB of jar files. It is giving me errors like unresolved symbol for import org.apache.struts.actions.* when i reduce the no of jar files in my library then it is not giving = that errors(but remember i require all the jar files to compile my source = code). Please help me in setting the classpath so that it accepts all the jar = files while compiling my src code. Thanks in advance, anil. --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlythompson@example.net For additional commands, e-mail: kimberlythompson@example.net From kimberlythompson@example.net Fri Aug 03 09:54:41 2007 Return-Path: <kimberlythompson@example.net> Delivered-To: kimberlythompson@example.net Received: (qmail 61241 invoked from network); 3 Aug 2007 09:54:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2007 09:54:40 -0000 Received: (qmail 69541 invoked by uid 500); 3 Aug 2007 09:54:36 -0000 Delivered-To: kimberlythompson@example.net Received: (qmail 69514 invoked by uid 500); 3 Aug 2007 09:54:36 -0000 Mailing-List: contact kimberlythompson@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kimberlythompson@example.net> List-Help: <mailto:kimberlythompson@example.net> List-Post: <mailto:kimberlythompson@example.net> List-Id: "Ant Users List" <user.ant.apache.org> Reply-To: "Ant Users List" <kimberlythompson@example.net> Delivered-To: mailing list kimberlythompson@example.net Received: (qmail 69503 invoked by uid 99); 3 Aug 2007 09:54:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 02:54:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO dnsinet.rzf-nrw.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 09:54:29 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [83.161.120.155]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id l739s6Tk029210 for <kimberlythompson@example.net>; Fri, 3 Aug 2007 11:54:06 +0200 Received: from z011034.bk.fin.local ([83.161.120.155]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Fri, 3 Aug 2007 11:54:06 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: Child processes are randomly killed (occurred with <sql> and <junit>) Date: Fri, 3 Aug 2007 11:54:06 +0200 Message-ID: <kimberlythompson@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Child processes are randomly killed (occurred with <sql> and <junit>) Thread-Index: AcfVYN1uW4n76WF5TXuqOhyagUAL0gAU0RDQ From: <kimberlythompson@example.net> To: <kimberlythompson@example.net> X-OriginalArrivalTime: 03 Aug 2007 09:54:06.0740 (UTC) FILETIME=[3B335D40:01C7D5B4] X-Virus-Checked: Checked by ClamAV on apache.org I dont think that Ant will kill long-running processes. But maybe Quickbuild does ... Could you run the task directly from command line?
{'source': 'Apache Software Foundation Public Mail Archives'}