mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
replace paths with macros
This commit is contained in:
@@ -33,7 +33,7 @@ public class PluginModuleBuildProperties extends ModuleBuildProperties implement
|
||||
public String myPluginXMLPath;
|
||||
public PluginModuleBuildProperties(Module module) {
|
||||
myModule = module;
|
||||
myPluginXMLPath = new File(myModule.getModuleFilePath()).getParent();
|
||||
myPluginXMLPath = FileUtil.toSystemIndependentName(new File(myModule.getModuleFilePath()).getParent());
|
||||
myPluginXML = DeploymentDescriptorFactory.getInstance().createDeploymentItem(myModule, new PluginDescriptorMetaData());
|
||||
myPluginXML.setUrl(createPluginXMLURL(myPluginXMLPath));
|
||||
myPluginXML.createIfNotExists();
|
||||
@@ -111,11 +111,11 @@ public class PluginModuleBuildProperties extends ModuleBuildProperties implement
|
||||
}
|
||||
|
||||
public String getPluginXMLPath() {
|
||||
return myPluginXMLPath;
|
||||
return FileUtil.toSystemDependentName(myPluginXMLPath);
|
||||
}
|
||||
|
||||
public void setPluginXMLPath(String pluginXMLPath) {
|
||||
myPluginXMLPath = pluginXMLPath;
|
||||
myPluginXMLPath = FileUtil.toSystemIndependentName(pluginXMLPath);
|
||||
myPluginXML = DeploymentDescriptorFactory.getInstance().createDeploymentItem(myModule, new PluginDescriptorMetaData());
|
||||
myPluginXML.setUrl(createPluginXMLURL(myPluginXMLPath));
|
||||
myPluginXML.createIfNotExists();
|
||||
|
||||
Reference in New Issue
Block a user