Hi guys, i'm trying to discuss mango software inside my company, to do so, i should understand the Directory Tree.
I mean wich are most iportant directories and what they are used for.
| |-- cgi
| |-- classes
| | |-- com
| | |
-- serotonin | | |-- mango
| | | |-- db ----->THIS FOR DERBY?
| | | | |-- dao
| | | | `-- upgrade
| | | |-- rt -----> THIS IS FOR...?
| | | | |-- dataSource
| | | | | |-- bacnet
| | | | | |-- ebro
| | | | | |-- galil
| | | | | |-- http
| | | | | |-- meta
| | | | | |-- modbus
| | | | | |-- nmea
| | | | | |-- onewire
Is possible to do so?
Thank you so much!
There isn't (normally) a "cgi" dir. Not sure where that would have come from. The files under "classes" represent the Mango software (Java bytecode files). Are you trying to understand the Mango code, or where Mango stores data on the file system?
no no, cgi is for another project. Sorry!
Well i need to understand where mango stores data: if i want do develop a new driver, where i've to put that? I need Stuff like that...
Even looking at the code would be great!
Thank you so much
The latest source code is always available on the Mango download page. (http://mango.serotoninsoftware.com/download.jsp). Note that Mango is not (or at least no longer) a simple application. Expect to spend some time ramping up before you'll be able to confidently start enhancing.
If you're using Derby, look in the WEB-INF/classes/env.properties file at the "db.url" property. This will point to the directory in which the Derby files are stored.
If you are familiar with Java-based web app development most of the directory structure should be self explanatory.
Thank you very much!