Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A0EDDC15F for ; Wed, 19 Jun 2013 09:41:39 +0000 (UTC) Received: (qmail 11801 invoked by uid 500); 19 Jun 2013 09:41:36 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 11495 invoked by uid 500); 19 Jun 2013 09:41:35 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 11481 invoked by uid 99); 19 Jun 2013 09:41:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 09:41:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bmathus@gmail.com designates 74.125.83.41 as permitted sender) Received: from [74.125.83.41] (HELO mail-ee0-f41.google.com) (74.125.83.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 09:41:27 +0000 Received: by mail-ee0-f41.google.com with SMTP id d17so3069589eek.14 for ; Wed, 19 Jun 2013 02:41:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=RS67yFTTxyk8mEWePrxj+wn9rvEuT/ahGMlngoUvOzA=; b=sdPKht+am93YcBnqvyRGCGxc8XqjerrUryMf62wfow2Ztj3WiKfw8iJFDbNaMwA+hu QW+gxWLL5q3X+Sic0N/KIg8wBDmi042eWCly44E6lxsXNaElETCv7TXM3hUCmjNmOmOo TXHhty3GicAjU9lWD5e3/YB6w5pCSXko+L1jTb67pdnsvS0bFXEBsIFWKVRPEbR54qrh 3ps8VAJiSpkqiUCnWZ8lqkHb9+DkDM1vlWkqLFER/VRsnB/m0h6b/+WZqgbEFbsKdp39 EjT4yZtqXweNWpfuDsTfNk6XHiA3C2WVyFoSUasGF9z/3/xaYrhANVhLk5Re69mvNw3M yZtQ== X-Received: by 10.14.115.9 with SMTP id d9mr1851825eeh.87.1371634867460; Wed, 19 Jun 2013 02:41:07 -0700 (PDT) MIME-Version: 1.0 Sender: bmathus@gmail.com Received: by 10.14.91.130 with HTTP; Wed, 19 Jun 2013 02:40:47 -0700 (PDT) In-Reply-To: References: From: Baptiste MATHUS Date: Wed, 19 Jun 2013 11:40:47 +0200 X-Google-Sender-Auth: iW6UxbSJtAHYyAYI4FTiTjn9Oj4 Message-ID: Subject: Re: templating:filter-sources and chmod To: Maven Users List Content-Type: multipart/alternative; boundary=001a11c1b6e0098cc304df7ea1f7 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1b6e0098cc304df7ea1f7 Content-Type: text/plain; charset=UTF-8 FYI, you may not have noticed it, but it's actually also adding the filtered source to the source folders usable by other classes. It's more "different" than "less" ;-). (Btw, templating actually uses part of the filtering subsystem provided by the resource plugin). Cheers 2013/6/18 Arnaud bourree > Yes, that's explain why that looks resources:copy-resources with less > functionality > > > 2013/6/18 Stephen Connolly > > > Don't use it for that use case. That goal's use case is templating java > > code > > > > > > On 18 June 2013 16:05, Arnaud bourree wrote: > > > > > Hi, > > > > > > OK, I don't used templating:filter-sources for this original goal: > Java. > > > My use case is to run shUnit2 test scripts to validate Bash script. > > > I've make context directory tree in src/test. > > > Now I'd like to copy contexts and script to validate in target/ > > > My SCM override execution flag, so when copying script, I need to force > > it > > > up: shUnit2 looks to request it > > > > > > Regards, > > > > > > Arnaud. > > > > > > > > > > > > 2013/6/18 Baptiste MATHUS > > > > > > > Hi, > > > > templating:filter-sources copies things from src/main/java-templates > > AND > > > > adds it as a *source* directory (like java code, or so). > > > > Is this what you expect? > > > > > > > > Btw, as filtering generally just copies things from one place to > > > another, I > > > > suppose you should just set the corresponding chmod+x on your > original > > > > scripts? > > > > > > > > Cheers > > > > > > > > > > > > 2013/6/18 Arnaud bourree > > > > > > > > > Hello, > > > > > > > > > > I'm looking at templating:filter-sources which look like > > > > > resources:copy-resources. > > > > > > > > > > I'd like to chmod +x copied scripts to run shunit2 against them. > > > > > > > > > > Does anyone know to do it without ant-run? > > > > > > > > > > Regards, > > > > > > > > > > Arnaud. > > > > > > > > > > > > > > > --001a11c1b6e0098cc304df7ea1f7--