LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-27-2010, 10:22 AM   #1
mherboly
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Rep: Reputation: 0
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
 
Old 04-27-2010, 10:59 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
When you say you've set up your dev environment, does that mean you're using some kind of version control ? ... cvs, subversion, git ?
 
Old 04-28-2010, 03:32 AM   #3
mherboly
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 04-28-2010, 09:59 AM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
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
 
Old 04-29-2010, 05:27 AM   #5
mherboly
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Many thanks for the clear explanation. I will do as you proposed.

Regards,
Miklos
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert directory structure from long file names in Linux to DOS 8.3 structure? manorina Linux - Software 5 09-12-2009 10:18 AM
Home Jail Folder Structure like Gobolinux Directory Structure luispt Linux - General 3 07-26-2008 07:46 PM
Application file structure questions (setup and detection) c0uchm0nster Programming 4 09-25-2007 03:48 PM
"WARNING: Circular directory structure" error when deleting directory pistonbrew Linux - Software 5 02-03-2005 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration