Changeset 1652
- Timestamp:
- 06/24/08 09:49:01 (3 months ago)
- Files:
-
- trunk/src/main/resources/phing/build-stubbles.xml (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/resources/phing/build-stubbles.xml
r1647 r1652 47 47 </target> 48 48 49 <target name="projectcheck" unless="stubbles.project">50 <input propertyname="stubbles.project" promptChar=":">Please enter the name of the project to use the config from</input>51 </target>52 53 49 <target name="setup-examples" description="Sets up all examples."> 54 50 <echo>----------------------------------</echo> … … 80 76 <input propertyname="cleanup.dist.confirm" promptChar="?" defaultValue="N">Are you sure, you want to remove project dist? (Y/N)</input> 81 77 <if> 82 <equals arg1="${cleanup.dist.confirm}" arg2="Y" casesensitive="false" />78 <equals arg1="${cleanup.dist.confirm}" arg2="Y" casesensitive="false"/> 83 79 <then> 84 80 <delete dir="${stubbles.projects.path}/dist" includeemptydirs="true" verbose="true" failonerror="true"/> 85 81 </then> 86 82 </if> 87 </target>88 89 <target name="init-stubbles" depends="projectcheck" description="Loads class loader.">90 <echo>----------------------------------</echo>91 <echo>| Loading Stubbles classloader |</echo>92 <echo>----------------------------------</echo>93 <stubInitConfig configPath="${stubbles.projects.path}/${stubbles.project}/config"/>94 <stubInitClassLoader/>95 83 </target> 96 84 … … 132 120 </target> 133 121 134 <target name="generate-clients" de pends="init-stubbles" description="Generates JSON-RPC clients for all projects.">122 <target name="generate-clients" description="Generates JSON-RPC clients for all projects."> 135 123 <echo>----------------------------------</echo> 136 124 <echo>| Generating JSON-RPC proxies |</echo> … … 174 162 175 163 $this->project->setProperty('projects', join(',', $projects)); 164 $this->project->setProperty('first.project', $projects[0]); 176 165 } 177 166 } 178 167 ]]></adhoc-task> 179 168 <projectList projectDir="${stubbles.projects.path}"/> 169 <stubInitConfig configPath="${stubbles.projects.path}/${first.project}/config"/> 170 <stubInitClassLoader/> 180 171 <foreach list="${projects}" param="stubbles.project" target="generate-client-project"/> 181 172 </target> … … 185 176 <available file="${stubbles.projects.path}/${stubbles.project}/config/json-rpc-service.ini"/> 186 177 <then> 187 <mkdir dir="${stubbles.projects.path}/${stubbles.project}/docroot/${jsonrpc.clients.dir}"/>188 178 <stubGenerateJsonRpcProxies serviceFile="${stubbles.projects.path}/${stubbles.project}/config/json-rpc-service.ini" 189 179 docroot="${stubbles.projects.path}/${stubbles.project}/docroot"/>
