File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes IDEA 4:  src folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "IDEA 4:  src folder" Watch "IDEA 4:  src folder" New topic
Author

IDEA 4: src folder

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15289
    
    6

I have noticed that in IDEA 4 I have to have my source files in appropriate packages. I'm not sure how this is going to effect my build.xml yet. Typically, I can just keep the source files in my src folder at the root. Then they get compiled into the packages correctly into the classes folder. Is this something I can change in IDEA?


GenRocket - Experts at Building Test Data
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

ewww! You keep all your source files in one directory? ewwww! Bad Developer. Bad Developer.
Have never thought to do that, and from what settings I've seen on IDEA, there's nothing that would let you do that. I think you might be S.O.L.


- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15289
    
    6

Originally posted by Jessica Sant:
ewww! You keep all your source files in one directory? ewwww! Bad Developer. Bad Developer.
Have never thought to do that, and from what settings I've seen on IDEA, there's nothing that would let you do that. I think you might be S.O.L.

Scolded by Jess. I feel so dirty and ashamed. Yet, oddly, excited.
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Several suggestions:
1. For each module, you can have multiple "content root". You can add your root src directory to each module.
2. A much better solution is to use CVS as your source code repository. You only need to check out source code to whatever the directory (or whatever the computer) you happens to work on. After you are done, you can safely delete all local source code files.
cheers
Michael


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IDEA 4: src folder
 
Similar Threads
NetBeans: how does a "Web Module" work ?
ant for generating and deploying a java based web application
(ANT) Error: No source files and no packages been specified
Can't find mapping file
Eclipse Source Folder Management