Skip to Content.
Sympa Menu

shibboleth-dev - Re: [Shib-Dev] Packaging the Embedded DS

Subject: Shibboleth Developers

List archive

Re: [Shib-Dev] Packaging the Embedded DS


Chronological Thread 
  • From: "Leif Johansson" <>
  • To: "" <>
  • Cc: "" <>
  • Subject: Re: [Shib-Dev] Packaging the Embedded DS
  • Date: Wed, 5 Jan 2011 17:44:48 +0100

have you considered reusing the jquery framework?

5 jan 2011 kl. 17:35 skrev "Rod Widdowson"
<>:

> Beta1 of the EDS ships with all the JavaScript as written. This is quite
> large (58k) and comes as 3 files (hence three HTML
> requests)
>
> For later betas and production we are changing the distribution to be a
> configuration JavaScript file and the a second JavaScript
> file consisting of the 3 source files munged together in some manner.
> "Packer" seems to do quite nicely of the minification (down
> to 15k), but I'm not wedded to that. The aim is to save download size and
> HTML requests...
>
> My question is how to perform this packaging? Right now I am hand
> concatenating the JavaScript files and then shoving them up into
> one of the many minification web sites (for instance
> http://dean.edwards.name/packer/). This is cumbersome but effective,
> although
> it leaves me slightly nervous about Trojans.
>
> The aim is that eventually the EDS will be shipped with the Shibboleth SP
> (and with any other SP what wishes to use it). But I do
> not want to impose yet another tool on people who want to build the SP from
> source.
>
> At the other extreme is somehow seems wrong to check the output of the
> minification process back into SVN (sort of like checking in
> the .class files as well as the .java ones).
>
> A mid-point might have (qualified) minification tools checked in alongside
> the JavaScript and have some sort of build script, but
> this is only slightly nicer than requiring the tool to be installed as part
> of the SP build.
>
> Thoughts?
>
> Rod
>
>
>




Archive powered by MHonArc 2.6.16.

Top of Page