Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 700DC200B95 for ; Tue, 27 Sep 2016 21:15:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6EA4C160AD2; Tue, 27 Sep 2016 19:15:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B6EFC160AB9 for ; Tue, 27 Sep 2016 21:15:43 +0200 (CEST) Received: (qmail 2986 invoked by uid 500); 27 Sep 2016 19:15:42 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 2970 invoked by uid 99); 27 Sep 2016 19:15:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2016 19:15:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 35CAAC0E29 for ; Tue, 27 Sep 2016 19:15:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.999 X-Spam-Level: * X-Spam-Status: No, score=1.999 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=emrul-com.20150623.gappssmtp.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id FYpeViL1mdky for ; Tue, 27 Sep 2016 19:15:41 +0000 (UTC) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 3C7705F2C5 for ; Tue, 27 Sep 2016 19:15:41 +0000 (UTC) Received: by mail-io0-f172.google.com with SMTP id e66so26183189iod.1 for ; Tue, 27 Sep 2016 12:15:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emrul-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=NTOgWQFpenbG3QBPnap39sPayiviJClVutuqk2tkvpE=; b=O6AeMO9W/0TKdt46TM+Q+dUhVZhkD+0QL7FppAdPysKzp4qrOJvy2HvCkRTg7Eql1I ZMfg1FPDCO9PSark3m0NrTHzkJTtm7O7wno3KGq8b3iZoCiURr3frIF2UuCyJTTlKJ1R NXaBablXf2QCQ0NcbzeM7LAznAyeC7HpYnFT8HB+gAfvXhbotFqbYw1ZMbiRm3KGPaPF FmZRXLUWPF8FIgiVNs3EygZtEsOJmsfZHOm6GZsiLQupNdR/JKO17fMYOsKxmAQ+G50m o2HyL7OFP73XPlhnqdk5uh/3RQ4dqjRTS2lPej1289X6Hfa8hlfeVDwahs4+rjzZua2Z tZnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NTOgWQFpenbG3QBPnap39sPayiviJClVutuqk2tkvpE=; b=gm0HtVb5Tc9qmxlxMgooDsxY5AjGHk4FQ3KX+VNtzzDZKWKqXq/tdC3jMaBvzayMG1 1cj2QXuUHtkc310vI2L1X4staaZMw6Cgm5RGQNbVyp6pHsx1iX+cBdUo6V9BMQil5GYV Do6qC5n0hJhRNX+ut01Ntnkw60Llo/MzqIhsn9xGEycIDFv77yVgPrEeatas4cuH007t bbS9vyTwxXp2RcAs6gNRAaa49TTLGDsTzaLJFnQGb1naK8Si514lfoP3uP5Z4FqaO2Wk I8ybpN4KzOdl83TwO99/lAByMf5Z5ekIE8C3QgvFRRnXlVMkX800uH5JgSUxKzsIURbn IgAg== X-Gm-Message-State: AE9vXwO2PGeff/nK9kh+79EjGQel0Xijt6lsPeTTiDZsZ1uC6K268yWJLeFtubQoED61LFUIRBejRA02ItnwCA== X-Received: by 10.107.15.215 with SMTP id 84mr30333701iop.93.1475003739968; Tue, 27 Sep 2016 12:15:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.33.20 with HTTP; Tue, 27 Sep 2016 12:15:19 -0700 (PDT) From: Emrul Islam Date: Tue, 27 Sep 2016 20:15:19 +0100 Message-ID: Subject: Script to create document types To: dev@chemistry.apache.org Content-Type: multipart/mixed; boundary=001a113fe586f7319b053d82115e archived-at: Tue, 27 Sep 2016 19:15:44 -0000 --001a113fe586f7319b053d82115e Content-Type: multipart/alternative; boundary=001a113fe586f73197053d82115c --001a113fe586f73197053d82115c Content-Type: text/plain; charset=UTF-8 I needed a little utility to go through a directory and create a bunch of document types (defined as JSON files). I decided I'd give OpenCMIS Workbench scripting a go and it took probably 20 minutes. Results attached. Whoever thought to add quick and dirty scripting support to Workbench is a genius! --001a113fe586f73197053d82115c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I needed a little utility to go through a directory and cr= eate a bunch of document types (defined as JSON files).

= I decided I'd give OpenCMIS Workbench scripting a go and it took probab= ly 20 minutes.=C2=A0 Results attached. =C2=A0

Whoe= ver thought to add quick and dirty scripting support to Workbench is a geni= us!


--001a113fe586f73197053d82115c-- --001a113fe586f7319b053d82115e--