diff options
author | Ansgar Radermacher | 2014-06-25 08:41:25 +0000 |
---|---|---|
committer | Ansgar Radermacher | 2014-06-25 08:43:05 +0000 |
commit | ed6f3cf2118cc31fa1ce723c8e46277015f03979 (patch) | |
tree | 7c647ff537757d872b4f610b1e5b7906f58cf960 /extraplugins/codegen/org.eclipse.papyrus.cpp.codegen | |
parent | 5abd6bc9d22f4141df85414195bb71309d948085 (diff) | |
download | org.eclipse.papyrus-ed6f3cf2118cc31fa1ce723c8e46277015f03979.tar.gz org.eclipse.papyrus-ed6f3cf2118cc31fa1ce723c8e46277015f03979.tar.xz org.eclipse.papyrus-ed6f3cf2118cc31fa1ce723c8e46277015f03979.zip |
436368 - [C++ codegen] plugin org.eclipse.papyrus.cpp.codegen.tests needs to be moved into tests/junit/extraplugins/codegen - Add CDT feature and better handle cancel
Diffstat (limited to 'extraplugins/codegen/org.eclipse.papyrus.cpp.codegen')
-rw-r--r-- | extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/utils/LocateCppProject.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/utils/LocateCppProject.java b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/utils/LocateCppProject.java index c172369fd9b..56367253848 100644 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/utils/LocateCppProject.java +++ b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/utils/LocateCppProject.java @@ -80,6 +80,9 @@ public class LocateCppProject { if (langSupport != null) { langSupport.resetConfigurationData(); modelProject = langSupport.createProject(projectName, null); + if (modelProject == null) { + return null; + } } else { return null; |