Project

General

Profile

« Previous | Next » 

Revision 3780

Added by daigle about 16 years ago

Changes to remove ANT tokens for the turnkey install project

View differences:

OnlineDataAccessTest.java
33 33
import java.util.SimpleTimeZone;
34 34
import java.util.TimeZone;
35 35

  
36
import edu.ucsb.nceas.metacat.MetaCatUtil
36 37
import edu.ucsb.nceas.metacat.client.InsufficientKarmaException;
37 38
import edu.ucsb.nceas.metacat.client.Metacat;
38 39
import edu.ucsb.nceas.metacat.client.MetacatAuthException;
......
51 52
public class OnlineDataAccessTest
52 53
    extends TestCase {
53 54

  
54
    private String metacatUrl = "@systemidserver@@servlet-path@";
55
    private String username = "@mcuser@";
56
    private String password = "@mcpassword@";
57
    private String anotheruser = "@mcanotheruser@";
58
    private String anotherpassword = "@mcanotherpassword@";
55
    private String metacatUrl = MetaCatUtil.getOption("metacatUrl");
56
    private String username = MetaCatUtil.getOption("mcuser");
57
    private String password = MetaCatUtil.getOption("mcpassword");
58
    private String anotheruser = MetaCatUtil.getOption("mcanotheruser");
59
    private String anotherpassword = MetaCatUtil.getOption("mcanotherpassword");
59 60
    private String prefix = "test";
60 61
    private String newdocid = null;
61 62
    private String onlineDocid = null;

Also available in: Unified diff