Revision 34019 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/DefaultMakePluginPackageService.java
DefaultMakePluginPackageService.java | ||
---|---|---|
42 | 42 |
import java.util.Map; |
43 | 43 |
|
44 | 44 |
import org.slf4j.Logger; |
45 |
import org.slf4j.LoggerFactory; |
|
45 | 46 |
|
46 | 47 |
import org.gvsig.installer.lib.api.InstallerManager; |
47 | 48 |
import org.gvsig.installer.lib.api.PackageInfo; |
... | ... | |
58 | 59 |
public class DefaultMakePluginPackageService implements |
59 | 60 |
MakePluginPackageService { |
60 | 61 |
|
62 |
private static final Logger LOG = LoggerFactory |
|
63 |
.getLogger(DefaultMakePluginPackageService.class); |
|
64 |
|
|
61 | 65 |
public static final String ANT_FILE_NAME = "install.xml"; |
62 | 66 |
public static final String COPIED_FILES_DIRECTORY_NAME = "files"; |
63 | 67 |
private File pluginsDirectory; |
... | ... | |
159 | 163 |
public void createPackageSet(PackageInfo packageInfo, |
160 | 164 |
OutputStream packageStream) throws MakePluginPackageServiceException { |
161 | 165 |
|
166 |
LOG.debug("Creating a package set of the package info: \n{0}", |
|
167 |
packageInfo); |
|
168 |
|
|
162 | 169 |
writeAdditionalFiles(packageInfo); |
163 | 170 |
String pluginFileName = manager.getPackageFileName(packageInfo); |
164 | 171 |
installerProviderServices.compressPackageSet( |
... | ... | |
183 | 190 |
public void createPackage(PackageInfo packageInfo, |
184 | 191 |
OutputStream packageStream) throws MakePluginPackageServiceException { |
185 | 192 |
|
193 |
LOG.debug("Creating package of the package info: \n{0}", packageInfo); |
|
194 |
|
|
186 | 195 |
writeAdditionalFiles(packageInfo); |
187 | 196 |
installerProviderServices.compressPackage( |
188 | 197 |
getAbsolutePluginPackageDirectory(packageInfo), packageStream); |
Also available in: Unified diff