AW: NullPointerException with ant Javac() api

2008-04-15 Thread Jan.Materne
Your task doesnt have a reference to your project, therefore task.getProject() returns null Try setting the project reference task.setProject(project); task.execute(); Maybe you want to have a look at Leafcutter https://leafcutter.dev.java.net/ Jan > -Ursprüngliche Nachricht

NullPointerException using Javac() from ant API

2008-04-15 Thread paoletto
Hello, I'm new to ant api. i would like to compile a source from my application, and i wrote the method below. When i execute it, i get a NullPointerException at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:807) where it says: File srcDir = getProject().resolveFile(list[i]); (it's on t

NullPointerException with ant Javac() api

2008-04-15 Thread Paolo
Hello, I'm new to ant api. i would like to compile a source from my application, and i wrote the method below. When i execute it, i get a NullPointerException at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:807) where it says: File srcDir = getProject().resolveFile(list[i]); (it's on th

Re: sshexec ant task command not found

2008-04-15 Thread Alex Mayorga Adame
Can you confirm the dir command is in the PATH of the Windows host when you sshexec to it? Try to change your command to command=PATH just to confirm what's in there when you sshexec. Hope it helps -- View this message in context: http://www.nabble.com/sshexec-ant-task-command-not-found-tp1662

Ivy RoundUp Repository - feedback requested

2008-04-15 Thread Archie Cobbs
Hello fellow Ivy users, I'd like to announce a new little project I've started, and ask for your feedback (and help, if interested). This project has two basic parts... 1. *Builder Resolver*: a new Ivy resolver that accesses iv

Re: Is recursive property evaluation supported?

2008-04-15 Thread Dominique Devienne
On Mon, Apr 14, 2008 at 6:11 PM, Shawn Castrianni <[EMAIL PROTECTED]> wrote: > So I was surprised my recursive property evaluation didn't work. It's not. But there's a patch for it in BugZilla, and you may be able to add it to your SVN controlled copy of Ant via an AntLib thanks to the PropertyHe

Issue with time zone in ANT

2008-04-15 Thread ms harsha
Hi, I am adding some entry in the properties file regarding the date and time. When i execute this above line in my laptop its showing 04/14/2008:11:31:21 IST But in my desktop it shows 04/14/2008:11:31:21 GMT+5:30 I want both machine to print IST what i need to do please help. Regards,