forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject [HEADSUP] Committed skin package system
Date Tue, 30 Sep 2003 14:48:07 GMT

I have committed the change that makes it possible for users to download 
skins and have them automatically used by Forrest.

Skins are standard jar files with a *.fsj (forrest skin jar) extension, 
that can thus be also unpacked and installed automatically.

To publish a skin:

  1 - forrest package-skin
      The skin package will be made in the skin dir, next to the
      custom skin.
  2 - place the file in a directory on a web server
  3 - ask forrest-dev to add the url and the skin name to the
      list of skins


To use a custom skin with automatic download:

  1 - set the skin property in forrest.properties to the name of the
      skin
  2 - forrest install-skin
  3 - forrest

[currently there are two test skins: "testskin" and "testskin2"]


To see the names of the remote skins:

   forrest available-skins


_TODO_

  1 - If it's ok, migrate the skins.xml file from my account to
      xml.apache.org/forrest/skins/skins.xml (->nicolaken)
  2 - add a version to the skin files, to match the forrest one
      (->nicolaken)
  3 - make forrest unpack files placed manually (->nicolaken)
  4 - make the download automatic when running forrest if skin
      not available (->open, not sure if good to have)
  5 - docs about how to use it (->nicolaken)


Enjoy!

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------



Mime
View raw message