public void setDeviceDBPath(String path) throws BuildException { try { Devices.setDatabaseDir(path); } catch (Exception e) { throw new BuildException(e); } }
private String getDeviceDefines() { DeviceProps deviceProps = Devices.getDevice(m_device); String deviceDefines = ""; if (deviceProps == null) { getProject().log("Warning: unknown device \"" + m_device + "\""); } else { deviceDefines = deviceProps.getDefinesString(); } return deviceDefines; }