cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Punith S <punit...@cloudbyte.com>
Subject Re: Fast way to rebuild the GUI?
Date Sat, 09 Aug 2014 06:55:46 GMT
hi mike,

mvn -P developer -*pl* :cloud-client-ui -DskipTests=true

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 not
> 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=true
> >
> > Unfortunately it no longer does.
> >
> >
> > On Sat, Aug 9, 2014 at 12:08 AM, Punith S <punith.s@cloudbyte.com>
> 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 to
> >> > update the management server with this file short of having to rebuild
> >> 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
> >> > <http://solidfire.com/solution/overview/?video=play>*™*
> >> >
> >>
> >>
> >>
> >> --
> >> 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
> > <http://solidfire.com/solution/overview/?video=play>*™*
> >
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*
>



-- 
regards,

punith s
cloudbyte.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message