RE: Ant and javac -J-Xss1m

2001-12-14 Thread Scott Stirling
Try a nested element under the javac task. More importantly, refactor that java class ASAP. Scott Stirling Framingham, MA > -Original Message- > From: Wasserman Henry [mailto:[EMAIL PROTECTED]] > > I am working on a build project that uses ant. We > have one very large .java file t

Ant and javac -J-Xss1m

2001-12-14 Thread Wasserman Henry
I am working on a build project that uses ant. We have one very large .java file that is causing a compiler stackOverflow. I have been able to prevent the stackOverflow by using javac -J-Xss1m to increase the stack size from the default 512k. This is currently working outside of ant. Does anyo

Re: Creating patch jars?

2001-12-14 Thread Bruce Atherton
Note that I am redirecting this question to the ant-users mailing list. At 02:46 PM 12/13/2001 -0500, Russell Gold wrote: >Is there an ant task for creating patch jars (jars containing only changed >classes)? Is there some generally accepted way to do this? I don't know about generally accepted

Re: Problems with FTP task

2001-12-14 Thread Erik Hatcher
There is a bug in Ant 1.4.1 (and earlier): http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4821 If you add remotedir it should work for you. Erik - Original Message - From: "Bryan P. Glennon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 14, 2001 6:27 P

Problems with FTP task

2001-12-14 Thread Bryan P. Glennon
I can't seem to get the optional FTP task working. I have all the correct jar files installed (the task works - see debug output below), but never seems to do anything. I have tried sending files, getting files, and listing the directory, all with the same result. I have resorted to copying the ex

Re: compiler feature

2001-12-14 Thread Nico Seessle
- Original Message - From: "Sundberg Jukka" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 13, 2001 1:26 PM Subject: compiler feature > Running a following target causes ant to create two instances of the java > class: > This is probably caused by the AntClassLoader

Re: FYI - Code to automatically add Test classes to a TestSuite.

2001-12-14 Thread David Jencks
Well, I don't know much about it, but here is an example from the jboss test suite. Anyway, the batchtest element seems

Re: FYI - Code to automatically add Test classes to a TestSuite.

2001-12-14 Thread T Master
- Original Message - From: "David Medinets" <[EMAIL PROTECTED]> > I have no idea. What are batchtests and wildcards? Sometimes it's easier me > to code a solution than to read the documentation Don't worry. My quote of the week being spread around the office is: "It's not ignorance i

Re: FYI - Code to automatically add Test classes to a TestSuite.

2001-12-14 Thread T Master
- Original Message - From: "David Medinets" <[EMAIL PROTECTED]> > I have no idea. What are batchtests and wildcards? Sometimes it's easier me > to code a solution than to read the documentation That sounds so funny! :D -- To unsubscribe, e-mail: For ad

RE: FYI - Code to automatically add Test classes to a TestSuite.

2001-12-14 Thread David Medinets
> -Original Message- > From: David Jencks [mailto:[EMAIL PROTECTED]] > > What advantage does this offer over using batchtests with wildcards? I have no idea. What are batchtests and wildcards? Sometimes it's easier me to code a solution than to read the documentation David Medinets, Con

Re: How to run a target without ANTCALL?

2001-12-14 Thread Diane Holt
--- Mark McMillan <[EMAIL PROTECTED]> wrote: > At some point in a target I need to execute some other target in the > same project, but I don't want to use ANTCALL because it re-evaluates > all the dependant targets. E.g. I have an "init" target that all > targets depend on. If I use ANTCALL to

Re: How to run a target without ANTCALL?

2001-12-14 Thread Erik Hatcher
Yeah, don't have the called target depend on 'init'! :)) - Original Message - From: "Mark McMillan" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Friday, December 14, 2001 12:40 PM Subject: How to run a target without ANTCALL? > At some point in a target I need to

RE: How to run a target without ANTCALL?

2001-12-14 Thread Ma, Jian
You can use "if" in your dependents target. So that it won't be executed unless certain property is set. Only define that property when you need to execute that particular target. Here's an example: in build.xml do something here in ctrl.xml In the case of test1, i

RE: compiler feature

2001-12-14 Thread Purang, Viraj B.
HI, I am sorry if I sound dated on this one ...I was off the list for a couple of months. I remember we had an issue with Ant not being able to support the Interfaces properly with some files getting missed out while compiling incrementally.Have we reached closure on that too ? Regards, Viraj P

How to run a target without ANTCALL?

2001-12-14 Thread Mark McMillan
At some point in a target I need to execute some other target in the same project, but I don't want to use ANTCALL because it re-evaluates all the dependant targets. E.g. I have an "init" target that all targets depend on. If I use ANTCALL to invoke a target, "init" will be executed more than

Re: FYI - Code to automatically add Test classes to a TestSuite.

2001-12-14 Thread David Jencks
What advantage does this offer over using batchtests with wildcards? david jencks On 2001.12.14 10:04:34 -0500 David Medinets wrote: > This note is for users of the Ant build tool. I've modified an AllTests > class to automatically add Test classes to a TestSuite by recursively > checking a dire

