Making packages in IntelliJ-IDEA
I u开发者_开发问答sually use .Net but now I'm playing Scala in IntelliJ 10.5.1. It's interesting how can I make a package which I can import to other projects?
If you want to create a jar file you do that through File->Project Structure->Artifacts hit the + sign choose Jar -> from module with dependencies Then you can choose whether you want all the dependencies inside your jar or not Then you can create the jar via the Build->Build Artifacts menu
When you have a new project you can reference that jar via the dependencies menu mentioned by Christian
精彩评论