mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 08:48:55 +00:00
490796: don't add plugin.xml to build.properties
Since by default the project wizard for the DSL typically does not generate a plugin.xml Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=490796 Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
This commit is contained in:
parent
796021f551
commit
8e54dc86b9
1 changed files with 8 additions and 0 deletions
|
@ -133,6 +133,7 @@ class SimpleProjectWizardFragment2 extends AbstractXtextGeneratorFragment {
|
|||
import org.eclipse.xtext.builder.EclipseResourceFileSystemAccess2;
|
||||
import org.eclipse.xtext.generator.IFileSystemAccess;
|
||||
import org.eclipse.xtext.generator.OutputConfiguration;
|
||||
import org.eclipse.xtext.ui.util.PluginProjectFactory;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.Lists;
|
||||
import com.google.inject.Inject;
|
||||
|
@ -151,6 +152,13 @@ class SimpleProjectWizardFragment2 extends AbstractXtextGeneratorFragment {
|
|||
protected static final String SRC_GEN_ROOT = "src-gen";
|
||||
protected final List<String> SRC_FOLDER_LIST = ImmutableList.of(SRC_ROOT, SRC_GEN_ROOT);
|
||||
|
||||
@Override
|
||||
protected PluginProjectFactory createProjectFactory() {
|
||||
PluginProjectFactory projectFactory = super.createProjectFactory();
|
||||
projectFactory.setWithPluginXml(false);
|
||||
return projectFactory;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected «projectInfoClass.simpleName» getProjectInfo() {
|
||||
return («projectInfoClass.simpleName») super.getProjectInfo();
|
||||
|
|
Loading…
Reference in a new issue