Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 76013 invoked from network); 4 Sep 2007 14:45:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Sep 2007 14:45:20 -0000 Received: (qmail 32464 invoked by uid 500); 4 Sep 2007 14:45:14 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 32446 invoked by uid 500); 4 Sep 2007 14:45:14 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 32429 invoked by uid 99); 4 Sep 2007 14:45:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2007 07:45:14 -0700 X-ASF-Spam-Status: No, hits=-99.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2007 14:46:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 26A001A9832; Tue, 4 Sep 2007 07:44:46 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r572692 - /activemq/scripts/activemq-snapshots-clean.sh Date: Tue, 04 Sep 2007 14:44:45 -0000 To: commits@activemq.apache.org From: jstrachan@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20070904144446.26A001A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jstrachan Date: Tue Sep 4 07:44:45 2007 New Revision: 572692 URL: http://svn.apache.org/viewvc?rev=572692&view=rev Log: Applied the excellent patch from Dejan Bosanac to avoid deleting the last ever snapshot release! See: http://www.nabble.com/Re%3A-Missing-jars-in-maven-repo--p12478310s2354.html Modified: activemq/scripts/activemq-snapshots-clean.sh Modified: activemq/scripts/activemq-snapshots-clean.sh URL: http://svn.apache.org/viewvc/activemq/scripts/activemq-snapshots-clean.sh?rev=572692&r1=572691&r2=572692&view=diff ============================================================================== --- activemq/scripts/activemq-snapshots-clean.sh (original) +++ activemq/scripts/activemq-snapshots-clean.sh Tue Sep 4 07:44:45 2007 @@ -1,6 +1,6 @@ #!/usr/local/bin/bash -find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/ -type f -mtime +7 -exec rm {} \; -find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/camel/ -type f -mtime +7 -exec rm {} \; -find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/ -type f -mtime +7 -exec rm {} \; +find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/ -type f -mtime +7 -not -newer /www/people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/activemq-parent/maven-metadata.xml -exec rm {} \; +find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/camel/ -type f -mtime +7 -not -newer /www/people.apache.org/repo/m2-snapshot-repository/org/apache/camel/camel-parent/maven-metadata.xml -exec rm {} \; +find /www/people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/ -type f -mtime +7 -not -newer /www/people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/maven-metadata.xml -exec rm {} \; find /www/people.apache.org/repo/m2-snapshot-repository/incubator-activemq/ -type f -mtime +7 -exec rm {} \;