recommended directory structure for application system development
HI Gentlemen,
I have to set up my development environment under OEL 5.4. The internal directory structure is more or less fixed, the question is where to put the whole application tree in standard FHS for the development phase. For production, the system will be deployed on a server where data is kept with an Oracle 11g database. Development goes with JDeveloper which has its own internal application/project directory structure; however, I whould like to be independent from this. Unfortunately, by carefully studying the web for FHS, if I will adhere to it I only find ready-made packages to put under /opt, for example. No development aspects are mentioned. Please make some proposal, possibly with respect to best practices. Thanks, regards Miklos HERBOLY |
When you say you've set up your dev environment, does that mean you're using some kind of version control ? ... cvs, subversion, git ?
|
HI,
Instead of "you've set up" I wrote "I have to set up", that is, the directory structure exists for Windows and it should be established under Linux, too. The internal structure is irrelevant--important is only where to "hang in" the whole tree in the standard FHS. Version control is not targeted at the moment. |
Sorry... generally your app should go under /opt, I'd try to go with /opt/<name>-<version>/ and create symlinks during the deployment like:
$ ls /opt <name>-<version>/ <name>-<oldversion>/ <name>-current -> /opt/<name>-<version> <name>-previous -> /opt/<name>-<oldversion> hth |
Many thanks for the clear explanation. I will do as you proposed.
Regards, Miklos |
All times are GMT -5. The time now is 07:55 PM. |