improve usage target and other descriptions and comments to match latest wiki improvements.

cusax-fix
Brian Burch 20 years ago
parent 8f9f7b0859
commit d0d4376340

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Created by Emil Ivov on Jul 6, 2005 8:30:22 PM--> <!-- Created by Emil Ivov on Jul 6, 2005 8:30:22 PM-->
<project basedir="." default="usage" name="sip-communicator-1.0"> <project basedir="." default="ant-usage" name="sip-communicator-1.0">
<property environment="system"/> <property environment="system"/>
<property name="jdk.home" value="/usr/java/java"/> <property name="jdk.home" value="/usr/java/java"/>
@ -86,12 +86,18 @@
</path> </path>
<!-- default Ant target does nothing except print helpful options --> <!-- default Ant target does nothing except print helpful options -->
<!-- Ant-internal target does not appear in its own help display --> <!-- Ant-external target will appear in -projecthelp output -->
<target name="usage" > <target name="ant-usage"
<echo message="execute 'ant cc-buildloop' to initialise a sandbox (cruise control build cycle)" /> description="simply execute 'ant' to discover the most useful targets.">
<echo message="execute 'ant rebuild' for a clean/build/test sequence" /> <echo message="Useful ant commands for the SIP Communicator Project..." />
<echo message="execute 'ant -projecthelp' for other useful build targets" /> <echo message="'ant rebuild' for a safe clean/build sequence" />
<echo message="execute 'ant -help' for Ant help" /> <echo message="'ant rebuild run' for a safe clean/build/run" />
<echo message="'ant make run' for incremental build/run" />
<echo message="'ant run' to run the last build (use with care!)" />
<echo message="'ant test' for incremental build/test sequence" />
<echo message="'ant rebuild test' for safe clean/build/test sequence" />
<echo message="'ant -projecthelp' for other useful build targets" />
<echo message="'ant -help' for Ant help" />
</target> </target>
<!-- java compile --> <!-- java compile -->
@ -107,7 +113,7 @@
<!-- clean --> <!-- clean -->
<target name="clean" depends="clean-bundle-repositories" <target name="clean" depends="clean-bundle-repositories"
description="Remove all generated files and prepare for a clean restart."> description="Remove all generated files and prepare for a clean build.">
<delete failonerror="false" includeemptydirs="true"> <delete failonerror="false" includeemptydirs="true">
<fileset dir="${dest}"/> <fileset dir="${dest}"/>
<fileset dir="${bundles.dest}"/> <fileset dir="${bundles.dest}"/>
@ -168,17 +174,17 @@
</target> </target>
<!--PACKAGE--> <!--PACKAGE-->
<!--Copy resource files and create bundles jars. --> <!--Copy resource files and update bundles jars. -->
<target name="package" depends="resource,bundles"/> <target name="package" depends="resource,bundles"/>
<!--MAKE--> <!--MAKE-->
<target name="make" depends="clean-bundle-repositories,compile,package" <target name="make" depends="clean-bundle-repositories,compile,package"
description="Compile and package the project (incrementally)."/> description="Incremental compile and package the project."/>
<!--REBUILD--> <!--REBUILD-->
<target name="rebuild" depends="clean,make" <target name="rebuild" depends="clean,make"
description="Clean,re-compile and package the project (no bundles or tests)."/> description="Clean and make the project (including bundles)."/>
<!--INIT--> <!--INIT-->
<target name="init"> <target name="init">
@ -318,9 +324,9 @@
</junitreport> </junitreport>
</target> </target>
<!--RUN-SIP-COMMUNICATOR--> <!--RUN-SIP-COMMUNICATOR - n.b. has NO Dependents!! -->
<target name="run" <target name="run"
description="Starts oscar and runs sip-comunicator gui."> description="Starts oscar and runs sip-comunicator gui (use latest build).">
<java classname="org.ungoverned.oscar.Main" <java classname="org.ungoverned.oscar.Main"
fork="true" fork="true"

@ -27,7 +27,7 @@
</folders> </folders>
<ide-actions> <ide-actions>
<action name="build"> <action name="build">
<target>cc-buildloop</target> <target>make</target>
</action> </action>
<action name="clean"> <action name="clean">
<target>clean</target> <target>clean</target>
@ -36,14 +36,18 @@
<target>javadoc</target> <target>javadoc</target>
</action> </action>
<action name="run"> <action name="run">
<!-- run has NO dependents, but we have to protect
users from not picking up the latest changes
by doing an explicit incremental make.
-->
<target>make</target>
<target>run</target> <target>run</target>
</action> </action>
<action name="test"> <action name="test">
<target>test</target> <target>test</target>
</action> </action>
<action name="rebuild"> <action name="rebuild">
<target>clean</target> <target>rebuild</target>
<target>cc-buildloop</target>
</action> </action>
<action name="run.single"> <action name="run.single">
<target>test</target> <target>test</target>

Loading…
Cancel
Save