Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 7 of 7
  1. #1
    SuseOX Guest

    Post Integrate into an IDE

    Hello,
    I've one question, i want to understand how OX has been developped and maybe to have the possbility to develop a module to add to OX server. That's while i wanted to integrate into an IDE like netbeans or eclipse but i cant'.
    My question is : how i can integrate OX code into my IDE. How i can rebuild the arborescence of this program.

    Can I for example add a new module write in a java language or other language and integrate into the OX server.
    What is the best if i want to developp and integrate a module ?
    Thx to explain me ^^ and sorry for the question !

    Thx for you help because it's very important for me !
    Last edited by SuseOX; 01-30-2008 at 01:18 PM.

  2. #2
    SuseOX Guest

    Default

    Please it's important for me ! How to integrate OX into Eclipse or what is the best way to develop a module, thx !
    Last edited by SuseOX; 01-31-2008 at 09:51 AM.

  3. #3
    SuseOX Guest

    Default

    Hello, ok i reformulate my question.
    Maybe I interpreted wrongly my question.

    It's diffucult for me with english . Ok, so my question was i want to integrate the source code into eclipse or netbeans. In fact, i want the structure, the body to have the possibility to modify it or to rebuild it. How can I do this ?

    Or else what is the best way to create a module, for example i see to add a user, we must write the command into the shell. I want to developp an interface to have the possibility to make this and add it in OX ?

    Sorry for the flood but i'm a noob who want to improve him. And thanx for your patience
    Last edited by SuseOX; 02-04-2008 at 08:12 AM.

  4. #4
    woodart Guest

    Default

    As far as creating users go, you can access the admin module from http://<yourserver>/ox/admin and create users from there or use a script like this (to be placed in /opt/open-xchange/sbin along with the import file):
    Code:
    #!/usr/bin/perl
    # file: imports.pl
    if ($#ARGV < 0)
    {
    	print "Usage: imports.pl <importfile>\n";
    	exit;
    }
    $data_file	= $ARGV[0];
    $pwd		= "secret";
    $domain		= "domain.com";
    $timezone	= "Europe/Paris";
    $lang		= "fr_FR";
    $quota		= 10240;
    $context	= 1;
    
    open(FILE, $data_file) || die("Could not open '$data_file'...");
    @raw_data=<FILE>;
    close(FILE);
    
    foreach $user (@raw_data)
    {
    	 chop($user);
    	 ($login,$displayname,$passwd,$givenname,$surname)=split(/\;/,$user);
    	 `./createuser -A oxadmin -P $pwd -u "$login" -d "$displayname" -g "$givenname" -s "$surname" -p $passwd -e "$login\@$domain" -l $lang -t $timezone -I $quota -c $context`;
    }
    import file format:
    <login>;<display name>;<password>;<given name>;<surname>
    example:
    jdoe;john doe;supersecret;john;doe
    userx;user x;12345;user;x
    ...
    jdoe2;jane doe;guessit;jane;doe

    About creating modules, I'm interested too but I didn't find any revelant information anywhere so I'm trying to understand the existing code.

    Hope this helps,

    Nicolas.
    Last edited by woodart; 02-04-2008 at 06:58 PM.

  5. #5
    SuseOX Guest

    Default

    hello Nicolas,
    thx for reply and your script but I tested the URL http://<server>/ox/admin but i've this
    http://www.enregistrersous.com/image...204124243.html

    it's normal ?

    About creating modules, I'm interested too but I didn't find any revelant information anywhere so I'm trying to understand the existing code.
    ^^ good luck

  6. #6
    woodart Guest

    Default

    Quelle méthode avez vous utilisée pour installer Open-xchange?
    Il semble que le GUI d'administration soit manquant...
    Il pourrait être intéressant d'aller voir à ces adresses:
    Community Edition Installer ou Open-Xchange Admin GUI...

    Nicolas.

  7. #7
    SuseOX Guest

    Post

    Salut,
    J'ai utilisé l'installeur. Il se pourrait bien que l'installeur ne l'ai pas fait.
    Je pourrais recompiler indépendamment admin gui ?
    J'ai installé hyperion_102.

    PS : as tu reussi à intégrer dans un IDE le source ?
    MErci
    Last edited by SuseOX; 02-05-2008 at 08:10 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •