java - How to add a project to build path in IntelliJ Idea -
i've converted on intellij idea 13, in eclipse able add project project's build path. i'm not able accomplish in intellij.
how can add project1 project2's build path can use dependency. don't want make project jar because i'm still developing it.
following similar previous question: intellij - add project dependency in eclipse
i not able achieve goal.
in file > project structure > modules
i see project i'd add build path (dataprovider) it's highlighted red, , bottom warning text states "invalid item 'dataprovider' in dependencies list'
any or assistance appreciated.
edit:
solution (thanks @leeor)
import project module
file > import module > (select project imported)
this add project project view pane on left side of screen.
then go current project
file > project structure > module > (select current project)
under dependencies
check mark project (now module) want import , click apply , ok.
done!
using intellij idea 13.1.6 on mac
if want depend on module without being jar, need import module same project. doesn't dataprovider
imported since doesn't appear in module list.
Comments
Post a Comment