RE: FIltering task output

2004-04-21 Thread Jan . Materne
Only via a custom listener. Or indirect: use to save that to file then use with a nested filterreader for printing. Jan > -Original Message- > From: Johan Vromans CPWR [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 21, 2004 7:04 PM > To: Ant Users List > Subject: FIltering task ou

RE: Problems using ant 1.6.1 with weblogic.jar in classpath

2004-04-21 Thread Dickson, Craig
In WL7 the weblogic jar had a classpath entry in its manifest file that included some ant files that are in the same directory as the weblogic jar. the ant classes may not necessarily be inside the weblogic jar, but the solution suggested is still correct for either scenario. -Original Message

RE: Problems using ant 1.6.1 with weblogic.jar in classpath

2004-04-21 Thread Anderson, Rob (Global Trade)
There are probably ant optional classes in the weblogic.jar. You should add all the ant optional jars to the classpath before weblogic.jar. -Rob Anderson > -Original Message- > From: Steve Rogers [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 21, 2004 11:31 AM > To: [EMAIL PROTECTED]

Problems using ant 1.6.1 with weblogic.jar in classpath

2004-04-21 Thread Steve Rogers
When I try to use ant 1.6.1 with weblogic 6.1 sp4 jar in the CLASSPATH I get this error: D:\apache-ant-1.6.1\lib>set CLASSPATH=d:\apache-ant-1.6.1\lib\ant.jar;d:\bea\wlserver6.1\lib\weblogi c.jar D:\apache-ant-1.6.1\lib>ant "ANT_OPTS=-ms128m -mx256m" Apache Ant version 1.6.1 compiled on February

Re: execute command as root

2004-04-21 Thread Matt Benson
--- [EMAIL PROTECTED] wrote: > AFAIK, you cannot pipe a password to su. I think > this > is for security reasons. You're right. What about the rest of it? -Matt __ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25ยข

FIltering task output

2004-04-21 Thread Johan Vromans CPWR
Is there a way to filter the output of a (arbitrary) task? For example, a particular task produces a lot of output lines, and I only want to see (include in the ant output) the lines that contain the word "error". -- Johan - To

RE: execute command as root

2004-04-21 Thread Anderson, Rob (Global Trade)
You should setup a sudo permision and execute the command via sudo. -Rob Anderson > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 21, 2004 10:02 AM > To: Ant Users List > Subject: Re: execute command as root > > > AFAIK, you cannot pipe

Re: execute command as root

2004-04-21 Thread stevecanfield
AFAIK, you cannot pipe a password to su. I think this is for security reasons. --- Matt Benson <[EMAIL PROTECTED]> wrote: > Don't you need to pipe a password to su? You could > do > that using exec's inputstring (or to redirect from a > file, input) attribute... or for another idea, you > coul

RE: unzip Task Throws Java Exception on Valid Files

2004-04-21 Thread Matt Benson
--- "Sullivan, Sean C - MWT" <[EMAIL PROTECTED]> wrote: > > Ant uses the org.apache.tools.zip package > > http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/zip/ True, but I checked and org.apache.tools.zip.ZipEntry extends java.util.zip.ZipEntry, without overriding setMethod(). :)