mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Add some missing Autotools test fixes done after initial move.
- fix some findBugs issues with ProjectTools.java - make the configure script executable to support using sh -c to invoke the script
This commit is contained in:
parent
6272193b34
commit
a3a513fffb
3 changed files with 22 additions and 13 deletions
|
@ -1,3 +1,12 @@
|
|||
2012-03-30 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* src/org/eclipse/cdt/autotools/tests/ProjectTools.java
|
||||
(setup): Fix to return false when Workbench is null.
|
||||
|
||||
2012-03-30 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* zip/project2.zip: Fix autogen.sh to make the configure script executable.
|
||||
|
||||
2012-03-29 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* src/org/eclipse/cdt/autotools/tests/ProjectTools.java (build): Refresh the workspace root so resource tests
|
||||
|
|
|
@ -61,12 +61,12 @@ public class ProjectTools {
|
|||
if (!setupComplete) {
|
||||
IWorkspaceDescription desc;
|
||||
workspace = ResourcesPlugin.getWorkspace();
|
||||
root = workspace.getRoot();
|
||||
monitor = new NullProgressMonitor();
|
||||
if(workspace == null) {
|
||||
if (workspace == null) {
|
||||
return false;
|
||||
}
|
||||
if(root == null) {
|
||||
root = workspace.getRoot();
|
||||
monitor = new NullProgressMonitor();
|
||||
if (root == null) {
|
||||
return false;
|
||||
}
|
||||
desc = workspace.getDescription();
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue