Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Anurag Walia
Hi, Some times if the java file exist inside hot-deploy then problem come like this. can you specify the path of your java and groovy file. Regards Anurag Walia -- View this message in context: http://n4.nabble.com/any-reason-a-groovy-file-can-t-execute-my-java-class-tp1837571p1837980.html S

Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Jacques Le Roux
Yes, that's a problem indeed Jacques From: "Patrick" I guess you can't have a groovy file with the same name as your java class file :( On Mon, Apr 12, 2010 at 2:01 PM, Adrian Crum wrote: Make sure the update method is public, and that it takes no arguments and returns a number. -Adrian

Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Patrick
I guess you can't have a groovy file with the same name as your java class file :( On Mon, Apr 12, 2010 at 2:01 PM, Adrian Crum wrote: > Make sure the update method is public, and that it takes no arguments and > returns a number. > > -Adrian > > Patrick wrote: >> >> I made a little java class b

Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Adrian Crum
Make sure the update method is public, and that it takes no arguments and returns a number. -Adrian Patrick wrote: I made a little java class but it won't execute for me in groovy, I can execute other classes orh = new OrderReadHelper(); //i can execute this z = new NextPickupDateUpdater();

any reason a groovy file can't execute my java class?

2010-04-12 Thread Patrick
I made a little java class but it won't execute for me in groovy, I can execute other classes orh = new OrderReadHelper(); //i can execute this z = new NextPickupDateUpdater(); //this is my class, it doesn't complain, but it doesn't execute, inspecting the value gives a memory address, numdays =