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

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -