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: user@ant.apache.org
> Subject: Methods inside Java an
> Original-Nachricht
> Datum: Thu, 8 Jun 2006 13:14:21 -0400
> Von: 1800 tbsfunny <[EMAIL PROTECTED]>
> An: Ant Users List
> Betreff: Re: Methods inside Java ant task
>
> Thanks Antonie.
>
> I created a wrapper class.
>
>
Thanks Antonie.
I created a wrapper class.
public class TestSingletonInitializer
{
public static void main(String[] args)
{
TestSingleton.initialize();
}
}
This still doesnt run very well. But when I use my initialize method inside
of the junit tests. ex.
TestSingleton.initial
Hello,
you need to write a main method which calls the method you want to run.
May be add a main method to util.runtime.TestSingleton.
The only method which can be invoked by is static void main (String []
args).
Regards,
Antoine
> Original-Nachricht
> Datum: Thu, 8 Jun 2006