Announcement

Collapse
No announcement yet.

Integrate into an IDE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 Guest; 01-30-2008, 01:18 PM.

  • #2
    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 Guest; 01-31-2008, 09:51 AM.

    Comment


    • #3
      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 Guest; 02-04-2008, 08:12 AM.

      Comment


      • #4
        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 Guest; 02-04-2008, 06:58 PM.

        Comment


        • #5
          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

          Comment


          • #6
            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.

            Comment


            • #7
              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 Guest; 02-05-2008, 08:10 AM.

              Comment

              Working...
              X