- Timestamp:
- 11/19/08 08:55:36 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Release04x02/twikiplugins/BuildContrib/data/TWiki/BuildContrib.txt
r672 r799 118 118 Now install the !BuildContrib. In a subversion checkout, =cd= to the TWiki root 119 119 and =perl pseudo-install.pl BuildContrib=. In a non-subversion environment, 120 install the =BuildContrib= package from TWiki.org.120 install the =BuildContrib= package from foswiki.org. 121 121 122 122 ---+++ Environment Variables … … 125 125 pick up the components of the build system. Set =TWIKI_LIBS= (which is a 126 126 path, same as =PERL5LIB=) to point to your =lib= directory in your development 127 TWiki. =$TWIKI_LIBS= is used to extend @INC _for the duration of the build127 Foswiki. =$TWIKI_LIBS= is used to extend @INC _for the duration of the build 128 128 only_, so it won't mask problems during testing. 129 129 … … 256 256 The installer script written by the build process uses the dependency type 257 257 to decide how to install dependant modules. 'cpan' means 'get the module 258 from CPAN' and 'perl' means 'get the module from the Plugins web on TWiki.org'258 from CPAN' and 'perl' means 'get the module from the Extensions web on foswiki.org' 259 259 (or whatever other repositories the admin has specified using =$TWIKI_PACKAGES= 260 260 or =$PLUGINS_URL=). … … 263 263 When your module (the _depender_) depends on another module (a _dependee_), it is important to think carefully about what version of the dependee your module requires. 264 264 265 When you are working with TWiki modules (such as contribs and plugins) you should list the version number of the module that you tested with. Normally you will want to use a <code>></code> condition, so that more recent versions will also work. If a dependency on a TWiki module fails (because the module isn't installed, for example) then the installer script will pull *the latest version* of the module from TWiki.org, whether that is the required version or not. This is a limitation of the way plugins are stored on TWiki.org.265 When you are working with TWiki modules (such as contribs and plugins) you should list the version number of the module that you tested with. Normally you will want to use a <code>></code> condition, so that more recent versions will also work. If a dependency on a TWiki module fails (because the module isn't installed, for example) then the installer script will pull *the latest version* of the module from foswiki.org, whether that is the required version or not. This is a limitation of the way plugins are stored on foswiki.org. 266 266 267 267 When you are working with CPAN modules, you need to take account of the fact that there are *two types* of CPAN modules; _built-ins_ and _add-ons_. … … 280 280 contans <code>ONLYIF ( _condition_ )</code>, where _condition_ is a Perl 281 281 conditional. This is most useful for enabling dependencies only for certain 282 versions of TWiki. For example,282 versions of Foswiki. For example, 283 283 <verbatim> 284 284 TWiki::Rhinos,>=1.000,perl,Required. Download from TWiki:Plugins/RhinosContrib and install. … … 301 301 all the files you want to include in the release package 302 302 During development we recommend you use the =pseudo-install.pl= script to 303 soft-link your plugin code into your development TWiki. This script uses the303 soft-link your plugin code into your development Foswiki. This script uses the 304 304 MANIFEST you write and creates softlinks in your development TWiki that allow 305 305 you to run your test code without having to do a full re-install each time you … … 375 375 * =cd twikiplugins/BathPlugin/lib/TWiki/Plugins/BathPlugin= 376 376 * =perl build.pl upload= 377 By default the =upload= target will upload to TWiki.org. You will be prompted377 By default the =upload= target will upload to foswiki.org. You will be prompted 378 378 to enter an alternate upload target, should you require it (e.g. to upload to 379 379 private corporate repository). The upload updates the topic and any associated
Note: See TracChangeset
for help on using the changeset viewer.
