changing java project module hirarchy -


when create new java project in intelij module : com.example.projectname .
how can use own domain ?
:
us.mysite.projectname

i've tried , didn't found answer.

thanks!

this name of java package. in order change package, package foo.domain.project line must changed along name of directory in code lies. seen here packages can created varying names through intellij(including possibly when creating new project), or file can change:

package foo.domain.project; 

to

package bar.dom.proj; 

and move sources src/foo/domain/project directory /bar/dom/proj directory.


Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

java - Jtable duplicate Rows -

java - Run a .jar on Heroku -