Oh, I forgot. You can run the test as: mvn exec:exec -Dfoobar.identity='YOURS3IDENTITY' -Dfoobar.credential='YOURS3CREDENTIAL'
Expected output is 'Awesome! We did it!'. Currently, the output is: Exception in thread "main" com.google.inject.CreationException: Guice creation errors: 1) A binding to org.jclouds.aws.s3.blobstore.strategy.MultipartUploadStrategy was already configured at experimental.multipartupload.config.MyCustomMultipartUploadModule.configure(MyCustomMultipartUploadModule.java:17). at org.jclouds.aws.s3.blobstore.config.AWSS3BlobStoreContextModule.configure(AWSS3BlobStoreContextModule.java:47) 1 error at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435) at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106) at com.google.inject.Guice.createInjector(Guice.java:95) at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:405) at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:329) at org.jclouds.ContextBuilder.buildView(ContextBuilder.java:620) at org.jclouds.ContextBuilder.buildView(ContextBuilder.java:600) at experimental.multipartupload.MPUStrategyInjectionTest.<init>(MPUStrategyInjectionTest.java:29) at experimental.multipartupload.MPUStrategyInjectionTest.main(MPUStrategyInjectionTest.java:45) On Mon, Jul 29, 2013 at 1:46 PM, Nikola Knezevic <[email protected]> wrote: > Hi Andrew, > > a small project (written by Marcus Brandenburger) that shows the > problem is available here: > <https://gist.github.com/anonymous/c139fae4b9065c703fa5> > > I modified it a little bit, to include the complete structure that our code > has. > > Best, > Nikola > > On Thu, Jul 25, 2013 at 4:34 PM, Andrew Phillips <[email protected]> wrote: >>> The code in question follow. The most notable change is the explicit >>> call to super(...), where I create new MPUSlicingAlgo, as we have our >>> own as well. >> >> >> Could you create a Gist or Pastie of the section where you're creating the >> context and supplying the modules (if any) to be bound..? >> >> Thanks! >> >> ap
