cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CK <cloudw...@gmail.com>
Subject Re: ACS plugins
Date Tue, 02 Jul 2013 21:59:52 GMT
Thanks Brian, the UI plugins work on the master branch.

However, after registering a plugin the Wiki says "Reload the UI – rerun
the build UI portion of the mvn build, if not in the active Tomcat/jetty
folder, and then refresh the browser. You should see your new plugin in the
side navigation bar!"

What is the actual command to rerun the build UI portion of the mvn build?

What is the active Tomcat/jetty folder? - /opt/cloudstack?


On 2 July 2013 19:11, Brian Federle <Brian.Federle@citrix.com> wrote:

> Hello,
>
> >> I have DevCloud2 running with ACS 4.1 pulled in via git.
>
> You'll want to make sure you are on either the master or 4.2 branch for UI
> plugins to work, since they didn't exist on 4.1 or earlier.
>
> -Brian
>
> -----Original Message-----
> From: CK [mailto:cloudwizz@gmail.com]
> Sent: Tuesday, July 02, 2013 11:04 AM
> To: dev@cloudstack.apache.org
> Subject: Re: ACS plugins
>
> Hi Pranav,
>
> To keep things simple, I have exactly followed the wiki:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/UI+Plugin+Tutorialbut it did not
work :-(
>
> I have DevCloud2 running with ACS 4.1 pulled in via git. The /ui/plugins
> folder did not exist so I created it and followed the wiki creating the
> directory structure and creating /ui/plugins/plugins.js
>
> In the Wiki when it says "...rerun the build UI portion of the mvn
> build..." which of the mvn commands do I need to run from the
> /opt/cloudstack directory:
>
> 1) mvn -P developer,systemvm clean install
>
> 2) mvn -P developer -pl developer,tools/devcloud -Ddeploydb
>
> 3) mvn -pl :cloud-client-ui jetty:run
>
> Thanks
>
>
> On 2 July 2013 18:26, Pranav Saxena <pranav.saxena@citrix.com> wrote:
>
> > Please see my comments inline  and shoot any queries you may have with
> > UI plugins -
> >
> > Thanks,
> > Pranav
> > -----Original Message-----
> > From: CK [mailto:cloudwizz@gmail.com]
> > Sent: Tuesday, July 02, 2013 9:36 PM
> > To: dev@cloudstack.apache.org
> > Subject: ACS plugins
> >
> > Hi,
> >
> > Are UI plugins implemented/deployed differently to other types such as
> > API, Storage or Networking plugins (reside under /cloudstack/plugins)
> > [Pranav] - Yes , UI plugins are implemented in their own unique way .
> > The wiki page elaborates on the pattern/structure you need to follow
> > to develop a UI plugin.
> >
> > I am looking at writing a UI plugin, browsing the wiki I have come
> > across this page:
> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/UI+Plugin+Tutor
> > ial
> >
> > It mentions plugins reside in the /ui/plugins/(pluginID)folder and are
> > registered in: /ui/plugins/plugins.js
> >
> > Is the UI plugin wiki correct and the one I should follow as opposed
> > to the API plugins?
> > [Pranav] - This is the perfect wiki page . Please follow it .
> >
> > Thanks
> >
>

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