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 14187200C73 for ; Wed, 10 May 2017 10:45:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 12496160BB4; Wed, 10 May 2017 08:45:18 +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 594BA160BA8 for ; Wed, 10 May 2017 10:45:17 +0200 (CEST) Received: (qmail 83254 invoked by uid 500); 10 May 2017 08:45:16 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 83237 invoked by uid 99); 10 May 2017 08:45:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2017 08:45:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id B4FB3CCF5B for ; Wed, 10 May 2017 08:45:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.679 X-Spam-Level: * X-Spam-Status: No, score=1.679 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id UQuKOpTngu_d for ; Wed, 10 May 2017 08:45:12 +0000 (UTC) Received: from mail-qt0-f182.google.com (mail-qt0-f182.google.com [209.85.216.182]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0AEC85F567 for ; Wed, 10 May 2017 08:45:12 +0000 (UTC) Received: by mail-qt0-f182.google.com with SMTP id n4so20771083qte.2 for ; Wed, 10 May 2017 01:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=AxE6/RGRG/amiTW5A+1XPXKbWJSHU38L3GXCeadh8L0=; b=Vt+QRTUJEZ+vhRz1CCQbFBJ0wNm1MrwRDPS4Wk4ZEUXVc7K6XlFa3PZGlxOUOvv64+ /J1PsETuaxSWgZV29ZbcSRLjqwKsm4VWfKaZXNIjb9o3twkAUpzLtSnfvS+Vxb10qPUd XkDdfAmMM11JaIhxiZLJn9so2aj8TJatIqwM2flgTXtcBtBs09H6qBcbimLjsiDVTgYp C666M6uE/SNEJA2XVXkGoIhJoy3hMFh+PrikzCqMs7vRp+HAuek4+LnH4dv2uHSud3LP RiMPEIhmnkeF18E1TnmL4Bf6ugYruzxxipx8yne+CbMEtfRYDLY5UpSQEPEbqwQOx8cl vHBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=AxE6/RGRG/amiTW5A+1XPXKbWJSHU38L3GXCeadh8L0=; b=rr7CupeMYJs4CyB9CZK4iqmIohCzwuXckRaas3RJOpuKbrL5x58MjTaW7/xyaPS0ER DsMlT5i7f4DNI6pnBKJ+hOCEMS1BNCn/vUw3ncaoPFqKG4CigBVZgk11kDBQQAp0Y7FK zEabBLw1vj2A4LqMA3NvRYrOixVKJIXHePOP2pYvxqA9Y9qNrEGPqCDp9nXkC1GD2wPC 5CfN7lWIiCm69EwSojvWp0omvJ7umtxi0aYf1Yu56aXQzOCVswHhWOSEkXWDZyj4IQzc TMl7NCTRF7KLqdetXanvnpQkvW3KTEzTrbF5MORWUSXStOGUYOtJpB54ucbIKQ8f4NQL 3aJg== X-Gm-Message-State: AODbwcAU81sBo9fwjBWQtHWmN389RNMTTWt8jvkasZJbIguzmjy43Ta1 WbayB0UiT9JpkdZFwyXm+zxIMeF0jHL2 X-Received: by 10.25.23.210 with SMTP id 79mr2300130lfx.158.1494405910777; Wed, 10 May 2017 01:45:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.218.10 with HTTP; Wed, 10 May 2017 01:45:10 -0700 (PDT) From: Felix Dorner Date: Wed, 10 May 2017 10:45:10 +0200 Message-ID: Subject: Greclipse based editor for custom script base + auto-imports To: users@groovy.apache.org Content-Type: multipart/alternative; boundary=001a11402162765821054f277d96 archived-at: Wed, 10 May 2017 08:45:18 -0000 --001a11402162765821054f277d96 Content-Type: text/plain; charset=UTF-8 Hi, I am running groovy scripts against a custom compiler configuration which sets a custom script base and an import manager that 'auto-imports' some often-used classes. To run the scripts against this environment, I created a special launch configuration type. How would I now go about telling the groovy editor about this custom environment? I guess the 'dsld' stuff is not useful here? I imagine I will have to subclass the editor, or can I maybe configure it somehow (maybe binding a special file extension or comment/header to my compiler configuration)? Thanks for comments, Felix --001a11402162765821054f277d96 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I am running groovy = scripts against a custom compiler configuration which sets a custom script = base and an import manager that 'auto-imports' some often-used clas= ses. To run the scripts against this environment, I created a special launc= h configuration type.

How would I now go about telling th= e groovy editor about this custom environment? I guess the 'dsld' s= tuff is not useful here? I imagine I will have to subclass the editor, or c= an I maybe configure it somehow (maybe binding a special file extension or = comment/header to my compiler configuration)?

=
Thanks for comments,
Felix
--001a11402162765821054f277d96--