Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA9B1E3F8 for ; Wed, 6 Mar 2013 13:57:12 +0000 (UTC) Received: (qmail 49608 invoked by uid 500); 6 Mar 2013 13:57:12 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 49485 invoked by uid 500); 6 Mar 2013 13:57:12 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 49386 invoked by uid 99); 6 Mar 2013 13:57:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 13:57:11 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simone.tripodi@gmail.com designates 209.85.219.52 as permitted sender) Received: from [209.85.219.52] (HELO mail-oa0-f52.google.com) (209.85.219.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 13:57:07 +0000 Received: by mail-oa0-f52.google.com with SMTP id k14so12296954oag.25 for ; Wed, 06 Mar 2013 05:56:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=TTeaZSF5lOgLk9bNztifNaMmtiepq5XVa34uJh72EzA=; b=Wiu9epP9miqeqbVoLo7/KNLDwfTpbsT16VrXPNOg2Y2EMqjHLanSf3pvVl5EzHXT63 leANfpGdrvr7J0IxZ54RJAmwWOS60Edcd9a4AmDsiOTyyc/9PZwEBbGHAZO9nQJTpyPj gDcUjIZwKG034m8I2tYHZtmeqKbgCsfn71/4OMvpu8Ecm4dN4iK1CPSLEc562tnDLbh+ nJ6UvDZUzAzNzTFW1AGG6EXlITrmPGBSWCD1EBWnVMY8OhyZrMh1aPQTocJdAR23hOjB NN4irp9b7JYjLeZ/eRqgqoQ1tvYq2E+iA7r9ASvLW3ToZlAwgnh/EsNjr+MoFaJ1LAIJ 7Y7w== MIME-Version: 1.0 X-Received: by 10.60.31.79 with SMTP id y15mr22857930oeh.123.1362578207303; Wed, 06 Mar 2013 05:56:47 -0800 (PST) Sender: simone.tripodi@gmail.com Received: by 10.60.31.40 with HTTP; Wed, 6 Mar 2013 05:56:47 -0800 (PST) In-Reply-To: References: Date: Wed, 6 Mar 2013 14:56:47 +0100 X-Google-Sender-Auth: remzb_U2lLD1jOW36ichEi2ipRI Message-ID: Subject: Re: [fileupload] Uploading large files - DONE From: Simone Tripodi To: Commons Developers List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org And, just for the sake of putting more steaks on the barbeque, the bundle-plugin takes care of adjusting the version in the MANIFEST.MF according to the SemVer recommendations; version is now 1.3-SNAPSHOT and look below how the MANIFEST.MF has been generated. alles gute! -Simo $ cat target/osgi/MANIFEST.MF Manifest-Version: 1.0 Bnd-LastModified: 1362567127928 Build-Jdk: 1.6.0_37 Built-By: stripodi Bundle-Description: The FileUpload component provides a simple yet flexi ble means of adding support for multipart file upload functionality to servlets and web applications. Bundle-DocURL: http://commons.apache.org/fileupload/ Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt Bundle-ManifestVersion: 2 Bundle-Name: Commons FileUpload Bundle-SymbolicName: org.apache.commons.fileupload Bundle-Vendor: The Apache Software Foundation Bundle-Version: 1.3.0.SNAPSHOT Created-By: Apache Maven Bundle Plugin DynamicImport-Package: javax.portlet Export-Package: org.apache.commons.fileupload.util;version="1.3.0.SNAPSH OT",org.apache.commons.fileupload.disk;version="1.3.0.SNAPSHOT",org.apa che.commons.fileupload;version="1.3.0.SNAPSHOT",org.apache.commons.file upload.servlet;version="1.3.0.SNAPSHOT",org.apache.commons.fileupload.p ortlet;version="1.3.0.SNAPSHOT" Import-Package: javax.servlet,javax.servlet.http,org.apache.commons.io,o rg.apache.commons.io.output Include-Resource: META-INF/LICENSE.txt=LICENSE.txt,META-INF/NOTICE.txt=N OTICE.txt Tool: Bnd-1.50.0 http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Wed, Mar 6, 2013 at 2:32 PM, Benedikt Ritter wrote: > 2013/3/6 Felix Meschberger > >> Hi, >> >> Am 06.03.2013 um 12:51 schrieb Benedikt Ritter: >> >> > 2013/3/6 sebb >> > >> >> On 6 March 2013 08:53, Simone Tripodi wrote: >> >>>>> Is there anybody that can suggest how to handle that situation? >> >>>> >> >>>> Create new methods which return long rather than int; deprecate the >> old >> >> methods. >> >>>> >> >>>> e.g. >> >>>> >> >>>> @Deprecated >> >>>> public int getContentLength() { ... } >> >>>> >> >>>> /** >> >>>> * @since x.x >> >>>> */ >> >>>> >> >>>> public long getLongContentLength() { ... } >> >>>> or >> >>>> public long getContentLengthLong() { ... } >> >>>> or >> >>>> public long longContentLength() { ... } >> >>> >> >>> that should be enough to bump to 1.3.0 since there are APIs addition - >> >>> do you agree? >> >> >> >> Yes, except it should be 1.3, not 1.3.0. >> >> If a point release is then required, it is 1.3.1, but point releases >> >> are fairly rare. >> >> >> > >> > Having OSGi this may not be the best convention, as OSGi requires version >> > numbers to have 3 digits. >> >> Not really, 1.3 is a perfectly valid OSGi version, too. Actually, even 1 >> is a valid version (according to the OSGi Syntax) >> > > Hi Felix, > > thanks for enlighting me about OSGi once again :) > > Benedikt > > >> >> Regards >> Felix >> >> > >> > Benedikt >> > >> > >> >> >> >>> -Simo >> >>> >> >>> http://people.apache.org/~simonetripodi/ >> >>> http://simonetripodi.livejournal.com/ >> >>> http://twitter.com/simonetripodi >> >>> http://www.99soft.org/ >> >>> >> >>> --------------------------------------------------------------------- >> >>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >> >>> For additional commands, e-mail: dev-help@commons.apache.org >> >>> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >> >> For additional commands, e-mail: dev-help@commons.apache.org >> >> >> >> >> > >> > >> > -- >> > http://people.apache.org/~britter/ >> > http://www.systemoutprintln.de/ >> > http://twitter.com/BenediktRitter >> > http://github.com/britter >> >> >> -- >> Felix Meschberger | Principal Scientist | Adobe >> >> >> >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >> For additional commands, e-mail: dev-help@commons.apache.org >> >> > > > -- > http://people.apache.org/~britter/ > http://www.systemoutprintln.de/ > http://twitter.com/BenediktRitter > http://github.com/britter --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org