fix for issue 892 removed .sh extension in the bin directory and reflect the change in the test installer
| | |
| | | </copy> |
| | | |
| | | <chmod file="${pdir}/*.sh" perm="755" /> |
| | | <chmod file="${pdir}/bin/*.sh" perm="755" /> |
| | | <chmod perm="755"> |
| | | <fileset dir="${pdir}/bin"> |
| | | <exclude name="*.bat"/> |
| | | </fileset> |
| | | </chmod> |
| | | </target> |
| | | |
| | | |
| | |
| | | description="Package the Directory Server for distribution."> |
| | | |
| | | <zip destfile="${package.dir}/OpenDS-${pkgversion}.zip"> |
| | | <zipfileset dir="${package.dir}" includes="**/*" excludes="**/*.sh" |
| | | <zipfileset dir="${package.dir}" includes="**/*" |
| | | filemode="644" dirmode="755" /> |
| | | <zipfileset dir="${package.dir}" includes="**/*.sh" filemode="755" |
| | | dirmode="755" /> |
| | | <zipfileset dir="${package.dir}" |
| | | includes="**/*.sh,**/backup,**/configure-ds,**/encode-password,**/export-ldif,**/import-ldif,**/ldapcompare,**/ldapdelete,**/ldapodify,**/ldappasswordmodify,**/ldapsearch,**/ldif-diff,**/ldifmodify,**/ldifsearch,**/makeldif,**/restore,**/start-ds,**/stop-ds,**/verify-index" |
| | | filemode="755" |
| | | dirmode="755" /> |
| | | </zip> |
| | | </target> |
| | | |
| | |
| | | </unzip> |
| | | <chmod perm="755"> |
| | | <fileset dir="${full.install.dir}/bin"> |
| | | <include name="*.sh"/> |
| | | <exclude name="*.bat"/> |
| | | </fileset> |
| | | </chmod> |
| | | </target> |
| | |
| | | spawn="true" /> |
| | | <exec |
| | | os="${unix.list}" |
| | | executable="${full.install.dir}/bin/start-ds.sh" |
| | | executable="${full.install.dir}/bin/start-ds" |
| | | spawn="true" /> |
| | | </target> |
| | | <target name="start"> |
| | |
| | | </exec> |
| | | <exec |
| | | os="${unix.list}" |
| | | executable="${full.install.dir}/bin/stop-ds.sh" |
| | | executable="${full.install.dir}/bin/stop-ds" |
| | | spawn="true" > |
| | | <arg line="-h ${host.name}"/> |
| | | <arg line="-p ${port.ldap}"/> |