Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 35356 invoked from network); 8 Jun 2007 23:11:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jun 2007 23:11:05 -0000 Received: (qmail 57070 invoked by uid 500); 8 Jun 2007 23:11:07 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 56700 invoked by uid 500); 8 Jun 2007 23:11:05 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 56689 invoked by uid 99); 8 Jun 2007 23:11:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2007 16:11:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jason.dillon@gmail.com designates 64.233.162.229 as permitted sender) Received: from [64.233.162.229] (HELO nz-out-0506.google.com) (64.233.162.229) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2007 16:11:01 -0700 Received: by nz-out-0506.google.com with SMTP id i11so794854nzh for ; Fri, 08 Jun 2007 16:10:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=LCBtLdYpl8uKbijemfcNeviCp2R+I225kGr89tMkSciZ+Rs4Z2McSdanyAbmAUdjYrVHfMdrz+QrKgs7hjNCGg4ARRv7n190yimUVzalHYEItNTTON4MEKMeCwVMreGiB090IYr0ocGnWVod6EZM0D5LsJK07wv19Xxc1xvwNzw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=IWgEjtJY38JfliGkjaRKghnCSXBXJpUDzW8YG8GumMUcpgKUbJZWJ0IQRfTL+mrwIpkBSI3XVeNEib7I8q81+p6tAsNGAtLTdcuGwECbeJv593Y17PQqeZlBIKhwDJ3pK2rSVHgE0bmcu2r5lwdQfoxOejWiUf1jS03dbEqaNxE= Received: by 10.115.33.1 with SMTP id l1mr3088432waj.1181344239742; Fri, 08 Jun 2007 16:10:39 -0700 (PDT) Received: from ?10.0.1.100? ( [24.7.69.241]) by mx.google.com with ESMTP id m24sm1271141waf.2007.06.08.16.10.38 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Jun 2007 16:10:38 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <4669D5CD.2050706@apache.org> References: <389819.23859.qm@web31707.mail.mud.yahoo.com> <34DA47D4-F9B0-42C9-8EC5-F1CD1F75C4EA@planet57.com><4669D499.4040305@apache.org> <1876531454-1181341023-cardhu_decombobulator_blackberry.rim.net-1965781087-@bxe125.bisx.prod.on.blackberry> <4669D5CD.2050706@apache.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <050AB942-64EC-470B-982C-64C860353B66@planet57.com> Content-Transfer-Encoding: 7bit From: Jason Dillon Subject: Re: Build failure "Error parsing web.xml for ." Date: Fri, 8 Jun 2007 16:10:34 -0700 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) Sender: Jason Dillon X-Virus-Checked: Checked by ClamAV on apache.org On Jun 8, 2007, at 3:18 PM, Jeff Genender wrote: > Darn it!!!...Jason's slop once again, eh? ;-) :-P --jason > Cool stuff. (I'm j.k) ;-) > > Jeff > > jason.dillon@gmail.com wrote: >> No it was appending to the generated file not overwriting. >> >> I rewrote those bits in groovy and used: >> >> file << string >> >> Instead of: >> >> file.write(string) >> >> The latter being the correct behavior and the fix to this problem. >> >> --jason >> >> >> -----Original Message----- >> From: Jeff Genender >> >> Date: Fri, 08 Jun 2007 16:13:45 >> To:dev@geronimo.apache.org >> Subject: Re: Build failure "Error parsing web.xml for ." >> >> >> Was it a cleanup issue? >> >> Jeff >> >> Jason Dillon wrote: >>> There is nothing attached to this mail... but Paul has given me an >>> example of the failure and I think I have fixed it with his help. >>> >>> Can you try the latest snapshot, with mvn -U? >>> >>> --jason >>> >>> >>> On Jun 8, 2007, at 2:57 PM, Anita Kulshreshtha wrote: >>> >>>> I am attaching jspweb.xml (2 web-apps) from the target >>>> directory and >>>> web.xml (3 web-apps) from >>>> target/geronimo-ldap-demo-2.0-SNAPSHOT/WEB-INF/web.xml. >>>> >>>> Thanks >>>> Anita >>>> >>>> --- Jason Dillon wrote: >>>> >>>>> Can you please paste me the full web.xml with the duplicates? >>>>> >>>>> --jason >>>>> >>>>> >>>>> On Jun 8, 2007, at 12:04 PM, Anita Kulshreshtha wrote: >>>>> >>>>>> I can reproduce this on win XP. If I build geronimo-ldap-demo 3 >>>>>> times >>>>>> w/o clean, I get 3 copies of !!! >>>>>> >>>>>> Thanks >>>>>> Anita >>>>>> >>>>>> --- Donald Woods wrote: >>>>>> >>>>>>> Did you mvn clean before rebuilding? >>>>>>> >>>>>>> I'm still seeing weird behavior from the latest jspc-maven- >>>>>>> plugin >>>>> on >>>>>>> Windows >>>>>>> and SLED10 if I build individual modules by hand w/o running mvn >>>>>>> clean first, >>>>>>> like its adding duplicate sections to the web.xml.... >>>>>>> >>>>>>> -Donald >>>>>>> >>>>>>> Sachin Patel wrote: >>>>>>>> I keep hitting the following build error on LDAP Demo for >>>>>>>> Jetty, >>>>>>> even on >>>>>>>> a clean repo on mac os x. >>>>>>>> >>>>>>>> Error prasing web.xml for . >>>>>>>> >>>>>>>> Unexpected element: XML_DOC_OR_TEXT_DECL >>>>>>>> >>>>>>>> -sachin >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>> ___________________________________________________________________ >>>> ___ >>>>>> ______________ >>>>>> Choose the right car based on your needs. Check out Yahoo! Autos >>>>>> new Car Finder tool. >>>>>> http://autos.yahoo.com/carfinder/ >>>>> >>>> >>>> >>>> >>>> ___________________________________________________________________ >>>> _________________ >>>> >>>> Get the Yahoo! toolbar and be alerted to new email wherever you're >>>> surfing. >>>> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php>>> version="1.0" encoding="ISO-8859-1"?> >>>> >>>> >>>> >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee >>>> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >>>> version="2.4"> >>>> >>>> >>>> >>>> index.html >>>> >>>> >>>> >>>> >>>> Admin Role >>>> /protect/* >>>> >>>> >>>> content-administrator >>>> >>>> >>>> >>>> >>>> >>>> No Access >>>> /forbidden/* >>>> >>>> >>>> >>>> >>>> >>>> FORM >>>> MYREALM >>>> >>>> /auth/logon.html?param=test>>> login-page> >>>> >>>> /auth/logonError.html?param=test >>>> >>>> >>>> >>>> >>>> content-administrator >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee >>>> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >>>> version="2.4"> >>>> >>>> >>>> >>>> index.html >>>> >>>> >>>> >>>> >>>> Admin Role >>>> /protect/* >>>> >>>> >>>> content-administrator >>>> >>>> >>>> >>>> >>>> >>>> No Access >>>> /forbidden/* >>>> >>>> >>>> >>>> >>>> >>>> FORM >>>> MYREALM >>>> >>>> /auth/logon.html?param=test>>> login-page> >>>> >>>> /auth/logonError.html?param=test >>>> >>>> >>>> >>>> >>>> content-administrator >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee >>>> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >>>> version="2.4"> >>>> >>>> >>>> >>>> index.html >>>> >>>> >>>> >>>> >>>> Admin Role >>>> /protect/* >>>> >>>> >>>> content-administrator >>>> >>>> >>>> >>>> >>>> >>>> No Access >>>> /forbidden/* >>>> >>>> >>>> >>>> >>>> >>>> FORM >>>> MYREALM >>>> >>>> /auth/logon.html?param=test>>> login-page> >>>> >>>> /auth/logonError.html?param=test >>>> >>>> >>>> >>>> >>>> content-administrator >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee >>>> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >>>> version="2.4"> >>>> >>>> >>>> >>>> index.html >>>> >>>> >>>> >>>> >>>> Admin Role >>>> /protect/* >>>> >>>> >>>> content-administrator >>>> >>>> >>>> >>>> >>>> >>>> No Access >>>> /forbidden/* >>>> >>>> >>>> >>>> >>>> >>>> FORM >>>> MYREALM >>>> >>>> /auth/logon.html?param=test>>> login-page> >>>> >>>> /auth/logonError.html?param=test >>>> >>>> >>>> >>>> >>>> content-administrator >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee >>>> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >>>> version="2.4"> >>>> >>>> >>>> >>>> index.html >>>> >>>> >>>> >>>> >>>> Admin Role >>>> /protect/* >>>> >>>> >>>> content-administrator >>>> >>>> >>>> >>>> >>>> >>>> No Access >>>> /forbidden/* >>>> >>>> >>>> >>>> >>>> >>>> FORM >>>> MYREALM >>>> >>>> /auth/logon.html?param=test>>> login-page> >>>> >>>> /auth/logonError.html?param=test >>>> >>>> >>>> >>>> >>>> content-administrator >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee >>>> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >>>> version="2.4"> >>>> >>>> >>>> >>>> index.html >>>> >>>> >>>> >>>> >>>> Admin Role >>>> /protect/* >>>> >>>> >>>> content-administrator >>>> >>>> >>>> >>>> >>>> >>>> No Access >>>> /forbidden/* >>>> >>>> >>>> >>>> >>>> >>>> FORM >>>> MYREALM >>>> >>>> /auth/logon.html?param=test>>> login-page> >>>> >>>> /auth/logonError.html?param=test >>>> >>>> >>>> >>>> >>>> content-administrator >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>