RE: Line numbers on Stack traces

2001-11-20 Thread Alan Pearlman Spencer
For some reason, by default, ANT passes -g:none to the compiler and there is no way for it's default to be the same as Javacs default which is -g:line as far as I know. Also, in ANT you only have debug on (all) or off (none), check out the docs for javac and you will see it has more options... I

RE: Reference IDs ... can they be inherited?

2001-11-20 Thread Alan Pearlman Spencer
No it is not possible. Search the archive and you will find the question asked many times. I posted yesterday about how to do an XML cluge to include snippets of build scripts... Alan, -Original Message- From: Eddie Espino [mailto:[EMAIL PROTECTED]] Sent: 19 November 2001 22:15 To:

build.xml file and compilation

2001-11-20 Thread Didier Bretin
Hello, I have a project which use this hierarchy: com ia project access Access.java control Control.java I wrote a simple build.xml file. The problem is when ant compile, the classes Access.class and Control.class are not copy

Re: build.xml file and compilation

2001-11-20 Thread Didier Bretin
Oops, sorry I found where was my problem :o). I forget the line: package com.informactis.blabla in my files :o)) On Tue, 20 Nov 2001 15:05:59 +0100 Didier Bretin [EMAIL PROTECTED] wrote: Hello, I have a project which use this hierarchy: com ia project

Re: Ant 1.4 Jar metainf Problem?

2001-11-20 Thread bryan hansen
Needless to say it just skips the manifest file that I have defined and just uses the one created by ant instead. Bryan- --- bryan hansen [EMAIL PROTECTED] wrote: Hello- I am using Ant1.4 and trying to jar up an application. I noticed the metainf element and tried to use it to include my

Re: Ant 1.4 Jar metainf Problem?

2001-11-20 Thread Conor MacNeill
bryan hansen wrote: Needless to say it just skips the manifest file that I have defined and just uses the one created by ant instead. Bryan- --- bryan hansen [EMAIL PROTECTED] wrote: Hello- I am using Ant1.4 and trying to jar up an application. I noticed the metainf element and tried

Converting C / visual C++ makefiles to Ant

2001-11-20 Thread Russ Freeman
Has anyone else decided to do this and if so, did they get enough value out of the excercise or was it too painful? Cheers -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Using Ant to exec a shell script

2001-11-20 Thread Stefan Bodewig
On Mon, 19 Nov 2001, Matt Lyon [EMAIL PROTECTED] wrote: exec dir=/export/home/stargus/tests vmlauncher=false executable=/usr/bin/sh arg line=./reactor_smoketest ${test.case} ${build.number}/ /exec should probably better be exec

Re: Requiring multiple properties to be set

2001-11-20 Thread Stefan Bodewig
On 18 Nov 2001, Laurie Harper [EMAIL PROTECTED] wrote: but apparently Ant doesn't support escaping like this. No, you escape the $ by another $ and don't care for the braces. Using 1.5alpha, ther is an isset condition, that will simplify your build file. Stefan -- To unsubscribe, e-mail:

Re: Requiring multiple properties to be set

2001-11-20 Thread Laurie Harper
On Tue, 2001-11-20 at 11:47, Stefan Bodewig wrote: Using 1.5alpha, ther is an isset condition, that will simplify your build file. Ah, yes, that would help. I still like the idea of being able to provide a list of properties in 'if' and 'unless' attributes though ;-) L. --

Re: [POLL] jakarta-ant-templates (Generic Ant-based project templates)

2001-11-20 Thread Rolf Katzenberger
Hello Jeff, On Mon, 19 Nov 2001 21:36:39 +1100, Jeff Turner [EMAIL PROTECTED] wrote: I was wondering, how do people feel about developing common, universal, generic build.xml scripts for common needs? I have hordes of mini-projects on the go, the end result of each is: - a jar file - some

Re: Line numbers on Stack traces

2001-11-20 Thread Magesh Umasankar
Alan: This enhancement request is a duplicate of http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4127 A patch has been submitted. Please wait for it to be committed. Magesh - Original Message - From: Alan Pearlman Spencer [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED]

RE: Line numbers on Stack traces

2001-11-20 Thread Alan Pearlman Spencer
Thanks, I should look at the bug list... Alan. -Original Message- From: Magesh Umasankar [mailto:[EMAIL PROTECTED]] Sent: 20 November 2001 18:07 To: Ant Users List Subject: Re: Line numbers on Stack traces Alan: This enhancement request is a duplicate of

RE: Line numbers on Stack traces

2001-11-20 Thread David Oxley
So it is the default has changed. Would it slow the execution of the code much to have debug=true. Is it also slow if the code is compiled with -g:line. If it slows down execution, I'll learn to live with no line numbers. Dave -Original Message- From: Alan Pearlman Spencer

Re: Converting C / visual C++ makefiles to Ant

