Commit 1460300b authored by Kristof Szabados's avatar Kristof Szabados
Browse files

wizards should also regenerate the makefile instead of deleting it.

parent 384b02ef
......@@ -132,10 +132,10 @@ public final class TITANBuilder extends IncrementalProjectBuilder {
public IStatus runInWorkspace(final IProgressMonitor monitor) {
boolean proceedingOK = SymbolicLinkHandler.createSymlinks(resouce);
if (proceedingOK) {
proceedingOK = TITANBuilder.removeExecutable(resouce.getProject());
proceedingOK = TITANBuilder.regenerateMakefile(resouce.getProject());
}
if (proceedingOK) {
proceedingOK = TITANBuilder.removeMakefile(resouce.getProject());
proceedingOK = TITANBuilder.removeExecutable(resouce.getProject());
}
if (proceedingOK) {
TITANBuilder.invokeBuild(resouce.getProject());
......
......@@ -108,10 +108,10 @@ public final class NewASN1ModuleWizard extends BasicNewResourceWizard {
public IStatus runInWorkspace(final IProgressMonitor monitor) {
boolean proceedingOK = SymbolicLinkHandler.createSymlinks(newModule);
if (proceedingOK) {
proceedingOK = TITANBuilder.removeExecutable(newModule.getProject());
proceedingOK = TITANBuilder.regenerateMakefile(newModule.getProject());
}
if (proceedingOK) {
proceedingOK = TITANBuilder.removeMakefile(newModule.getProject());
proceedingOK = TITANBuilder.removeExecutable(newModule.getProject());
}
if (proceedingOK) {
TITANBuilder.invokeBuild(newModule.getProject());
......
......@@ -109,10 +109,10 @@ public final class NewTTCN3ModuleWizard extends BasicNewResourceWizard {
public IStatus runInWorkspace(final IProgressMonitor monitor) {
boolean proceedingOK = SymbolicLinkHandler.createSymlinks(newModule);
if (proceedingOK) {
proceedingOK = TITANBuilder.removeExecutable(newModule.getProject());
proceedingOK = TITANBuilder.regenerateMakefile(newModule.getProject());
}
if (proceedingOK) {
proceedingOK = TITANBuilder.removeMakefile(newModule.getProject());
proceedingOK = TITANBuilder.removeExecutable(newModule.getProject());
}
if (proceedingOK) {
TITANBuilder.invokeBuild(newModule.getProject());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment