Community
Participate
Working Groups
The mirrroring application needs to validate the arguments that are being passed to it. For example, check if there is a source and a target specified on the command line and also check if the source repository exist.
The Metadata MirrorApplication.java already does this. I'll see about adding similar code to the Artifact MirrorApplication
*** Bug 249309 has been marked as a duplicate of this bug. ***
Created attachment 114044 [details] Added functionality and tests Added Metadata's MirrorApplication's validation to Artifact's MirroringApplication. Changed the expected type of exception for one of the existing ArtifactMirrorApplicationTest test cases (a result of validating the repositories) Added test cases to both test suites to verify behaviour when not given repository locations.
Released to HEAD. Thanks.