On Thu, 2011-08-25 at 21:11 +0200, Szczepan Faber wrote: [ . . . ] > > To make things easier: 10.5.1 worked for me ok with your project :).
This is good to know, but even though it works for you :-) it is not working for me :-( > What you could do: > - rebuild project in idea (stale classes, stale cache might have made > your IDE confused) > - fresh checkout and then ./gradlew idea All done. > If it still does not work can you tell me what the problem is exactly? > The symptoms you mentioned: > >project code is compiled to the > out/production directory, all the test files compiled to out/debug and > the test compile does not include the production compile results in > the > classpath The package code is compiled to out/production/ADS and the test code to out/test/ADS > Are you sure test files are compiled to out/debug? Also it seems > unlikely that production classes are not visible by the same module's > test classes because this setting is not configurable in IDEA, e.g. > compilation of test sources of idea module always uses classes of that > module. As far as I can tell "gradle idea" is generating a single module with source and test. Everything appears marked up. Everything actually appears to be compile, certainly all the class files get generated, yet I am getting: Information:Compilation completed with 198 errors and 0 warnings Information:198 errors Information:0 warnings Error:PrimitiveArrayDequeue$Iterator.class (No such file or directory) Error:PrimitiveArrayDequeue.class (No such file or directory) Error:AbstractDequeue.class (No such file or directory) Error:AbstractQueue.class (No such file or directory) Error:AbstractContainer.class (No such file or directory) Error:Container$Synchronized.class (No such file or directory) Error:Container.class (No such file or directory) Error:Queue$Synchronized.class (No such file or directory) Error:Queue.class (No such file or directory) Error:Dequeue$Synchronized.class (No such file or directory) Error:Dequeue.class (No such file or directory) . . . Error:TestRecordReader.class (No such file or directory) Error:Stack_Test.class (No such file or directory) Error:TestRecord.class (No such file or directory) Error:TreeIterator_Test.class (No such file or directory) Error:ComparablePair_Test.class (No such file or directory) Error:Queue_Test.class (No such file or directory) Error:PriorityQueue_Test.class (No such file or directory) Error:Sorting_Test.class (No such file or directory) Error:Array_Test.class (No such file or directory) Error:SLList_Test.class (No such file or directory) Whenever I try to rebuild the project. And because of this there is no attempt to run the tests. It all works fine using Gradle (or Maven) so there is nothing wrong in the source itself, the problem has to be with the generated IDEA files or IDEA running on Linux. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
