ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asaf Mesika <asaf.mes...@gmail.com>
Subject RE: Methods inside Java ant task
Date Mon, 19 Jun 2006 21:26:59 GMT
How about passing a param to the task you're writing, to choose the
procedure you'd like to run and then run it via RMI?


> -----Original Message-----
> From: 1800 tbsfunny [mailto:1800tbsfunny@gmail.com]
> Sent: Thursday, June 08, 2006 6:54 PM
> To: user@ant.apache.org
> Subject: Methods inside Java ant task
> 
> Hi Ant gurus,
> 
> I am trying to write an Ant task that looks something like that -
> 
> <target name="startcss" description="starting CSS" depends="setup">
>         <java classname="util.runtime.TestSingleton.initialize()"
> fork="no"
> failonerror="no">
>             <classpath refid="testrunning.classpath"/>
>         </java>
>     </target>
> 
> 
> This fails on me because we cannot run methods directly. Any suggesstions?


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message