Changeset 21884


Ignore:
Timestamp:
2010-04-14T14:35:24+12:00 (11 years ago)
Author:
ak19
Message:

The lib/Crypt.class file of shared/core/lib/crypt.jar needs to be included in the final antinstaller.jar file (Greenstone-version-something.jar) for GS2/rk2 so that the admin pwd can be encrypted at the end of the install phase. Else you get an Install Failed message and the Admin pages don't recognise the chosen admin pwd since it was never successfully encrypted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/shared/core/ant-scripts/create-installer.xml

    r21634 r21884  
    3131        <!-- insert greenstone's ant tasks -->
    3232        <unjar src="${rk.home}/shared/core/ant-tasks/greenstone/anttasks.jar" dest="installer/classes"/>
     33
     34                <!-- Include lib/crypt.class but only for releasekit2 (rk2) -->
     35                <if><bool><equals arg1="${rk.name}" arg2="rk2"/></bool>
     36                        <unjar src="${rk.home}/shared/core/lib/crypt.jar" dest="${basedir}/installer/classes">
     37                                   <patternset><include name="**/*.class"/></patternset>
     38                        </unjar>
     39                </if>
    3340
    3441        <!-- (windows only) -->
Note: See TracChangeset for help on using the changeset viewer.