Re: getting file size

2004-12-27 Thread Ivan Ivanov
David, yes it is possible by using javascript: $${filesize} is ${filesize} HTH Ivan --- David Kavanagh <[EMAIL PROTECTED]> wrote: > I'm using ant for a J2ME project and I need to get > the jar file size > into my .jad file. So, I was looking for s

Re: Re: Typdef/taskdef behaviour and introspection

2004-12-27 Thread edouard . ant
Hi to all; first of all, thanks a lot for your answers. I need to indicate that I need my Ant task to work both under JRE V1.3 and JRE V1.4+. OK, I need to perform XSLT that is supposed to be separate from the Ant process. So I guess that I'm out of luck ;-< But this is a general issue, since

Re: promting users input

2004-12-27 Thread Yiling Lu
On Mon, 27 Dec 2004 09:07:41 -0800 (PST), Shailesh Sharma <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a very simple ANT script that does my ear/war file deployments on > weblogic 8.1 servers. > > But what i wanted to do is that i wanted to echo some messges something like: > > "Do you w

getting file size

2004-12-27 Thread David Kavanagh
I'm using ant for a J2ME project and I need to get the jar file size into my .jad file. So, I was looking for something in Ant that might let me read the size of a file into a property. I couldn't find anything! I have no problem writing a custom task, but I really hope there is something existing

Re: promting users input

2004-12-27 Thread Martin Cooper
http://ant.apache.org/manual/CoreTasks/input.html -- Martin Cooper On Mon, 27 Dec 2004, Shailesh Sharma wrote: Hi, I have a very simple ANT script that does my ear/war file deployments on weblogic 8.1 servers. But what i wanted to do is that i wanted to echo some messges something like: "Do you wa

promting users input

2004-12-27 Thread Shailesh Sharma
Hi, I have a very simple ANT script that does my ear/war file deployments on weblogic 8.1 servers. But what i wanted to do is that i wanted to echo some messges something like: "Do you wanted to really wanted to deploy to server ?" If i say "YES", then i wanted to proceed, otherwise it will

Re: Classpath Issue

2004-12-27 Thread Antoine Levy-Lambert
Shane, it looks like you are using simply a class of commons-collection. Put commons-collection.jar in $ANT_HOME/lib (the simplest solution), or change your build files to put commons-collection.jar where you need it (maybe in the classpath of some custom task ???) or you can also start ant like t

Re: File locking problem using ant.apache.tools.ant.Project

2004-12-27 Thread Antoine Levy-Lambert
Hello Helge, I am not sure how you solve this problem. It might be caused by (the compilation task) not releasing file locks. You can try to use which means you are going to compile out of process, so in this case the compiler is not going to hold the lock for long. Otherwise, I am not sure wh

Re: Replacing a path

2004-12-27 Thread Antoine Levy-Lambert
Hello Thomas, the difficulty is you have probably an unlimited number of file separators between D:\in\ and "message.properties". You need to write your own custom mapper. The difficulty with regular expression is that there is no syntax I know of to back reference a pattern which repeats 0 to n

Re: Problem with ANT build - Please help

2004-12-27 Thread Ivan Ivanov
Muhammad, from your email I understand that you are setting on a linux box and you are using ant-1.5.2, that is preinstalled in your linux distribution. I would suggest you remove that version since it is fairly old. On Red Hat you can find it with the command rpm -qa | grep ant and uninstall it w

Problem with ANT build - Please help

2004-12-27 Thread Muhammad Naufal
Hello, I am having some troubles with ANT Build. Here is the dump of the same. Appreciate if someone can help me rectify the same. I have been struggling with ANT for about 2 days now. I am not a hi-tech guy, just trying to learn downl

Re: Typdef/taskdef behaviour and introspection

2004-12-27 Thread Antoine Levy-Lambert
Hello, Edouard, do not forget also that xalan is part of JDK 1.4 (I guess also of 1.5). Starting ant or java with a -Djava.endorsed.dirs="path to xalan.jar" or create a directory $JAVA_HOME/jre/lib/endorsed and put the version of xalan you need there might help. Cheers, Antoine Jacob Kjome wrote: