Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

  • 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.
    Example:

    |-- WEB-INF
    | |-- cgi
    | |-- classes
    | | |-- com
    | | | -- serotonin | | | -- mango
    | | | |-- db ----->THIS FOR DERBY?
    | | | | |-- dao
    | | | | `-- upgrade
    | | | |-- rt -----> THIS IS FOR...?
    | | | | |-- dataSource
    | | | | | |-- bacnet
    | | | | | |-- ebro
    | | | | | |-- galil
    | | | | | |-- http
    | | | | | |-- meta
    | | | | | |-- modbus
    | | | | | |-- nmea
    | | | | | |-- onewire

    etcetera...

    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!