| 227 |
dpurdie |
1 |
#! perl
|
|
|
2 |
########################################################################
|
|
|
3 |
# Copyright (C) 2006 ERG Limited, All rights reserved
|
|
|
4 |
#
|
|
|
5 |
# Module name : jats.sh
|
|
|
6 |
# Module type : Makefile system
|
|
|
7 |
# Compiler(s) : n/a
|
|
|
8 |
# Environment(s): jats
|
|
|
9 |
#
|
|
|
10 |
# Description : This is a dummy deploylib.pm file
|
|
|
11 |
# Inpractice it should not be found as module SHOULD be provided
|
|
|
12 |
# by an external package.
|
|
|
13 |
#
|
|
|
14 |
# This module exists simply to provide a friendly user error
|
|
|
15 |
# message.
|
|
|
16 |
#
|
|
|
17 |
# ASSUMPTION:
|
|
|
18 |
# The PERL5LIB path is set so that the directory containing
|
|
|
19 |
# user modules is searched before the directory conatining this
|
|
|
20 |
# package.
|
|
|
21 |
#
|
|
|
22 |
#......................................................................#
|
|
|
23 |
|
|
|
24 |
require 5.6.1;
|
|
|
25 |
use strict;
|
|
|
26 |
use warnings;
|
|
|
27 |
|
|
|
28 |
package deploylib;
|
|
|
29 |
|
|
|
30 |
BEGIN
|
|
|
31 |
{
|
|
|
32 |
print "---------------------------------------------------------------------\n";
|
|
|
33 |
print "ERROR.\n";
|
|
|
34 |
print "ERROR. The build.pl file used to create this deployment package\n";
|
|
|
35 |
print "ERROR. needs to be updated to include a package that provides\n";
|
|
|
36 |
print "ERROR. the core deployment functionality\n";
|
|
|
37 |
print "ERROR.\n";
|
|
|
38 |
print "ERROR. e.g.: BuildPkgArchive ( 'deployfiles', '1.0.0.cr' );\n";
|
|
|
39 |
print "ERROR.\n";
|
|
|
40 |
print "---------------------------------------------------------------------\n";
|
|
|
41 |
exit 1;
|
|
|
42 |
}
|
|
|
43 |
|
|
|
44 |
1;
|