On Thursday, March 11, 2010, Yves Moisan <[email protected]> wrote:
> Le 2010-03-04 18:51, Tim Schaub a écrit :
>> Hey-
>>
>> At a recent sprint, I put together a JavaScript build service hosted on
>> App Engine.  Using this service, we can put up a client page for
>> configuring a custom build of GeoExt.  Here's an example:
>>
>> http://dev.opengeo.org/~tschaub/gxbuild/
>>
> Really nice !  Are you sort of building a .cfg file on the fly that you
> shove to jsbuild hosted on AppEngine ?
>
> We're running your jsbuild engine with MapFish's build scripts and we
> often have requests of people wanting a lighter OL + MF + GeoExt bundle
> so I was thinking of building .cfg files with a client web app like the
> one you did and then shove that file to whatever jsbuild instance,
> AppEngine or not.  Is there something like a dependency tree for the
> whole stack, let's say GeoExt and it's dependencies, that is ExtJS and
> OpenLayers, that I could use to build minimal Ext and OL versions as a
> function of what I want from GeoExt ?
>
> I think I understand dependencies in GeoExt are determined from @require
> and @include code directives.  Does that hold true for parts further
> down the stack ?  Or maybe those sofware parts have other directives or
> ways of determining dependencies ?

First of all, in case it is unclear:

- @requires means place the required file *before* this file (the file
that has the @requires directive) in the build.

- @include means place the required file anywhere in the build, before
or after this file it doesn't matter.

OpenLayers uses @requires directives only, because OpenLayers' build
script supports @requires only. And these directives target OpenLayers
files only.

GeoExt uses @requires and @include directives. And these directives
target GeoExt files only. Since GeoExt uses OpenLayers classes it
would make sense to have build directives to OpenLayers files as well.
We have discussed this in the past, but to be still able to create
GeoExt-only builds we'll need a patch to jsbuild so dependencies can
optionaly be ignored. IIRC there's a jsbuild issue about that on
GitHub.

MapFish uses @requires and @include, to MapFish, GeoExt and OpenLayers
files. This means that, with today's jsbuild, one cannot create
MapFish-only builds.

Ext doesn't use @requires and @include, it has its own build system.

Cheers,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Dev mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/dev

Reply via email to