<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Marc,</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">
Thank you for the notes. I have actually got it to work with the new Sencha Cmd but in what seems like a rather "hacky" method. By adding the GeoExt2 source path to sencha.cfg in a project generated by Sencha generate app I was able to build. This of course did not include openlayers which from what I can tell just needs to be built separately and either merged with the app.js or included in index.html (easy enough).</div>
<div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">While I really have no idea if this is the correct method or best practice, it works. With no documentation or examples to guide me I guess best practice is whatever I come up with that gets a working product on the table!</div>
<div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">I'd love to help out in any way I can getting something like this documented somewhere (all my source is on GitHub) so keep in contact if you ever want to work on a project to document this sort of thing.</div>
<div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><span style="font-size:small"><b><font face="courier new, monospace">Kyle W. Purdon</font></b></span><div><font size="1" face="courier new, monospace">Research Assistant | Center for Remote Sensing of Ice Sheets (CReSIS)</font></div>
<div><font size="1" face="courier new, monospace"><a href="https://www.cresis.ku.edu/~kpurdon/" target="_blank">https://www.cresis.ku.edu/~kpurdon/</a><br></font></div><div><font size="1" face="courier new, monospace">Graduate Student | University of Kansas Geography (GIS)</font></div>
</div><div><a href="http://www.geog.ku.edu/" target="_blank"><font size="1" face="courier new, monospace">http://www.geog.ku.edu/</font></a><br></div></div></div>
<br><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 5:00 AM, <span dir="ltr"><<a href="mailto:users-request@geoext.org" target="_blank">users-request@geoext.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send Users mailing list submissions to<br>
<a href="mailto:users@geoext.org">users@geoext.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:users-request@geoext.org">users-request@geoext.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:users-owner@geoext.org">users-owner@geoext.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. <div class="gmail_default" style="font-family:'courier new',monospace;display:inline"></div>Re: Using Sencha Cmd to build an app which includes GeoExt2 &<br>
OpenLayers (Marc Jansen)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 19 Feb 2014 17:35:59 +0100<br>
From: <div class="gmail_default" style="font-family:'courier new',monospace;display:inline"></div>Marc Jansen <<a href="mailto:jansen@terrestris.de">jansen@terrestris.de</a>><br>
Subject: Re: [Users] Using Sencha Cmd to build an app which includes<br>
GeoExt2 & OpenLayers<br>
To: <a href="mailto:users@geoext.org">users@geoext.org</a><br>
Message-ID: <<a href="mailto:5304DD6F.3040701@terrestris.de">5304DD6F.3040701@terrestris.de</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Kyle,<br>
<br>
AFAICT GeoExt 2 can very well be included in single-file build created<br>
with the older version of the sencha command<br>
(<a href="http://www.sencha.com/products/sdk-tools/download" target="_blank">http://www.sencha.com/products/sdk-tools/download</a>). It is essential<br>
that the path to the GeoExt src files is known to ExtJS and that all<br>
components have their requires correctly stated.<br>
<br>
We use the above build process in several rather complicated setups and<br>
it is serving us extremely well. It is so good indeed, that we have<br>
included it in our internal CI-process which fails if the build fails (a<br>
nice sign for forgotten requires, e.g.).<br>
<br>
We do not include the needed OpenLayers files though. We have a separate<br>
process for this.<br>
<br>
I really hope the above helps. That being said, I'd love to support the<br>
new Sencha cmd, and I think it is totally doable. Also more<br>
documentation is definitely needed. I am glad that you asked, and I hope<br>
to find time to work on this.<br>
<br>
Best,<br>
Marc<br>
<br>
<br>
<br>
<br>
On 19.02.2014 06:28, Purdon wrote:<br>
> Hello again GeoExt folks,<br>
><br>
> I am finding an extreme lack of information about building (for<br>
> production) an ExtJS MVC application which includes GeoExt2 and<br>
> OpenLayers. Does anyone know of a good documentation on this process<br>
> (where to put GeoExt2/OpenLayers and where all to add references in<br>
> Ext) so that the build process using Sencha Cmd will work and include<br>
> both GeoExt2 and OpenLayers?<br>
><br>
> The MVC app example from GeoExt2 doesn't really fit well with the MVC<br>
> documentation from ExtJS and from what I can tell the build process<br>
> uses the older version of Sencha Cmd (Sencha Sdk Tools).<br>
><br>
> Any help would be appreciated!<br>
><br>
> Best,<br>
><br>
> *Kyle W. Purdon*<br>
> Research Assistant | Center for Remote Sensing of Ice Sheets (CReSIS)<br>
> <a href="https://www.cresis.ku.edu/~kpurdon/" target="_blank">https://www.cresis.ku.edu/~kpurdon/</a><br>
> <<a href="https://www.cresis.ku.edu/%7Ekpurdon/" target="_blank">https://www.cresis.ku.edu/%7Ekpurdon/</a>><br>
> Graduate Student | University of Kansas Geography (GIS)<br>
> <a href="http://www.geog.ku.edu/" target="_blank">http://www.geog.ku.edu/</a><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
> <a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://www.geoext.org/pipermail/users/attachments/20140219/c5ced401/attachment.html" target="_blank">http://www.geoext.org/pipermail/users/attachments/20140219/c5ced401/attachment.html</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
End of Users Digest, Vol 61, Issue 6<br>
************************************<br>
</blockquote></div><br></div></div>