public PluginBuildConfiguration(@NotNull Module module) { myModule = module; myPluginXmlContainer = ConfigFileFactory.getInstance().createSingleFileContainer(myModule.getProject(), PluginDescriptorConstants.META_DATA); Disposer.register(module, myPluginXmlContainer); }
private void createDescriptor(final String url) { final ConfigFileInfo descriptor = new ConfigFileInfo(PluginDescriptorConstants.META_DATA, url); myPluginXmlContainer.getConfiguration().addConfigFile(descriptor); ConfigFileFactory.getInstance().createFile(myModule.getProject(), descriptor.getUrl(), PluginDescriptorConstants.META_DATA.getDefaultVersion(), false); }
public PluginBuildConfiguration(Module module) { myModule = module; myPluginXmlContainer = ConfigFileFactory.getInstance().createSingleFileContainer(myModule.getProject(), PluginDescriptorConstants.META_DATA); Disposer.register(module, myPluginXmlContainer); myBuildParticipant = new PluginBuildParticipant(module, this); }