View Javadoc
1   package org.kuali.ole.db.sql;
2   
3   import org.kuali.common.util.DefaultProjectContext;
4   import org.kuali.common.util.Str;
5   import org.kuali.ole.utility.Constants;
6   
7   import java.util.ArrayList;
8   import java.util.List;
9   
10  public class OleTestSqlProjectContext extends DefaultProjectContext {
11  
12  	private static final String ARTIFACT_ID = "ole-test-sql";
13  
14  	public OleTestSqlProjectContext() {
15  		super(Constants.GROUP_ID, ARTIFACT_ID, getLocations());
16  	}
17  
18  	private static List<String> getLocations() {
19  		List<String> locations = new ArrayList<String>();
20  		locations.add("classpath:" + Str.getPath(Constants.GROUP_ID) + "/" + ARTIFACT_ID + "/tst-sql-controller.properties");
21  		return locations;
22  	}
23  }