Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69CA811F7B for ; Sat, 9 Aug 2014 06:56:14 +0000 (UTC) Received: (qmail 1069 invoked by uid 500); 9 Aug 2014 06:56:14 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 1039 invoked by uid 500); 9 Aug 2014 06:56:14 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 1023 invoked by uid 99); 9 Aug 2014 06:56:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Aug 2014 06:56:13 +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 punith.s@cloudbyte.com designates 209.85.220.177 as permitted sender) Received: from [209.85.220.177] (HELO mail-vc0-f177.google.com) (209.85.220.177) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Aug 2014 06:55:48 +0000 Received: by mail-vc0-f177.google.com with SMTP id hy4so9308328vcb.8 for ; Fri, 08 Aug 2014 23:55:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=h83Mo18TOXxeariZIftzoS91pWuiXcUkGiAmtOy7wCM=; b=YkgiFc3vx0LfkvWPHkzvIbjuiX3wQEKAy+OugCJ/Ir935GXKCMEU9EDu0rV84UveUC +I41+eP7uQeuBiNWZWmkeUFCTTUNSptLJiP/nCFX4A8q1pS0ewQpUZL0F0OVobqQwTNy gzLBfcBoloUs4ljZowWmKWBhwo3K34+ZKEAgBgmySBXx9NZLej2RTRVx3nkTakZeDMLM YA1e/9VeA/fy9s/QLC0UcaXpetd/aY5ajb0TAcpmbtCtthPUOyp6zPpHVZtO3QQlR3FG L6baKwB19b2cQ2BSR9j9KK91ic3jxGRDm5AKrtWNB8SmiXn6jYc4TMbFVK+5ZZHHeDbw MAJg== X-Gm-Message-State: ALoCoQmSDk98640T8tTAAU9ZE/cIXXGVq2oujsPLydaBRfrAjxkO0R0cW7cutL7vBbhZSnGbL/jb MIME-Version: 1.0 X-Received: by 10.221.61.5 with SMTP id wu5mr7453443vcb.13.1407567346817; Fri, 08 Aug 2014 23:55:46 -0700 (PDT) Received: by 10.52.97.138 with HTTP; Fri, 8 Aug 2014 23:55:46 -0700 (PDT) In-Reply-To: References: Date: Sat, 9 Aug 2014 12:25:46 +0530 Message-ID: Subject: Re: Fast way to rebuild the GUI? From: Punith S To: cloudstack Content-Type: multipart/alternative; boundary=001a113637d0b4756805002ccfa6 X-Virus-Checked: Checked by ClamAV on apache.org --001a113637d0b4756805002ccfa6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable hi mike, mvn -P developer -*pl* :cloud-client-ui -DskipTests=3Dtrue i guess running this command only builds the cloud-client-ui package, ie client/target/cloud-client-ui-4.4.0-SNAPSHOT.war but it won't be extracted to client/target/cloud-client-ui-4.4.0-SNAPSHOT hence the new changes will not be reflected. for an easy workaround you can scp the changed js file form your workspace to the script folder in the running cloudstack and on refreshing the browser will reflect the changes. thanks. On Sat, Aug 9, 2014 at 11:58 AM, Mike Tutkowski < mike.tutkowski@solidfire.com> wrote: > I should clarify that that command runs successfully, but the GUI does no= t > incorporate the new changes from running that command anymore. > > > On Sat, Aug 9, 2014 at 12:12 AM, Mike Tutkowski < > mike.tutkowski@solidfire.com> wrote: > > > I could be wrong, but I thought we compressed JS files now. > > > > This used to work: > > > > mvn -P developer -pl :cloud-client-ui -DskipTests=3Dtrue > > > > Unfortunately it no longer does. > > > > > > On Sat, Aug 9, 2014 at 12:08 AM, Punith S > wrote: > > > >> hi mike, > >> > >> you can just replace the js file in > >> cloudstack-management/webapps/client/scripts/ folder and reload the > >> browser, js file will be reloaded in the cloudstack ui. > >> > >> thanks. > >> > >> > >> On Sat, Aug 9, 2014 at 11:32 AM, Mike Tutkowski < > >> mike.tutkowski@solidfire.com> wrote: > >> > >> > Hi, > >> > > >> > When you change a JavaScript file for the GUI, is there a fast way t= o > >> > update the management server with this file short of having to rebui= ld > >> the > >> > entire codebase? > >> > > >> > Thanks! > >> > > >> > -- > >> > *Mike Tutkowski* > >> > *Senior CloudStack Developer, SolidFire Inc.* > >> > e: mike.tutkowski@solidfire.com > >> > o: 303.746.7302 > >> > Advancing the way the world uses the cloud > >> > *=E2=84=A2* > >> > > >> > >> > >> > >> -- > >> regards, > >> > >> punith s > >> cloudbyte.com > >> > > > > > > > > -- > > *Mike Tutkowski* > > *Senior CloudStack Developer, SolidFire Inc.* > > e: mike.tutkowski@solidfire.com > > o: 303.746.7302 > > Advancing the way the world uses the cloud > > *=E2=84=A2* > > > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkowski@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the cloud > *=E2=84=A2* > --=20 regards, punith s cloudbyte.com --001a113637d0b4756805002ccfa6--