2008/4/28 David Leangen <[EMAIL PROTECTED]>: > > > When I do a top-level build > > > > is this a top-level build in Maven or Eclipse? > > Maven. > > So, I build in maven, then when I refresh in Eclipse, the problematic > project no longer compiles (in Eclipse). > > However, if I build from the project level (in maven) and refresh in > Eclipse, no problem. >
the only thing I can suggest is to build from the top and save the .project / .classpath files, then build locally and save them again. (perhaps also save the manifest file) then compare the 2 sets of files to spot any differences - if these files are identical then it's another problem between Eclipse and Maven and you'd have to start comparing differences in the whole tree (including the target folders) if there is a difference in the .project / .classpath files then raise a JIRA issue and attach both sets of files. > > , Eclipse complains that there is no such > > class org.example.com.json.JSonObject. It is (for whatever > > reason) > > searching in the current project (which has a > > org.example.com.json.impl > > package), and not the actual project that provides this > > package. > > > > If I again rebuild from the project level (as opposed to the > > top level), > > then the error goes away. > > > > > > Any idea why this isn't working correctly? > > > > nope, never seen this before - I typically always > > refresh Eclipse (F5) after doing a Maven build > > (at any level) and haven't seen any problems > > Lucky you. :-) > > > > remote debugging is a pain, so if you have a > > simple project that recreates this then please > > open a new JIRA issue and attach it. > > Hmmm. I think it would take two projects at least, but I haven't been > able to reproduce this. > > > > or you could switch to IDEA ;) > > He he. Yeah. Figured you'd mention that at some point. ;-) > > > > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > -- Cheers, Stuart
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general