One precision: the requires / include are not set in GeoExt for the dependencies with OpenLayers, but are set for the dependencies inside GeoExt. Please other correct me if this statement is wrong. Cédric
2010/4/23 Cédric Moullet <[email protected]> > Hello, > The example you present is in "debug mode". Usually, in poduction, the > javascript files are compressed and concatenated.. > A possible way to do that is to use jsbuild. JSBuild doc is here: > http://projects.opengeo.org/jstools/wiki/jsbuild You can find a workshop > about jsbuild here: > http://dev.mapfish.org/sandbox/camptocamp/mapfish_workshop/printing/html/building_javascript.html(and > for linux: > http://dev.mapfish.org/sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/building_javascript.html) > > OpenLayers contains the necessary requires and include information that are > used to define the dependencies. It's not the case in GeoExt, but I would be > in favor to do it. > Cédric > > On Fri, Apr 23, 2010 at 12:56 PM, Vasile Cristian Stan < > [email protected]> wrote: > >> Hi all, >> >> I'm currently working at my dissertation regarding open standards and web >> implementation. For practical part i want to create a web application using >> Geo-Ext, also i have a chapter in which I want to describe basic >> functionalities of the library. I'm interested in more complex documentation >> about the project, if it is available. >> >> For practical part i want to now if it is possible to define all >> dependencies in one file for example *mymap.js* and to exclude all of >> this: >> >>> <script type="text/javascript" >>> src="../../../trunk/ext/adapter/ext/ext-base.js"></script> >>> <script type="text/javascript" >>> src="../../../trunk/ext/ext-all.js"></script> >>> <script type="text/javascript" >>> src="../../../trunk/openlayers/lib/OpenLayers.js"></script> >>> <script type="text/javascript" >>> src="../../../trunk/geoext/lib/GeoExt.js"></script> >>> <script type="text/javascript" >>> src="../ux/downloadify/js/swfobject.js"></script> >>> <script type="text/javascript" >>> src="../ux/downloadify/js/downloadify.min.js"></script> >>> <script type="text/javascript" src="../ux/utils/flash.js"></script> >>> <script type="text/javascript" src="../ux/data/FormatStore.js"></script> >>> <script type="text/javascript" src="../ux/data/Export.js"></script> >>> <script type="text/javascript" src="../ux/data/Import.js"></script> >>> <script type="text/javascript" >>> src="../ux/widgets/LayerManagerExportWindow.js"></script> >>> <script type="text/javascript" >>> src="../ux/widgets/LayerManagerExportPanel.js"></script> >>> <script type="text/javascript" >>> src="../ux/widgets/LayerManagerImportPanel.js"></script> >>> <script type="text/javascript" >>> src="../ux/widgets/LayerManagerWindow.js"></script> >>> <script type="text/javascript" src="LayerManagerExample.js"></script> >>> >> >> from the head of the page. If it is possible, how can I construct such a >> code, it is an example for this? >> >> >> Thanks, >> >> Cristian >> >> >> >> >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://www.geoext.org/cgi-bin/mailman/listinfo/users >> >> > > > -- > Geospatial Director Camptocamp SA > Cédric Moullet > PSE A > CH-1015 Lausanne > www.camptocamp.com / www.mapfish.org / twitter.com/cedricmoullet / > mapfishblog.blogspot.com/ > > +41 79 759 69 83 (mobile) > +41 21 619 10 21 (direct) > +41 21 619 10 10 (centrale) > +41 21 619 10 00 (fax) > -- Geospatial Director Camptocamp SA Cédric Moullet PSE A CH-1015 Lausanne www.camptocamp.com / www.mapfish.org / twitter.com/cedricmoullet / mapfishblog.blogspot.com/ +41 79 759 69 83 (mobile) +41 21 619 10 21 (direct) +41 21 619 10 10 (centrale) +41 21 619 10 00 (fax)
_______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
