[Chameleon] Studio installation for chameleon

Anand Akmanchi anandakmanchi at gmail.com
Fri Nov 2 11:29:30 EDT 2007


Hi Norm

thanks for sending the tarball

i did exactly as you told
but studio is unable to find chameleon

i am using the latest windows ms4w release from maptools
and chameleon RC1

i extracted studio in /ms4w/apps
set aliases for studio and studio_admin in httpd_studio.conf
and left the path to chameleon as blank in studio.xml but it didnt work
also tried setting the path as /ms4w/apps/chameleon-2.6.0rc1/htdocs/

but its unable to find chameleon
i also tried http://localhost/studio and studio_admin
but i keep getting the "Error Finding Chameleon" page that indicates studio
is not properly configured

need some more help from you

waiting for your reply

Anand Akmanchi


On 11/1/07, Normand Savard <nsavard at mapgears.com> wrote:
>
> Normand Savard wrote:
>
> > SHERIF NAGY wrote:
> >
> >> Hello Norm,
> >>     That is will be great ! i really appreciate  your
> >> help and effort.  any method to communicate and send
> >> the files? IRC / MSN / YAHOO / GTALK / ICQ / Gadu Gadu
> >> :-)?
> >>
> >>
> >>
> > Sherif, Anand,
> >
> > I'm sending you the tarball (622kb) offline and then after I'll assist
> > you on how to set up studio through the mailling list.  We always have
> > to  cc the Chameleon mailling list.
> >
> > Norm
> >
> Here is what I did to install and configure Studio to make it work with
> the SECTPopup widget.
>
> Norm
>
> A)The simple way on Linux:
> 1.  Extract Studio in the same directory as Chameleon is (e.g. if
> Chameleon is in /home/username/projects/, extract Studio in
> /home/username/project).
>
> 2.  Edit studio/config/studio.xml and leave blank the Chameleon path :
>
> <app-context>
>     <context-param>
>         <param-name>chameleon_path</param-name>
>         <param-value></param-value>
>          <description>Absolute path to the root of a chameleon
> installation. You
> can leave it blank if chameleon is installed in the same directory as
> Studio.  This value is a DIRECTORY</description>
>      </context-param>
>
>    ...
> </app-context>
>
> 3.  Go to your Apache document root directory and add a symbolic link
> that point out to studio/htdocs directory
>
> ln -s /pathto/studio/htdocs/     studio
>
> 4. Add SECTPopup widget in your application template:
>
>
>     <tr>
>       <!-- SECTPopup -->
>       <td><cwc2 type="SECTPopup" styleresource="TextButtons"
> popupstyleresource="TextButtons" PopupWidth="300" PopupHeight="450"
> Toolbar="false" Status="false" Menubar="false" Visible="true"
> Scrollbars="true" Image="icons/icon_classify.png" Label="Style Layer"
> ImageTip="Apply styles to layers" >
>         <image state="normal"/>
>         <image state="selected"/>
>         <image state="hover"/>
>       </cwc2>
>       </td>
>     </tr>
>
>
>
> B)If you extract Studio not in the same directory as Chameleon on Linux.
> 1.  Extract Studio in a directory that will be made accessible from the
> Web.
>
> 2.  Edit studio/config/studio.xml and set the Chameleon path :
>
> <app-context>
>     <context-param>
>         <param-name>chameleon_path</param-name>
>         <param-value>/path/to/chameleon/htdocs/</param-value>
>          <description>Absolute path to the root of a chameleon
> installation. You
> can leave it blank if chameleon is installed in the same directory as
> Studio.  This value is a DIRECTORY</description>
>      </context-param>
>
>    ...
> </app-context>
>
> 3.  Go to your Apache document root directory and add a symbolic link
> that point out to studio/htdocs directory
>
> ln -s /pathto/studio/htdocs/ studio
>
> 4. Add SECTPopup widget in your application template with the path and
> Web path to Studio:
>
>     <tr>
>       <!-- SECTPopup -->
>       <td><cwc2 type="SECTPopup" styleresource="TextButtons"
> popupstyleresource="TextButtons" PopupWidth="300" PopupHeight="450"
> Toolbar="false" Status="false" Menubar="false" Visible="true"
> Scrollbars="true" Image="icons/icon_classify.png" Label="Style Layer"
> ImageTip="Apply styles to layers" STUDIOPATH="/pathto/studio/"
> STUDIOURL="http://127.0.0.1:port/studio/">
>         <image state="normal"/>
>         <image state="selected"/>
>         <image state="hover"/>
>       </cwc2>
>       </td>
>     </tr>
>
> C)Alternately instead of doing a symbolic link (step 3) you can create
> studio.conf file under fgs/www/conf.d if you work with fgs or if not
> simply add the following lines in your httpd.conf:
>
> Alias /studio/ "/pathto/studio/htdocs/"
>
> <Directory "/pathto/studio/htdocs/">
>   AllowOverride None
>   Options Indexes FollowSymLinks Multiviews
>   Order allow,deny
>   Allow from all
> </Directory>
>
> Alias /studio_admin/ "/pathto/studio/htdocs_admin/"
>
> <Directory "/pathto/studio/htdocs_admin/">
>   AllowOverride None
>   Options Indexes FollowSymLinks Multiviews
>   Order allow,deny
>   Allow from all
> </Directory>
>
>
> D)  You can execute the following steps on Windows with ms4w:
>
> 1.  Extract Studio in the same directory as Chameleon is (e.g. in
> /ms4w/apps/).
>
> 2.  Edit studio/config/studio.xml and leave blank the Chameleon path :
>
> <app-context>
>     <context-param>
>         <param-name>chameleon_path</param-name>
>         <param-value></param-value>
>          <description>Absolute path to the root of a chameleon
> installation. You
> can leave it blank if chameleon is installed in the same directory as
> Studio.  This value is a DIRECTORY</description>
>      </context-param>
>
>    ...
> </app-context>
>
> 3.  Go to /ms4w/httpd.d/ and create a file httpd_studio.conf with the
> following lines within it:
>
> Alias /studio/ "/ms4w/apps/studio/htdocs/"
>
> <Directory "/ms4w/apps/studio/htdocs/">
>   AllowOverride None
>   Options Indexes FollowSymLinks Multiviews
>   Order allow,deny
>   Allow from all
> </Directory>
>
> Alias /studio_admin/ "/ms4w/apps/studio/htdocs_admin/"
>
> <Directory "/ms4w/apps/studio/htdocs_admin/">
>   AllowOverride None
>   Options Indexes FollowSymLinks Multiviews
>   Order allow,deny
>   Allow from all
> </Directory>
>
>
> 4. Add SECTPopup widget in your application template:
>
>
>     <tr>
>       <!-- SECTPopup -->
>       <td><cwc2 type="SECTPopup" styleresource="TextButtons"
> popupstyleresource="TextButtons" PopupWidth="300" PopupHeight="450"
> Toolbar="false" Status="false" Menubar="false" Visible="true"
> Scrollbars="true" Image="icons/icon_classify.png" Label="Style Layer"
> ImageTip="Apply styles to layers" >
>         <image state="normal"/>
>         <image state="selected"/>
>         <image state="hover"/>
>       </cwc2>
>       </td>
>     </tr>
>
>
>
>


-- 
Anand Akmanchi
========================================
"Man's mind, once stretched by a new idea, never regains its original
dimensions." - Oliver Wendell
Holmes
========================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20071102/47f308f5/attachment.html


More information about the Chameleon mailing list