linux常用命令4
23、ant相关命令
<target name="open_reports">
<property name="ie" value="C:\Program Files\Internet Explorer\IEXPLORE.EXE" />
<exec executable="cmd.exe" newenvironment="true">
<arg value="/c" />
<arg value="start" />
<arg value="${ie}" />
<arg value="${utreport.dir}\junit-noframes.html" />
</exec>
</target>
<target name="ut_gv">
<echo message="ut gv" />
<exec dir="../" executable="cmd.exe" failonerror="false">
<arg line="/c mvn -DskipTests clean install" />
</exec>
<if>
<and>
<available file="${carrier.dir}/${version}"/>
</and>
<then>
<antcall target="pre_upgrade_jar" />
<zip destfile="${release.dir}/jboss.zip" basedir="${release.dir}/jboss" />
<copy todir="${release.dir}">
<fileset dir="${carrier.dir}/${carrier}/${projects4}/version/${version}/files"/>
</copy>
</copy>
<tar longfile="fail" compression="gzip" basedir="${release.dir}" destfile="${release.dir}/${carrier}.tar.gz" />
</then>
</if>
<foreach list="${projects}" target="copy_gv" param="project" delimiter=":"/>
</target>
24、检查软件是否安装
rpm -aq |grep ntp