Re: When using ExecuteJava in other class, JVM don't allow to create streams.

2007-09-14 Thread Alexey Mel'nikoff
Any one can help me? I try to extend Java task, and I get same error. Class which I try to execute cannot get output and input streams. This my code: package com.reksoft.documentum.tools.ant.taskdefs.dai; import java.io.File; import java.util.ArrayList; import java.util.Collection; import org.

Re: When using ExecuteJava in other class, JVM don't allow to create streams.

2007-09-14 Thread Alexey Mel'nikoff
Any one can help me? I try to extend Java task, and I get same error. Class which I try to execute cannot get output and input streams. This my code: package com.reksoft.documentum.tools.ant.taskdefs.dai; import java.io.File; import java.util.ArrayList; import java.util.Collection; import org.

When using ExecuteJava in other class, JVM don't allow to create streams.

2007-09-13 Thread Alexey Mel'nikoff
I try to create ant task which launch java in separate VM with specified paramaters. Java executing class, which creates output and input streams. When I did it from task, all works, but when I try to use it in my task, streams are not created. And class from lib can't work with files and user inp