Revision 32333 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/creation/DefaultInstallerCreationService.java
DefaultInstallerCreationService.java | ||
---|---|---|
63 | 63 |
//Write the install.info file |
64 | 64 |
writeInstallInfo(); |
65 | 65 |
|
66 |
if (isAdvancedMode){ |
|
66 |
//if (isAdvancedMode){
|
|
67 | 67 |
//Create the ant file |
68 | 68 |
if (antScript != null){ |
69 | 69 |
writeAntFile(); |
... | ... | |
74 | 74 |
}catch(IOException e){ |
75 | 75 |
throw new InstallerCreationServiceException("Exception copying the ant file"); |
76 | 76 |
} |
77 |
} |
|
77 |
//}
|
|
78 | 78 |
|
79 | 79 |
//Copy the selected files |
80 | 80 |
writeSelectedFiles(); |
... | ... | |
249 | 249 |
if (super.getAntScript() != null){ |
250 | 250 |
return super.getAntScript(); |
251 | 251 |
} |
252 |
if (isAdvancedMode){ |
|
252 |
//if (isAdvancedMode){
|
|
253 | 253 |
try { |
254 | 254 |
loadAntFile(new File(getClass().getClassLoader().getResource(ANT_FILE_NAME).getFile())); |
255 | 255 |
return antScript; |
256 | 256 |
} catch (IOException e) { |
257 | 257 |
logger.error("reading the ant script model", e); |
258 | 258 |
} |
259 |
} |
|
259 |
//}
|
|
260 | 260 |
return null; |
261 | 261 |
} |
262 | 262 |
|
Also available in: Unified diff