Well, please wait for #614, we'll try to overcome the "immediate subdirectory" requirement for the compilation, but anyway setting source roots so that they are not immediate parents of the top-level packages is not recommended (other subsystems rely on this).
Currently I see 2 possibilities of your project reconfiguration: 1. move java sources to the dedicated directory and add olny this directory to the project paths 2. if you are not going to edit SQL and other files just unregister their extentions in Tools | IDE Options | File Types. Thus these files will become "unknown" to IDEA and it won't display them Best regards, Eugene Zhuravlev JetBrains, Inc / IntelliJ Software, http://www.intellij.com/ "Develop with pleasure!" ----- Original Message ----- From: "Jonas Envall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 26, 2002 18:13 Subject: Re: [Eap-list] 613: Rebuild project does nothing > Hmm, > > Our top level packages are "jnihttp" and "drc". So the SourcePath should be > set up to "C:\Projects\drc\src\". If the Project path is set up to the same > everything compiles as it should. The only "problem" here is that we have > many other subdirectories under src\ that contains C++, SQL code, etc > that I am not really interested in seeing in IDEA. That's why the Project > path was setup to only include jnihttp and drc. But if I do this it will not > rebuild project. Is there an other way to only display the jnihttp and drc > directories? > > Best Regards, > > Jonas > > Eugene Zhuravlev wrote: > > >Yes, the rule of SourcePaths tab in IDEA is that each top-level package > >should be stored in the immediate subdirectory of one of the directories > >that are added to the Source paths tab. > > > >In your case you have to add both paths to the SourcePaths tab unless > >"jnihttp" and "drc" are your top-level packages: > >C:\Projects\drc\src\jnihttp > >C:\Projects\drc\src\drc > > > >Best regards, > >Eugene Zhuravlev > >JetBrains, Inc / IntelliJ Software, http://www.intellij.com/ > >"Develop with pleasure!" > > > > > >----- Original Message ----- > >From: "Jonas Envall" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Tuesday, March 26, 2002 15:16 > >Subject: Re: [Eap-list] 613: Rebuild project does nothing > > > > > >>Hi! > >> > >>I've found the problem. In our project we have two directories > >>C:\Projects\drc\src\drc and > >>C:\Projects\drc\src\jnihttp. In the "Projects" path we have entries one > >>for these two. In the > >>Sourcepath we used to have one entry: C:\Projects\drc\src. This does not > >>seem to work any > >>more. When I added both subdirectories to Sourcepath it works fine. > >> > >>/Jonas > >> > >>Jonas Envall wrote: > >> > >>>Hi! > >>> > >>>I have just downloaded 613 and set up a new project with the same > >>>settings as I used before. When I try "Rebuild project" nothing happens. > >>>The same thing with "Make Project", though I have modified sources. > >>>Compile "XXX" still works though. The > >>> > >>>/Jonas > >>> > >>> > >>> > >>>_______________________________________________ > >>>Eap-list mailing list > >>>[EMAIL PROTECTED] > >>>http://www.intellij.com/mailman/listinfo/eap-list > >>> > >> > >> > >> > >>_______________________________________________ > >>Eap-list mailing list > >>[EMAIL PROTECTED] > >>http://www.intellij.com/mailman/listinfo/eap-list > >> > > > > > >_______________________________________________ > >Eap-list mailing list > >[EMAIL PROTECTED] > >http://www.intellij.com/mailman/listinfo/eap-list > > > > > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
