Changeset 21884

Show
Ignore:
Timestamp:
14.04.2010 14:35:24 (9 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.

Files:
1 modified

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) -->