AW: Error from ftp chmod action

2005-08-25 Thread Rüegsegger Martin
Hi Below you find an example of a file ftp upload with simultanenous modification of file attributes. I remember that I had some problems getting this far. I think that it may be important to use numbers (e.g 775) for the umask instead of something like "u+x". If your "deployment files" are up

AW: AW: Call Ant task from java file

2005-08-14 Thread Rüegsegger Martin
>Yes, that's right. But I didn't get any output at all when running the >task from inside a java class. So how can I get the ant log messages as a >string? > > From my first message: > >BuildLogger log = new DefaultLogger(); >log.setMessageOutputLevel(Project.MSG_VERBOSE); >log.setOutputPrintS

AW: Call Ant task from java file

2005-08-12 Thread Rüegsegger Martin
Hi Steffen "First question: What am I doing wrong?" You didn't specify, what's going wrong, when you run your code. I recommend writing an Ant task first and then use it outside of a build.xml instead of using ant classes directly. Here's an example: ... Project project = new Project(); pro