Changeset 686
- Timestamp:
- 05/29/07 21:48:27 (1 year ago)
- Files:
-
- trunk/src/main/resources/phing/build-stubbles.xml (modified) (2 diffs)
- trunk/src/main/resources/phing/stubbles.bat (modified) (1 diff)
- trunk/src/main/resources/phing/stubbles.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/resources/phing/build-stubbles.xml
r684 r686 68 68 </filterchain> 69 69 </copy> 70 <input propertyname="jsonrpc.example.enabled" promptChar="?" defaultValue="Y">Do you want to enable the JSON-RPC examples? (Y/N)</input>71 <if>72 <or>73 <equals arg1="${jsonrpc.example.enabled}" arg2="Y"/>74 <equals arg1="${jsonrpc.example.enabled}" arg2="y"/>75 </or>76 <then>77 <phing phingfile="${project.basedir}/examples/build.xml" inheritAll="false" target="json-rpc">78 <property name="javascript.srcpath" value="${project.basedir}/docroot/javascript" />79 </phing>80 </then>81 <else>82 <echo>JSON-RPC example installation skipped.</echo>83 </else>84 </if>85 70 </then> 86 71 <else> … … 135 120 </else> 136 121 </if> 122 </target> 123 124 <!-- 125 Setup examples 126 --> 127 <target name="setup-examples" depends="init-stubbles" description="Sets up all examples."> 128 <echo>----------------------------------</echo> 129 <echo>| Removing dist files |</echo> 130 <echo>----------------------------------</echo> 131 <phing phingfile="${project.basedir}/examples/build.xml" inheritAll="false" target="main"> 132 <property name="javascript.srcpath" value="${project.basedir}/docroot/javascript" /> 133 </phing> 137 134 </target> 138 135 trunk/src/main/resources/phing/stubbles.bat
r653 r686 6 6 if %1!==! goto setup-project 7 7 if %1==setup-project goto setup-project 8 if %1==setup-examples goto execute 8 9 if %1==clean-dist goto execute 9 10 if %1==clean-config goto execute trunk/src/main/resources/phing/stubbles.sh
r651 r686 12 12 case $STUBCOMMAND in 13 13 "setup-project") phing -f build-stubbles.xml setup-project;; 14 "setup-examples") phing -f build-stubbles.xml setup-examples;; 14 15 "clean-dist") phing -f build-stubbles.xml clean-dist;; 15 16 "clean-config") phing -f build-stubbles.xml clean-config;;
