Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 243D19FCE for ; Wed, 6 Mar 2013 08:10:07 +0000 (UTC) Received: (qmail 92175 invoked by uid 500); 6 Mar 2013 08:10:06 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 92011 invoked by uid 500); 6 Mar 2013 08:10:06 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 91994 invoked by uid 99); 6 Mar 2013 08:10:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 08:10:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [195.66.90.41] (HELO sbppmx2.schubergphilis.com) (195.66.90.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 08:09:58 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by sbppmx2.schubergphilis.com (Postfix) with ESMTP id 12F48129CB for ; Wed, 6 Mar 2013 09:09:38 +0100 (MET) X-Virus-Scanned: amavisd-new at schubergphilis.com Received: from sbppmx2.schubergphilis.com ([127.0.0.1]) by localhost (sbppmx2.schubergphilis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QcRv3tS0uYjC for ; Wed, 6 Mar 2013 09:09:38 +0100 (MET) Received: from SBPOTMG401.sbp.lan (edge.schubergphilis.com [195.66.90.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by sbppmx2.schubergphilis.com (Postfix) with ESMTP id 02F551290C for ; Wed, 6 Mar 2013 09:09:38 +0100 (MET) Received: from SBPOMF102.sbp.lan (10.71.2.131) by SBPOTMG401.sbp.lan (10.71.3.110) with Microsoft SMTP Server (TLS) id 14.1.379.0; Wed, 6 Mar 2013 09:09:37 +0100 Received: from SBPOMB402.sbp.lan ([fe80::2410:c2c8:67bf:d067]) by SBPOMF102.sbp.lan ([fe80::9049:fc5b:72ee:dd7%15]) with mapi id 14.02.0318.001; Wed, 6 Mar 2013 09:09:37 +0100 From: Hugo Trippaers To: "cloudstack-dev@incubator.apache.org" Subject: RE: copying scripts in client/pom.xml Thread-Topic: copying scripts in client/pom.xml Thread-Index: Ac4W0uXexI41UUiiSpSQaf2w3Fic7wAnQiaAAAMsaRAAcSp+QAAN5+IwAB/qWsAAEkgTwA== Date: Wed, 6 Mar 2013 08:09:37 +0000 Message-ID: <6DE00C9FDF08A34683DF71786C70EBF02F76C690@SBPOMB402.sbp.lan> References: <93099572B72EB341B81A644E134F240B013145AD3214@SJCPMAILBOX01.citrite.net> <20130302190115.GJ88519@USLT-205755.sungardas.corp> <6DE00C9FDF08A34683DF71786C70EBF02F75E61A@SBPOMB402.sbp.lan> <93099572B72EB341B81A644E134F240B013145AD3227@SJCPMAILBOX01.citrite.net> <6DE00C9FDF08A34683DF71786C70EBF02F766BC2@SBPOMB402.sbp.lan> <93099572B72EB341B81A644E134F240B013145AD3233@SJCPMAILBOX01.citrite.net> In-Reply-To: <93099572B72EB341B81A644E134F240B013145AD3233@SJCPMAILBOX01.citrite.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.71.96.47] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hey Frank, How about we tackle this in another way by explicitly calling '/bin/bash ' instead of depending on the os to detect it's a shell script with a= n execute flag? More portable solution that does not depend on permissions= being kept between builds and deployments? Hugo > -----Original Message----- > From: Frank Zhang [mailto:Frank.Zhang@citrix.com] > Sent: Wednesday, March 06, 2013 12:29 AM > To: cloudstack-dev@incubator.apache.org > Cc: Hugo Trippaers (trippie@gmail.com) > Subject: RE: copying scripts in client/pom.xml >=20 > Hmm, it doesn't work as Min stated >=20 > The final script path is client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB= - > INF/classes/scripts which I think is generated from jetty plugin. > Maven as java problem seems to have the same problem with copying. We > have to check if jetty has a way to chmod >=20 > > -----Original Message----- > > From: Hugo Trippaers [mailto:HTrippaers@schubergphilis.com] > > Sent: Tuesday, March 05, 2013 12:11 AM > > To: cloudstack-dev@incubator.apache.org > > Cc: Hugo Trippaers (trippie@gmail.com) > > Subject: RE: copying scripts in client/pom.xml > > > > Hey Frank, > > > > I think I found the same thing, please check this commit > > https://git-wip- > > us.apache.org/repos/asf?p=3Dincubator- > > cloudstack.git;a=3Dcommit;h=3Dd922f6fd4b41d939ee00c55638d8c5e8b56c8b77 > > > > Does that work for you? > > > > Cheers, > > > > Hugo > > > > > -----Original Message----- > > > From: Frank Zhang [mailto:Frank.Zhang@citrix.com] > > > Sent: Tuesday, March 05, 2013 2:33 AM > > > To: cloudstack-dev@incubator.apache.org > > > Cc: Hugo Trippaers (trippie@gmail.com) > > > Subject: RE: copying scripts in client/pom.xml > > > > > > No worry. > > > I found a solution that explicitly call 'chmod' task of ant to add ex= ecuted > bits. > > > I will fix it tomorrow > > > > > > > -----Original Message----- > > > > From: Hugo Trippaers [mailto:HTrippaers@schubergphilis.com] > > > > Sent: Saturday, March 02, 2013 11:35 AM > > > > To: cloudstack-dev@incubator.apache.org > > > > Cc: Hugo Trippaers (trippie@gmail.com) > > > > Subject: RE: copying scripts in client/pom.xml > > > > > > > > Hey Frank, > > > > > > > > I reopened the ticket with the following comment: > > > > > > > > I reverted this commit because it breaks the system for developers > > > > who use an operating system that has no cp or mkdir command (the > > > > mkdir was later added by Rohit) > > > > > > > > I did not notice the original issue because the executable bit is > > > > not an issue on windows systems. We should find an alternative way > > > > to do this to solve this problem in a way that works on all > > > > operating systems. It's mainly a developer problem as the > > > > permissions are set using the packaging scripts for deployments. > > > > > > > > A check if mkdir and cp exists before doing the copy should work i > > > > think, but maybe there is an ant task that will take care of the > > > > permissions on unix based systems. Or maybe explicitly call bash > > > > instead of depending to the os to execute the script. I don't have > > > > much time this weekend, but I'm willing to see if I can find a > > > > solution next > > > week. > > > > > > > > > > > > Cheers, > > > > > > > > Hugo > > > > > > > > > -----Original Message----- > > > > > From: Chip Childers [mailto:chip.childers@sungard.com] > > > > > Sent: zaterdag 2 maart 2013 20:01 > > > > > To: cloudstack-dev@incubator.apache.org > > > > > Cc: Hugo Trippaers (trippie@gmail.com) > > > > > Subject: Re: copying scripts in client/pom.xml > > > > > > > > > > On Fri, Mar 01, 2013 at 03:20:38PM -0800, Frank Zhang wrote: > > > > > > Hi Hugo: > > > > > > I noticed your recent change as below. It will cause bug > > > > > > https://issues.apache.org/jira/browse/CLOUDSTACK-1304 that I > > > > > > have fixed some days ago > > > > > > > > > > > > > > > > > > be141f6e (Hugo Trippaers 2013-03-01 08:22:40 +0100 271) > > > > > > > todir=3D"${basedir}/target/generated-webapp/WEB- > INF/classes/scripts" > > > > > > > > > > > > be141f6e (Hugo Trippaers 2013-03-01 08:22:40 +0100 272) > > > > > > > > > > > be141f6e (Hugo Trippaers 2013-03-01 08:22:40 +0100 273) > > > > > > > > > > > > > > > > > > > > > > > my fixes basically does: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > value=3D"${basedir}/target/generated-webapp/WEB- > > > > > INF/classes/scripts" /> > > > > > > > > > > > > > > > > > > Is there any special reason you changed it back= ? > > > > > > Thank you > > > > > > > > > > > > > > > > Frank / Hugo - Should we reopen CLOUDSTACK-1304? > > > > > > > > > > I'd also suggest that the description of the bug makes it a bit > > > > > higher than the Major designation (i.e.: we should fix it in 4.1)= .