Revision 37601 branches/v2_0_0_prep/extensions/org.gvsig.installer/org.gvsig.installer.lib/org.gvsig.installer.lib.impl/src/main/java/org/gvsig/installer/lib/impl/info/InstallerInfoFileReader.java
InstallerInfoFileReader.java | ||
---|---|---|
243 | 243 |
} else { |
244 | 244 |
installerInfoResource.setWebURL(null); |
245 | 245 |
} |
246 |
|
|
247 |
String ownerURLStr = properties.getProperty(InstallerInfoTags.OWNER_URL); |
|
248 |
if (ownerURLStr != null && !ownerURLStr.equals("")) { |
|
249 |
URL ownerUrl; |
|
250 |
try { |
|
251 |
ownerUrl = new URL(ownerURLStr); |
|
252 |
} catch (MalformedURLException e) { |
|
253 |
throw new InstallerInfoFileException( |
|
254 |
"Error getting the value of the owner url property as URL: " |
|
255 |
+ ownerURLStr, e); |
|
256 |
} |
|
257 |
installerInfoResource.setOwnerURL(ownerUrl); |
|
258 |
} else { |
|
259 |
installerInfoResource.setOwnerURL(null); |
|
260 |
} |
|
246 | 261 |
|
247 | 262 |
String categories = properties |
248 | 263 |
.getProperty(InstallerInfoTags.CATEGORIES); |
Also available in: Unified diff