Add bunch of packages to project
Hi everybody,
I have a web project (about 30 packages with business logic java files and bunch of JSP files) and I want to migrate to IDEA. I created a project in IDEA and don't know how to add all packages into workspace. Maybe it's trivial but I have no clue, how to do it.
Thanks for any help
Please sign in to leave a comment.
I just forgot to specify my IDEA version. It's 4.5
I might be wrong, but I think if you paste the root package in the src
folder of the project, it'll work. I didn't test, but it makes sense.
Ah, maybe you have to push "synchronize" button.
Regards,
Franklin.
vladimir kolesnik wrote:
Thanks a lot for your help, it probably works, I just have another problem. I put third party classes to my root/exploded/WEB-INF/classes directory but IDEA can not find them. There is error in the import package statement.
vladimir kolesnik wrote:
You should set up a library for third party classes. Either module level
or project or global one. Checkout Libraries page in Settings|Project|Paths.
--
Maxim Shafirov
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
The "exploded" folder is just for output; IDEA does not read it. You need to add your third party classes as libraries in your Module Paths settings.
-Keith
Thanks a lot. I solved the problem, with your help it was peace of cake :)) I just started using IDEA and I really like it.
I was a great fan of JB*ilder, but since I took a deep look at IntelliJ,
I fell in love with it. Besides increase of productivity, with IntelliJ
I make fewer mistakes and/or it shows me where they are.
But I'm starting getting worried... What am I going to do if I don't
have it anymore? For instance, if I'm moved to another project that uses
another language? :S Ok, let's change subject. :) :D
Franklin.
vladimir kolesnik wrote:
>What am I going to do if I don't
>have it anymore? For instance, if I'm moved to another >project that uses another language?
My assumption is that, in the long term, no one is going to green-light a critical project where the base language doesn't support IDEA-quality tooling, as the productivity cost of using inferior tools will be too great. Doesn't help in the short term, though.
--Dave Griffith
Maybe you're right for the long term, but currently I'm earning money by writing C++ code on Solaris servers, no IDE, no visual debugger, just the simplest command line tools... :(