• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to import sources on local file system into an IDEA project?

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Friends,

I'm in the transition from Eclipse to Intellij IDEA,
I have some source files on the local file system and I'd like to import them into my project that I have created in IDEA. This can be easily done in Eclipse by importing file system.

I could not figure out how the same could be done in IDEA. I've tried to look through the online documentation but could not find anything.

Any inputs/pointers are greatly appreciated.

Thanks,
[ January 03, 2005: Message edited by: Pavan Kumar Panduga ]
 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It works if you drop the file manually to the folder your projects saved (just like drag and drop). And than start IntelliJ, it should find all the new files.
It is different to Eclipse, where you must using Import File System (it wont work if you do manual drag and drop).
Each solution has positive and negativ sides I think.

If you are not satisfied than you should drop a message at http://www.intellij.net/forums/forum.jsp?forum=27
The JetBrains people will reply you.
 
Pavan Panduga
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sanjaya,

Thank you so much for your inputs. Yes, it works great.

Thanks for that forum link.

Pavan,
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also keep in mind that if you already have existing projects you can create a new project with intellij and simply navigate to your existing project source folder in order for it to import the existing source. This will work when creating multi-module projects as well.

I do this all the time with existing projects that have their own Ant build scripts as well. It works like a charm. Also, the feature that was mentioned above (dropping files into the directory) works with version control systems as well. For example, if you check out files that were added to a project from your version control system they will show up in your project automatically too.

Also note that there is no reason to restart intellij. It will recognize these files while it is running.

Frank
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic