Exemplo n.º 1
0
 public void setDeviceDBPath(String path) throws BuildException {
   try {
     Devices.setDatabaseDir(path);
   } catch (Exception e) {
     throw new BuildException(e);
   }
 }
Exemplo n.º 2
0
 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;
 }