Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Applied [HEAD] w/modifications Re: Take2: Re: [cdt-patch] Indexer patch

JohnC




Bogdan Gheorghe/Ottawa/IBM@IBMCA 
Sent by: cdt-patch-admin@xxxxxxxxxxx
09/09/2003 11:41 AM
Please respond to
cdt-patch@xxxxxxxxxxx


To
cdt-patch@xxxxxxxxxxx
cc

Subject
Take2: Re: [cdt-patch] Indexer patch







OK - since the dep tree service is now reacting to all the resource 
changes in the tests, we were getting resource locking problems. This 
patch will take care of it... 






John Camelon/Ottawa/IBM@IBMCA 
Sent by: cdt-patch-admin@xxxxxxxxxxx 
09/08/2003 08:51 AM 

Please respond to
cdt-patch@xxxxxxxxxxx


To
cdt-patch@xxxxxxxxxxx 
cc

Subject
Rejected (shame) Re: [cdt-patch] Indexer patch








JUnit failures on core-tests' AutomatedIntegrationSuite:

testElaboratedType::ClassDeclarationPattern
org.eclipse.core.internal.resources.ResourceException: Problems 
encountered while deleting resources.
       at 
org.eclipse.core.internal.resources.Resource.delete(Resource.java:656)
       at 
org.eclipse.core.internal.resources.Project.delete(Project.java:276)
       at 
org.eclipse.cdt.core.search.tests.BaseSearchTest.tearDown(BaseSearchTest.java:98)
       at junit.framework.TestCase.runBare(TestCase.java:130)
       at junit.framework.TestResult$1.protect(TestResult.java:106)
       at junit.framework.TestResult.runProtected(TestResult.java:124)
       at junit.framework.TestResult.run(TestResult.java:109)
       at junit.framework.TestCase.run(TestCase.java:118)
       at junit.framework.TestSuite.runTest(TestSuite.java:208)
       at junit.framework.TestSuite.run(TestSuite.java:203)
       at junit.framework.TestSuite.runTest(TestSuite.java:208)
       at junit.framework.TestSuite.run(TestSuite.java:203)
       at 
org.eclipse.cdt.core.suite.AutomatedIntegrationSuite.run(AutomatedIntegrationSuite.java:122)
       at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
       at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
       at 
org.eclipse.pde.internal.junit.ui.RemotePluginTestRunner.main(RemotePluginTestRunner.java:30)
       at 
org.eclipse.pde.internal.junit.ui.UITestApplication.runEventLoop(UITestApplication.java:35)
       at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
       at 
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
       at org.eclipse.core.boot.BootLoader.run(BootLoader.java:431)
       at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24)

testAddNewFileToIndex::IndexManagerTests
org.eclipse.core.internal.resources.ResourceException: Problems 
encountered while deleting resources.
       at 
org.eclipse.core.internal.resources.Resource.delete(Resource.java:656)
       at 
org.eclipse.core.internal.resources.Project.delete(Project.java:276)
       at 
org.eclipse.cdt.core.indexer.tests.IndexManagerTests.tearDown(IndexManagerTests.java:86)
       at junit.framework.TestCase.runBare(TestCase.java:130)
       at junit.framework.TestResult$1.protect(TestResult.java:106)
       at junit.framework.TestResult.runProtected(TestResult.java:124)
       at junit.framework.TestResult.run(TestResult.java:109)
       at junit.framework.TestCase.run(TestCase.java:118)
       at junit.framework.TestSuite.runTest(TestSuite.java:208)
       at junit.framework.TestSuite.run(TestSuite.java:203)
       at junit.framework.TestSuite.runTest(TestSuite.java:208)
       at junit.framework.TestSuite.run(TestSuite.java:203)
       at 
org.eclipse.cdt.core.suite.AutomatedIntegrationSuite.run(AutomatedIntegrationSuite.java:122)
       at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
       at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
       at 
org.eclipse.pde.internal.junit.ui.RemotePluginTestRunner.main(RemotePluginTestRunner.java:30)
       at 
org.eclipse.pde.internal.junit.ui.UITestApplication.runEventLoop(UITestApplication.java:35)
       at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
       at 
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
       at org.eclipse.core.boot.BootLoader.run(BootLoader.java:431)
       at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24)

There also seems to be quite a few logs to the console indicating problems 

running the tests on the code resources provided without
proper include path information.  I suggest we sit down today and try and 
come up with a good strategy for doing this properly in a 
multi-platform sort of way. 

JohnC




Bogdan Gheorghe/Ottawa/IBM@IBMCA 
Sent by: cdt-patch-admin@xxxxxxxxxxx
09/08/2003 01:50 AM
Please respond to
cdt-patch@xxxxxxxxxxx


To
cdt-patch@xxxxxxxxxxx
cc

Subject
[cdt-patch] Indexer patch







Core 
- Hooked up the Indexer to the dependency tree. Everytime a header file 
gets modified, the including source files get reindexed. 
- Automated dependency calcuations - each time a file gets modified, its 
tree gets updated. 
- Added error logging via the PDE Error Log (Views->PDE Runtime->Error 
Log) - the indexer reports unsuccesful index attempts and the preprocessor 

reports unsuccesful inclusion resolution attempts 

UI 
- Changed the names on the search popup mens 


Bogdan 
[attachment "cdt-core-patch.txt" deleted by John Camelon/Ottawa/IBM] 
[attachment "cdt-ui-patch.txt" deleted by John Camelon/Ottawa/IBM] 

_______________________________________________
cdt-patch mailing list
cdt-patch@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-patch
[attachment "cdt-core-tests-patch.txt" deleted by John Camelon/Ottawa/IBM] 
[attachment "cdt-core-patch.txt" deleted by John Camelon/Ottawa/IBM] 
[attachment "cdt-ui-patch.txt" deleted by John Camelon/Ottawa/IBM] 



Back to the top