Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Søren Vejrup Carlsen
committed
Sep 8, 2015
1 parent
e730c8a
commit 618a86e
Showing
8 changed files
with
216 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
.../java/dk/netarkivet/common/distribute/arcrepository/bitrepository/BitrepositoryTest3.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package dk.netarkivet.common.distribute.arcrepository.bitrepository; | ||
|
||
import java.io.File; | ||
import dk.netarkivet.common.distribute.arcrepository.bitrepository.Bitrepository; | ||
|
||
public class BitrepositoryTest3 { | ||
|
||
// FIXME kan kun køres hvis xmlParserAPIs-2.6.2.jar (fra 2003) ikke findes i classpath (skal bruge xercesImpl-2.9.1.jar istedet) | ||
// Jf. http://stackoverflow.com/questions/20473689/org-xml-sax-saxnotrecognizedexception-feature-http-javax-xml-xmlconstants-fe | ||
|
||
public static void main(String[] args) { | ||
|
||
//File configDir = new File("/home/svc/bitmag-releasetest-conf"); | ||
//File bitmagKeyfile = new File(configDir, "client-certificate.pem"); | ||
//Bitrepository bitrep = new Bitrepository(configDir, bitmagKeyfile); | ||
//bitrep.shutdown(); | ||
|
||
File configDir = new File("/home/svc/bitrepository-quickstart/commandline/conf"); | ||
//File bitmagKeyfile = new File(configDir, "client-certificate.pem"); | ||
Bitrepository bitrep = new Bitrepository(configDir, null, 1); | ||
bitrep.shutdown(); | ||
|
||
BitmagArcRepositoryClient client = new BitmagArcRepositoryClient(); | ||
|
||
} | ||
} |
Oops, something went wrong.