|
|
@ -22,7 +22,6 @@ import com.fr.file.CacheManager; |
|
|
|
import com.fr.file.DatasourceManager; |
|
|
|
import com.fr.file.DatasourceManager; |
|
|
|
import com.fr.file.DatasourceManagerProvider; |
|
|
|
import com.fr.file.DatasourceManagerProvider; |
|
|
|
import com.fr.file.filetree.FileNode; |
|
|
|
import com.fr.file.filetree.FileNode; |
|
|
|
import com.fr.form.share.ShareConstants; |
|
|
|
|
|
|
|
import com.fr.general.*; |
|
|
|
import com.fr.general.*; |
|
|
|
import com.fr.general.http.HttpClient; |
|
|
|
import com.fr.general.http.HttpClient; |
|
|
|
import com.fr.json.JSONArray; |
|
|
|
import com.fr.json.JSONArray; |
|
|
@ -32,8 +31,6 @@ import com.fr.plugin.Plugin; |
|
|
|
import com.fr.plugin.PluginLicense; |
|
|
|
import com.fr.plugin.PluginLicense; |
|
|
|
import com.fr.plugin.PluginLicenseManager; |
|
|
|
import com.fr.plugin.PluginLicenseManager; |
|
|
|
import com.fr.plugin.PluginLoader; |
|
|
|
import com.fr.plugin.PluginLoader; |
|
|
|
import com.fr.plugin.dependence.PluginServiceCreator; |
|
|
|
|
|
|
|
import com.fr.plugin.dependence.PluginServiceManager; |
|
|
|
|
|
|
|
import com.fr.stable.*; |
|
|
|
import com.fr.stable.*; |
|
|
|
import com.fr.stable.file.XMLFileManagerProvider; |
|
|
|
import com.fr.stable.file.XMLFileManagerProvider; |
|
|
|
import com.fr.stable.project.ProjectConstants; |
|
|
|
import com.fr.stable.project.ProjectConstants; |
|
|
@ -2125,7 +2122,7 @@ public class RemoteEnv implements Env { |
|
|
|
HttpClient client = createHttpMethod(para); |
|
|
|
HttpClient client = createHttpMethod(para); |
|
|
|
InputStream input = client.getResponseStream(); |
|
|
|
InputStream input = client.getResponseStream(); |
|
|
|
zip = new File(StableUtils.pathJoin(CacheManager.getProviderInstance().getCacheDirectory().getAbsolutePath()), "share.zip"); |
|
|
|
zip = new File(StableUtils.pathJoin(CacheManager.getProviderInstance().getCacheDirectory().getAbsolutePath()), "share.zip"); |
|
|
|
cacheDir = new File(StableUtils.pathJoin(CacheManager.getProviderInstance().getCacheDirectory().getAbsolutePath()), ShareConstants.DIR_SHARE_CACHE); |
|
|
|
cacheDir = new File(StableUtils.pathJoin(CacheManager.getProviderInstance().getCacheDirectory().getAbsolutePath()), "fr_share"); |
|
|
|
StableUtils.deleteFile(cacheDir); |
|
|
|
StableUtils.deleteFile(cacheDir); |
|
|
|
StableUtils.mkdirs(cacheDir); |
|
|
|
StableUtils.mkdirs(cacheDir); |
|
|
|
StableUtils.makesureFileExist(zip); |
|
|
|
StableUtils.makesureFileExist(zip); |
|
|
|