Re: Problem making a build.xml using javah

2006-02-01 Thread Stefan Bodewig
On Wed, 1 Feb 2006, Xar <[EMAIL PROTECTED]> wrote: > I readed the webpage and what's my surprise to see that only version > 1.4supports jni (it's that true? higher versions doesn't support > jni?) Where did you read that? javah works fine on many versions of Ant (we had at least one release that

Re: Location of ant.jar

2006-02-01 Thread Stefan Bodewig
On Wed, 01 Feb 2006, Ian Pilcher <[EMAIL PROTECTED]> wrote: > I just ran into a problem building EMMA > (http://emma.sourceforge.net), because the build script expects to > find ant.jar in the $ANT_HOME/lib directory, and JPackage puts it in > /usr/share/java. One symlink and the build works. >

Re: Property file - How to specify the "location" attribute

2006-02-01 Thread Stefan Bodewig
On Wed, 1 Feb 2006, Issam Aib <[EMAIL PROTECTED]> wrote: > For example, suppose the current ${basedir} is equal to > “c:\projectname\app” and I define this property in the build.xml > (located at ${basedir} of course): Minor nit: ${basedir} and the directory containing build.xml are independent

Location of ant.jar

2006-02-01 Thread Ian Pilcher
Sending this directly this time... I just ran into a problem building EMMA (http://emma.sourceforge.net), because the build script expects to find ant.jar in the $ANT_HOME/lib directory, and JPackage puts it in /usr/share/java. One symlink and the build works. The obvious follow-up question is,

Problem making a build.xml using javah

2006-02-01 Thread Xar
Hello. I am starting a project that combines both java and C code and I need it to be compiled through ant (because the main aplicattion uses it). I readed the webpage and what's my surprise to see that only version 1.4supports jni (it's that true? higher versions doesn't support jni?) Well, i t

Ant-based installers

2006-02-01 Thread Andrew Goktepe
I am looking for an ant-based GUI installer to configure and deploy our J2EE applications. I have tried Antigen and AntInstaller. I really like AntInstaller, especially its configuration file format and the way it saves all of the user-provided values for repeat runs of the Ant script. Is anyone us

Re: Hiding target names during output

2006-02-01 Thread Ivan \"Rambius\" Ivanov
Hello, Starting ant with -emacs option might be a choice as well. Regards Ivan --- Jeffrey E Care <[EMAIL PROTECTED]> wrote: > I would recommend a custom logger class. > > -- > Jeffrey E. Care ([EMAIL PROTECTED]) > WAS Pyxis Lead Release Engineer > > > > > chuanjiang lo <[EMAIL PROTECTED]

RE: Read input on the Exec task

2006-02-01 Thread Punnoose, Roshan
I tried those, I need something that will put the same input into the field whenever it asks for it. So for example, if ClearCase is always asking for a DR #, I want to hard code that the DR# is always going to be 13. Is there a way to do this? Roshan Punnoose Phone: 301-497-6039 -Original Me

Re: Read input on the Exec task

2006-02-01 Thread Andrew Goktepe
Look at the input and inputstring attributes of : http://ant.apache.org/manual/CoreTasks/exec.html -Andrew On 2/1/06, Punnoose, Roshan <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Is there anyway at all to be able to read input on the exec task? I am > running ClearTool and it is asking for inpu

Read input on the Exec task

2006-02-01 Thread Punnoose, Roshan
Hi,   Is there anyway at all to be able to read input on the exec task? I am running ClearTool and it is asking for input in it’s scripts so I need to be able to let the builder actually type something in. Is this possible? I checked the FAQs, and the question: “How do I redirect standard

RE: Copy-Task

2006-02-01 Thread Stephen McConnell
> -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: Thursday, 2 February 2006 2:25 AM > To: Ant Users List > Subject: Re: Copy-Task > > Stephen McConnell wrote: > > > > > >> -Original Message- > >> From: Steve Loughran [mailto:[EMAIL PROTECTED] > >

Property file - How to specify the "location" attribute

2006-02-01 Thread Issam Aib
Hi all, I am kind of novice in ant. I have a difficulty to find out how to specify the “location” attribute of a property when I define it in a property file. For example, suppose the current ${basedir} is equal to “c:\projectname\app” and I define this property in the build.xml (located at ${b

Re: Hiding target names during output

2006-02-01 Thread Jeffrey E Care
Information on loggers & listeners is available here: http://ant.apache.org/manual/listeners.html In the future, please confine your replies to the list. You might consider the advice offered here: http://www.catb.org/~esr/faqs/smart-questions.html#noprivate -- Jeffrey E. Care ([EMAIL PROTECT

Re: Copy-Task

2006-02-01 Thread Steve Loughran
Stephen McConnell wrote: -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] -you can use the selector to do byte for byte comparisons of files. But that pulls all the remote data down and can clog a network Would an MD5 comparison be sufficient? you probably do

RE: Copy-Task

2006-02-01 Thread Jeffrey E Care
You still need to pull down all of the bytes to compute the MD5 sum. -- Jeffrey E. Care ([EMAIL PROTECTED]) WAS Pyxis Lead Release Engineer "Stephen McConnell" <[EMAIL PROTECTED]> 02/01/2006 10:36 AM Please respond to "Ant Users List" To "'Ant Users List'" cc Subject RE: Copy-Task

Re: Copy-Task

2006-02-01 Thread Nicolas Vervelle
I haven't followed the beginning of the discussion so I may be wrong about what it is about ;) (Sorry if I misunderstood the question) If you need to copy only modified files from local host to a remote host, you can use a mehod similar to what I have done for updating the http://www.jmol.or

Re: Problems with exec task

2006-02-01 Thread Steve Loughran
Dick, Brian E. wrote: I use WSH mainly for WMI scripting. It's the best way to get info from remote Windows machines. yeah, it kind of sucks that (1) WMI is so hard to use and (2) important things like WLAN signal strength are only available via WMI. But the politics of system management APIs

RE: Copy-Task

2006-02-01 Thread Stephen McConnell
> -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > -you can use the selector to do byte for byte > comparisons of files. But that pulls all the remote data down > and can clog a network Would an MD5 comparison be sufficient? /Steve.

Re: Hiding target names during output

2006-02-01 Thread Jeffrey E Care
I would recommend a custom logger class. -- Jeffrey E. Care ([EMAIL PROTECTED]) WAS Pyxis Lead Release Engineer chuanjiang lo <[EMAIL PROTECTED]> 02/01/2006 10:28 AM Please respond to "Ant Users List" To user@ant.apache.org cc Subject Hiding target names during output What would b

Hiding target names during output

2006-02-01 Thread chuanjiang lo
What would be the best way to hide the target names during the output? For e.g. *menu* *: [echo* *] Please select an option [echo**] 1) Compile Java Files [echo **] 2) Build Java Files* I would like to remove the target name *menu* and *[echo]* in the output, hence displaying the menu only. Th

Re: Copy-Task

2006-02-01 Thread Steve Loughran
Stefan Bodewig wrote: On Tue, 31 Jan 2006, Markus M. May <[EMAIL PROTECTED]> wrote: Now I just would like to copy files which are not already on the remote repository. This cannot be done using the standard ant-task copy, since the jars on the local system do have a newer timestamp. Apart fro