2001-11-20 Thread Steve Loughran
- Original Message - From: Russ Freeman [EMAIL PROTECTED] To: 'Ant Users List' [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 07:56 Subject: Converting C / visual C++ makefiles to Ant Has anyone else decided to do this and if so, did they get enough value out of the excercise or

shutdown hooks and ctrl-c's

2001-11-20 Thread MNewcomb
When Ant forks off processes (particularly java), is it possible for Ant to forward ctrl-c's to the forked process? That would allow any shutdown hooks that the process has registered to be run... Right now, when I hit ctrl-C ant dies and my program never gets the signal. The following

RE: Copy Task with gif files on Windows machine

2001-11-20 Thread Gerald E. Bennett
I am still getting the same problem. I have changed my statement to: copy filtering=on overwrite=false todir=${build.dest}/junit/runtime/defaults/ fileset dir=${build.src}/junit/runtime/defaults/ includes=**/*.properties/ /copy copy filtering=on overwrite=false

RE: Copy Task with gif files on Windows machine

2001-11-20 Thread Josh Kleinpeter
I was getting corrupted binaries as well, I got around it using fixcrlf. For some reason it was putting end of line characters in the binary. fixcrlf srcDir=${webapp.dir}/img destDir=${build.war}/img cr=asis tab=asis eof=asis/ Josh Kleinpeter, Software Engineer, Earthlink, Inc a: kleinpeterj

Re: Converting C / visual C++ makefiles to Ant

2001-11-20 Thread Bevan Arps
At 15:56 20/11/2001 +, you wrote: Has anyone else decided to do this and if so, did they get enough value out of the excercise or was it too painful? While Ant is designed to do the same kind of job as make, don't make the mistake of assuming it works the same way. Superficially, Ant seems

Download antidote

2001-11-20 Thread martin
Is there a link to download the source or binary for antidote? The only links that I can find require that I download file by file. Thanks, Martin.

RE: Converting C / visual C++ makefiles to Ant

2001-11-20 Thread Dennany, Jerome {AVL~Roswell}
I've converted one medium sized VB / C++ based project from batch files to ANT, using VB's and MSDEV's command line parameters. It wasn't particularly painful, and is noticeably better than plain batch files, but is not quite as flexible as a script based solution such as PERL. In fact, I am

RE: Converting C / visual C++ makefiles to Ant

2001-11-20 Thread Ramasubbu, Hari
Jerry I was also wondering if there is any perl based solutions to build.Please let me know how u r using Perl to do builds for vb/c++ projects. Thanks Hari -Original Message- From: Dennany, Jerome {AVL~Roswell} [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 3:08 PM To:

RE: Copy Task with gif files on Windows machine

2001-11-20 Thread STEPHENSON, Jill
I have copied images fine with Ant 1.3, 1.4 under Win2k, WinNT, RedHat 7.0. There must be something wrong in your build process. Check the following ... 1) Ensure that your destination directory is empty before running the build, otherwise you will always be looking at your corrupt images. 2)

more specific os on exec

2001-11-20 Thread Alfonso Urdaneta
Howdy. I am playing with the os attribute for the exec task, but I have a problem. It uses the system property os.name, and this is not unique enough - I want to be able to run different things on sparc or x86 solaris, and both of them return SunOS. It would be nice if this task could be

Re: Line numbers on Stack traces

2001-11-20 Thread Magesh Umasankar
Patch to allow debug level applied to Ant 1.5 alpha. DebugLevels will be used only when the modern javac compiler is used. - Original Message - From: Alan Pearlman Spencer [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 3:49 AM Subject: RE: Line

Re: more specific os on exec

2001-11-20 Thread Magesh Umasankar
Please post it as an enhancement request in bugzilla so that this request doesn't get buried in the archives. http://nagoya.apache.org/bugzilla/ Thanks, Magesh - Original Message - From: Alfonso Urdaneta [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 5:34 PM

javac task compile errors in XML format?

2001-11-20 Thread Scott Ellsworth
I am happily using cruiseControl to do autobuilds of a project using ANT 1.4.1 and JDK 1.3.1 on my Linux box. Things are good when the build works. They go less well when I want to see error messages. I would really love it if it displayed the actual error messages tossed up by javac when

Re: javac task compile errors in XML format?

2001-11-20 Thread Erik Hatcher
- Original Message - From: Scott Ellsworth [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 6:28 PM Subject: javac task compile errors in XML format? (I looked through the archives, as I remembered a discussion about this, but it appeared that javac in 1.4.1

Directory names with spaces in a directory-based task

2001-11-20 Thread McHenry, Matt
I see by looking at the source code that e.g. the includes attribute for a directory-based task is being tokenized not only on commas but also on spaces. This obviously presents a problem when dealing with files directories with spaces in their names. Is there a way to escape the space

Re: Directory names with spaces in a directory-based task

2001-11-20 Thread Peter Donald
On Wed, 21 Nov 2001 11:52, McHenry, Matt wrote: I see by looking at the source code that e.g. the includes attribute for a directory-based task is being tokenized not only on commas but also on spaces. This obviously presents a problem when dealing with files directories with spaces in

Re: Fileset in Win2k with files from different drives?

2001-11-20 Thread Peter Donald
On Wed, 21 Nov 2001 11:24, Skip Hovsmith wrote: How does one specify a fileset containing files from different drives on Win2k? Something like fileset dir=/ includes=c:/file1.txt,d:/file2.txt/ doesn't seem to work, / seems to refer to the root directory of the current drive instead of

RE: Fileset in Win2k with files from different drives?

2001-11-20 Thread Devan Iyer
Try using patternsets with the copy task. Here's one idea:- project name=test default=dotest basedir=. patternset id=srcfiles include name=*.yourext/ /patternset target name=dotest copy todir=d:\temp filtering=on fileset dir=c:\ patternset refid=srcfiles/

Re: [POLL] jakarta-ant-templates (Generic Ant-based project templates)

2001-11-20 Thread Jeff Turner
On Tue, Nov 20, 2001 at 06:08:14PM +0100, Rolf Katzenberger wrote: Hello Jeff, On Mon, 19 Nov 2001 21:36:39 +1100, Jeff Turner [EMAIL PROTECTED] wrote: I was wondering, how do people feel about developing common, universal, generic build.xml scripts for common needs? I have hordes of