9.0b: Adding src folder -> marked as (library home)

Hi

Testing the 9.0beta.

I have 2 modules

module a
module b


whan I add src folder of module a to the classpath of module b, the folloowing happens

* src folder of "module a" is marked (library home)
* "Ctrl+N" no longer works for classes in module a, unless I type in the entire name.

Is there anything I can "adjust" to make it work?  It works flawless in idea 8.

I need the following when I do GWT programming. GWT needs the src folder on the classpath.
I do not use the GWT plugin of intellij (gwt version specific), but a java class "StartClient.java" tailormade to our setup,
so eclipse users / netbeans etc can use it.


I hope you can help me?

Regards
Flemming

2 comments
Comment actions Permalink

Hello fklemming,

Instead of adding the source folder to the classpath, please add a module
dependency instead.

Hi

Testing the 9.0beta.

I have 2 modules

module a
module b
whan I add src folder of module a to the classpath of module b, the
folloowing happens

  • src folder of "module a" is marked (library home) * "Ctrl+N" no

longer works for classes in module a, unless I type in the entire
name.

Is there anything I can "adjust" to make it work?  It works flawless
in idea 8.

I need the following when I do GWT programming. GWT needs the src
folder on the classpath.

I do not use the GWT plugin of intellij (gwt version specific), but a
java class "StartClient.java" tailormade to our setup,

so eclipse users / netbeans etc can use it.

I hope you can help me?

Regards
Flemming
---
Original message URL:
http://www.jetbrains.net/devnet/message/5250021#5250021

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hi

thanks for your suggestion, but

Adding it as a folder is okay for compiling tha project in idea, but
when running the GWT application it will complain that the source files
can not be found.

tested both idea 8 and 9. Even though the classpath include the special entry  <Module source>


Regards Flemming

0

Please sign in to leave a comment.