Re: compiler feature

2001-12-14 Thread Diane Holt
I can't say why it's doing this, but hopefully the following info might give someone who knows Java better a pointer to figuring it out. I tried reproducing it and found that if I don't include the element (ie., if I put the classfile in a jar and put that jar in $ANT_HOME/lib), it doesn't do th

No excludesfile element in patternset under 1.4.1?

2001-12-14 Thread Geisler, Fritz
I'm unable to get Ant to allow an element as a child of the element using version 1.4.1. I also cannot use it as a child of the element. Since this is specified in the DTD produced by , I'm wondering if this is a bug. Comments? Fritz -- To unsubscribe, e-mail: For

specifying manifest file for Jar

2001-12-14 Thread Mallampati, Suresh
Hi, i wanted to specify my own manifest file to a "ejbjar" task. My Manifest file has an entry called "Class-Path". Since its a bit long, Ant is truncating it after certain characters, and adding new lines and spaces. To avoid this, I divided the values, and put it as 3 Class-Path entries. Even t

RE: Simple question...

2001-12-14 Thread David Medinets
someone has writen an interactive task... http:..www-106.ibm.com/developerworks/java/library/j-antbuild/ David Medinets, Consultant, http://www.codebits.com -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Simple question...

2001-12-14 Thread Stefan Bodewig
On Fri, 14 Dec 2001, kevin schmidt <[EMAIL PROTECTED]> wrote: > How do I prompt a user for name/password in an Ant script??? Using a nightly build, is the answer. If you pick up the original submission from ant-dev (or the 1.1 CVS release), it is very well possible, that you can add the task a

Simple question...

2001-12-14 Thread kevin . schmidt
How do I prompt a user for name/password in an Ant script??? I dont want to use javascript or any other scripting language, just pure java answer please... Im sure someone has already written an option task for this... Thanks! -Kevin Schmidt Cincinnati, OH -- NOTICE: The inform

RE: javax.xml.parsers.FactoryConfigurationError [Ant 1.4.1 on Win 2000]

2001-12-14 Thread David Medinets
Perhaps you don't have the right XML parser in your CLASSPATH? David Medinets, Consultant, http://www.codebits.com -- To unsubscribe, e-mail: For additional commands, e-mail:

FYI - Code to automatically add Test classes to a TestSuite.

2001-12-14 Thread David Medinets
This note is for users of the Ant build tool. I've modified an AllTests class to automatically add Test classes to a TestSuite by recursively checking a directory hierarchy for classes with "test" or "Test" in their names. Contrary to suggestions, I like having all of my testing code in one direc

javax.xml.parsers.FactoryConfigurationError [Ant 1.4.1 on Win 2000]

2001-12-14 Thread
RE: javax.xml.parsers.FactoryConfigurationError: Provider null could not be instantiated: java.lang.NullPointerException Problems testing my Ant 1.4.1 on Win 2000: I am a new Ant 1.4.1 user and recently installed Ant 1.4.1 on Win 2000 and I am having problems testing it. Read the manual over

ant task and filesets

2001-12-14 Thread Wannheden, Knut
Hi, I am trying to set up an environment where a build needs to recurse over a hierarchy of build units. I am aware of the task on the "external tools and tasks" page, but that's not exactly what I'm looking for. Since I'd like different targets (like build and clean) to recurse over the same

Re: environment variable name - numerics allowed?

2001-12-14 Thread Conor MacNeill
Tom Lister wrote: > Hi > I'm having problems with an environment variable > Windows NT > Have define variable > Set PHX2=P:\workdir > > I an trying to access it in ant using > > > > but it is not recognising it > if I change everything to PHX2a, it seems to work. > Is there and issues with a

RE: environment variable name - numerics allowed?

2001-12-14 Thread Tom Lister
Hi Sorry Seems to be working now. Thinl it was a case issues. I'm used to assuming windows is case insensitive Noticed it was phx2 in dos, but PHX2 in build file. :-) Regards [EMAIL PROTECTED] Advanced Banking Solutions Limited +44 (0)20 7448 9146 º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø

environment variable name - numerics allowed?

2001-12-14 Thread Tom Lister
Hi I'm having problems with an environment variable Windows NT Have define variable Set PHX2=P:\workdir I an trying to access it in ant using but it is not recognising it if I change everything to PHX2a, it seems to work. Is there and issues with a number at then of a property or am I missing

Replace task

2001-12-14 Thread Cyriaque Dupoirieux
Hello, I need to delete all lines that start with the following comment : # written : Date of the day How can I use the replace task (or another) to make this ? Thank you, Regards, Cyriaque D. -- Cyriaque Dupoirieux PCO Technologies Burolines - 2 ter

RE: ftp-task with proxy

2001-12-14 Thread Detlef Brendle
hi, guess I ahve specified only parts of the problem. here the scenario: we are placed behind a firewall which only comunicates via HTTP and HTTPS with the internet. So passive mode on a ftp task wouldnt help much for that. What we need is mapping the ftp request to a http transported request. h