ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1143832 - in /incubator/ace/trunk/ace-obr-storage: pom.xml src/main/java/org/apache/ace/obr/storage/file/BundleFileStore.java
Date Thu, 07 Jul 2011 14:04:30 GMT
Author: marrs
Date: Thu Jul  7 14:04:30 2011
New Revision: 1143832

URL: http://svn.apache.org/viewvc?rev=1143832&view=rev
Log:
ACE-154 Ok, now it's working again.

Modified:
    incubator/ace/trunk/ace-obr-storage/pom.xml
    incubator/ace/trunk/ace-obr-storage/src/main/java/org/apache/ace/obr/storage/file/BundleFileStore.java

Modified: incubator/ace/trunk/ace-obr-storage/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-obr-storage/pom.xml?rev=1143832&r1=1143831&r2=1143832&view=diff
==============================================================================
--- incubator/ace/trunk/ace-obr-storage/pom.xml (original)
+++ incubator/ace/trunk/ace-obr-storage/pom.xml Thu Jul  7 14:04:30 2011
@@ -47,14 +47,14 @@
         </export.package>
         <import.package>
             !org.apache.ace.obr.storage,
-            !org.apache.commons.io.*,
             org.apache.ace.obr.metadata;version=${project.version},
             *
         </import.package>
         <private.package>
             org.apache.ace.obr.storage.file,
             org.apache.ace.obr.storage.file.constants,
-            org.apache.commons.io
+            org.apache.commons.io,
+            org.apache.commons.io.*
         </private.package>
         <bundle.activator>
             org.apache.ace.obr.storage.file.Activator

Modified: incubator/ace/trunk/ace-obr-storage/src/main/java/org/apache/ace/obr/storage/file/BundleFileStore.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-obr-storage/src/main/java/org/apache/ace/obr/storage/file/BundleFileStore.java?rev=1143832&r1=1143831&r2=1143832&view=diff
==============================================================================
--- incubator/ace/trunk/ace-obr-storage/src/main/java/org/apache/ace/obr/storage/file/BundleFileStore.java
(original)
+++ incubator/ace/trunk/ace-obr-storage/src/main/java/org/apache/ace/obr/storage/file/BundleFileStore.java
Thu Jul  7 14:04:30 2011
@@ -77,6 +77,7 @@ public class BundleFileStore implements 
                 // uploaded
                 FileUtils.copyInputStreamToFile(data, tempFile);
                 FileUtils.moveFile(tempFile, file);
+                success = true;
             }
             catch (IOException e) {
                 // if anything goes wrong while reading from the input stream or



Mime
View raw message