Revision 37922 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 | ||
---|---|---|
185 | 185 |
|
186 | 186 |
String urlStr = properties.getProperty(InstallerInfoTags.DOWNLOAD_URL); |
187 | 187 |
if (urlStr != null) { |
188 |
URL downloadURL; |
|
189 |
try { |
|
190 |
downloadURL = new URL(urlStr); |
|
191 |
} catch (MalformedURLException e) { |
|
192 |
throw new InstallerInfoFileException( |
|
193 |
"Error getting the value of the download url property as URL: " |
|
194 |
+ urlStr, e); |
|
195 |
} |
|
196 |
installerInfoResource.setDownloadURL(downloadURL); |
|
188 |
installerInfoResource.setDownloadURL(urlStr); |
|
197 | 189 |
} |
198 | 190 |
|
199 | 191 |
String modelVersion = properties |
Also available in: Unified diff