Results 1 to 6 of 6

Thread: [SOLVED] zimlet _dev in Zimbra 6

  1. #1
    Join Date
    Feb 2006
    Posts
    92
    Rep Power
    9

    Default [SOLVED] zimlet _dev in Zimbra 6

    On previous versions of Zimbra, one can write zimlets in a special _dev directory and try the zimlets without restart the mailbox server.

    On Zimbra 6, there is a new directory for deployed zimlets, /opt/zimbra/zimlets-deployed/, but the _dev directory does not work here. Are any other way to try the zimlets without a restart of the mailbox server?
    Patricio Bruna
    http://www.itlinux.cl

  2. #2
    Join Date
    Nov 2009
    Posts
    105
    Rep Power
    5

    Default

    The Development Directory is supported on ZCS 6.

    The Zimlet Development Directory is a convenient way to do iterative zimlet development. The development directory allows you to develop zimlets without having to continually package (i.e. ZIP), deploy and undeploy the zimlet.

    You can create zimlet folders and associated file structures under the _dev directory and those zimlets will get picked-up (and recompiled) with each browser refresh. Changes made to the zimlet files in this directory will be automatically reflected when the browser is refreshed. Additionally, files are not obfuscated and merged with other Zimlet files and JSP files can be placed within the zimlet folder and will be compiled every time browser is refreshed.

    1. To create the Development Directory, after installing ZCS, browse to your install directory:

    {zcs-install-dir}/zimlets-deployed/

    2. Create a _dev directory:

    mkdir {zcs-install-dir}/zimlets-deployed/_dev

    3. Use this directory to create zimlet folders and file structures for zimlet development.


    Is there something specific you are trying to do that isn't working? Or are all zimlets you try to build in this directory not working (i.e. not getting loaded)?

  3. #3
    Join Date
    Feb 2006
    Posts
    92
    Rep Power
    9

    Default

    My mistake, is working ok.
    Thanks.
    Patricio Bruna
    http://www.itlinux.cl

  4. #4
    Join Date
    Dec 2009
    Posts
    4
    Rep Power
    5

    Default

    While I change my source code, nothing change in Zimbra interface. I'm using "zmmailboxdctl restart" command. Is it ok?

    I have deploy my zimlet under "{zcs-install-dir}/zimlets-deployed/_dev/my_zimlet" with files inside. Is it the right way to do?

    Is it necessary to deploy my zimlet first?

  5. #5
    Join Date
    Feb 2006
    Posts
    92
    Rep Power
    9

    Default

    ruddy32,
    you dont need to deploy the zimlet if you are using the special _dev folder.
    After any changes you've made, just reload the page in you browser.
    Patricio Bruna
    http://www.itlinux.cl

  6. #6
    Join Date
    Dec 2009
    Posts
    4
    Rep Power
    5

    Default

    I don't understand what's append. I have started development using deployment process. Since I'm using the _dev directory, my zimlets does not works. Right click on my zimlet show short menu, but clicking on the menu item itself does not show my zimlet settings dialog box. This works while using deployment process.
    What could going wrong with my Zimbra ?

Similar Threads

  1. Replies: 15
    Last Post: 11-24-2009, 07:46 AM
  2. Replies: 22
    Last Post: 12-02-2007, 04:05 PM
  3. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  4. 4.5 Upgrade failure
    By brained in forum Installation
    Replies: 9
    Last Post: 03-03-2007, 02:30 PM
  5. Replies: 8
    Last Post: 02-27-2007, 03:10 AM

Posting Permissions

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