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:[EMAIL PROTECTED] > Sent: Thursday, June 08, 2006 6:54 PM > To: [email protected] > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
