Re: [External] : Re: ant/jdk17, and badly generated jars

2023-10-27 Thread Dave Brosius
Mint 20.3 Release:    20.3 Codename:    una I tried debugging the ant task standalone running  against the pregenerated jar, and in this case the code ran fine, It seems like i only have problems when the jar is generated in the same process as when i tried to load. --dave On 10/2

ant/jdk17, and badly generated jars

2023-10-26 Thread Dave Brosius
HI folks, we have an odd situation where we have an ant build that generates a jar file that includes a resource bundle property file using , later in the same build  a custom ant task is executed, which loads that class from  the classpath, and tries to read that bundle file, and fails  with

Re: [External] : Antcontrib for task with 'parallel' option is not working in certain Windows Server machines

2022-07-28 Thread Dave Brosius
ant-contrib is totally separate from ant. The ant group can not affect it at all. It is an orphaned project that someone created 15 years ago. It's amazing it works at all. On 7/28/22 11:25, Munawar Rashid wrote: Hi Dave, I can update to 1.0b3 easily. I do have an issue with unavailab

Re: [External] : Antcontrib for task with 'parallel' option is not working in certain Windows Server machines

2022-07-25 Thread Dave Brosius
ave a parallel attribute. I see that later  versions do I'd update ant-contrib to https://search.maven.org/artifact/ant-contrib/ant-contrib/1.0b3/jar (i'd also update ant to 1.10.12 while you were at it.) -dave On 7/25/22 17:36, Munawar Rashid wrote: Hi I'm using Ant 1.9.7 a

Re: [External] : Variable substitution in target descriptions

2022-07-19 Thread Dave Brosius
Correct, not that big of a change, i guess. On 7/19/22 12:20, Roger Whitcomb wrote: I have a target description that has “${result.jar}” embedded within. But “ant -p” doesn’t do the substitution. I’m presuming that’s because the “-p” processing doesn’t evaluate condition or property tasks. But

Re: [External] : Odd jdk8->jdk17 behaviour with ant

2022-07-04 Thread Dave Brosius
Interestingly my first attempt was to add a as the first step of consumer. That did nothing. On 7/4/22 21:45, Jaikiran Pai wrote: Hello Dave, I see that you seem to have got past this. However, looking at what you describe in your first post, this looks like a genuine issue that needs some

Re: [External] : Odd jdk8->jdk17 behaviour with ant

2022-07-04 Thread Dave Brosius
ocale from that jar. On 7/4/22 21:45, Jaikiran Pai wrote: Hello Dave, I see that you seem to have got past this. However, looking at what you describe in your first post, this looks like a genuine issue that needs some investigation to narrow down why this fails on Java 17. Would you be ab

Re: [External] : Odd jdk8->jdk17 behaviour with ant

2022-07-04 Thread Dave Brosius
Rubber Duck Debugging at it's finest. I changed the code to do and now it works fine. On 7/4/22 10:45, Dave Brosius wrote: Hi Folks,     I realize this is probably difficult to understand, or give ideas on, but i'll give it a go. I have an existing build.xml file that'

Odd jdk8->jdk17 behaviour with ant

2022-07-04 Thread Dave Brosius
to load the resource bundle from the jar I have to assume this is  because ant isn't done writing the jar yet? Or maybe it hasn't been flushed yet? There is no ant task forking going on here. (Can you even fork a task?) Any ideas what could be wrong, or how to fix? thanks, dave

Re: [External] : Re: [VOTE] Release Apache Ant 1.10.12 based on RC1

2021-10-02 Thread Dave Brosius
Thanks, appreciate your efforts. On 10/2/21 8:28 AM, Jaikiran Pai wrote: +1 - Downloaded the .tar.gz binary - Checked the NOTICE file and some random manuals - Built internal projects using Java 8 and this version of Ant - Built some sample projects with Java 17 and this version Ant All loo

Re: [External] : Re: Initial file for Ant

2021-08-14 Thread Dave Brosius
The project name among other defines a property that can be used throughout the script referenceable by ${ant.project..name} That Curly syntax Returns the value of the property. As for ant, the two main items in a file or property definitions and task definitions. Property definitions just sent

Re: Can I load a project from a String / InputStream?

2020-12-30 Thread Dave Brosius
it might be easier (depending on your needs) to just create the ant objects directly, like Project p = new Project(); MyTask t = new MyTask(); t.setProject(p); t.setProperty("foo"); t.execute(); On 12/31/20 12:32 AM, Ioan Eugen Stan wrote: Hello, I would like to know if there

junitlauncher hangs after execution tests

2020-12-01 Thread Dave Brosius
I have an ant task using ant 1.10.9 that run in forked mode, the tests run immediately, but then it just hangs with no further output with either -v or -d test: [junitlauncher] [junitlauncher] Test run finished after 342 ms [junitlauncher] [ 2 containers found  ] [junitlauncher] [

Re: jar task with duplicate="preserve"

2020-09-22 Thread Dave Brosius
The "abnormal" jar was created with the iajc ant task (aspectj) I'll see if i can get something together. On 9/22/20 2:10 AM, Stefan Bodewig wrote: Hi Dave On 2020-09-21, Dave Brosius wrote: In the end i just wrote my own custom ant task to do what jar was supposed to do. Wha

Re: jar task with duplicate="preserve"

2020-09-21 Thread Dave Brosius
On 9/21/20 4:32 AM, Stefan Bodewig wrote: On 2020-09-15, Dave Brosius wrote: I have an ant task using ant 1.10.8, that includes use of the task as such:                                 ...                     There are in fact file collsions between the two jars

jar task with duplicate="preserve"

2020-09-14 Thread Dave Brosius
that is causing the jar task to think these are new files. Or perhaps something else? Has anything like this been reported? thanks, dave

NoSuchMethodException using ant junit task against junit 5 5.3.1

2018-10-03 Thread Dave Brosius
I am running ant 1.10.5 against the 5.3.1/1.3.1 of junit 5 and getting java.lang.NoSuchMethodError: org.apache.tools.ant.types.CommandlineJava.clone()Lorg/apache/tools/ant/types/CommandlineJava; Anyone know what i'm missing? It works fine with 5.2.0/1.2.0. -- ---

Re: Order of attributes signifificant in zipfileset?

2016-05-01 Thread Dave Glasser
utes at the same time >and would like to make it do just that for 1.9.8/1.10.0. Do you want to >create a bug report for this? Stefan, Thanks for the response. I just filed a bug report: https://bz.apache.org/bugzilla/show_bug.cgi?id=59402 Dave | |

Order of attributes signifificant in zipfileset?

2016-04-30 Thread Dave Glasser
I discovered this in ant 1.6.5, and found that it still behaves this way in 1.9.7. If you have a element with both a dir and a file attribute, it will produce different results depending on the order in which those attributes appear. If the file attribute appears first, it behaves as you would

Re: Issues With Quotes

2013-11-06 Thread Dave Westerman
nd for this. Thanks! DLW From: Earl Hood To: Ant Users List , Date: 11/05/2013 08:23 PM Subject:Re: Issues With Quotes Sent by:earlh...@gmail.com On 11/5/13, Dave Westerman wrote: > I'm passing in an attribute that contains a value to search for in a file

Issues With Quotes

2013-11-05 Thread Dave Westerman
I have a problem with double-quotes in Ant, and I'm not sure how to get around the problem. I'm passing in an attribute that contains a value to search for in a file in Windows. I'm doing this: >From the command line, the findstr command can handle a quote in the data; for instance, th

Re: Set an env variable?

2012-05-10 Thread Dave Pawson
sort of max constraint? regards > > On 9 May 2012 01:50, Dave Pawson wrote: > >> I know I can read an env variable, but is it possible >> to set one, for the duration of the ant script(s) please? >> >> >> >> TIA Dave >>

Re: Set an env variable?

2012-05-09 Thread Dave Pawson
h. regards > > On 9 May 2012 01:50, Dave Pawson wrote: > >> I know I can read an env variable, but is it possible >> to set one, for the duration of the ant script(s) please? >> >> >> >> TIA Dave >>

Set an env variable?

2012-05-08 Thread Dave Pawson
I know I can read an env variable, but is it possible to set one, for the duration of the ant script(s) please? TIA Dave -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: user

Re: conditional make-directory

2012-04-24 Thread Dave Pawson
you wanted to define a property, sorry.  My recommendation > then comes down to the same suggestion as Harrold's, use tempfile[1] to > obtain a name and follow that by mkdir. Since mkdir is non destructive, that sequence is quite robust. Thanks S

Re: conditional make-directory

2012-04-24 Thread Dave Pawson
On 24 April 2012 16:00, Stefan Bodewig wrote: > On 2012-04-24, Dave Pawson wrote: > >> In bash it might be > >> #check/create fo directory for output, per font >> if [[ ! -d ${here}/fo ]] >>     then >>     mkdir ${here}/fo >> fi > > In ant tha

Re: conditional make-directory

2012-04-24 Thread Dave Pawson
On 24 April 2012 16:00, Stefan Bodewig wrote: > On 2012-04-24, Dave Pawson wrote: > >> In bash it might be > >> #check/create fo directory for output, per font >> if [[ ! -d ${here}/fo ]] >>     then >>     mkdir ${here}/fo >> fi > > In ant tha

Re: conditional make-directory

2012-04-24 Thread Dave Pawson
ing, there is no need to check first. Thanks Harold. I thought it might be straightforward! > > (BTW thanks for the XSLT FAQ. I spend a lot of time out there) Welcome. that's why I do it. regards DaveP > > On Tue, Apr 24, 2012 at 10:44 AM, Dave Pawson wrote: > >> I

conditional make-directory

2012-04-24 Thread Dave Pawson
/fo ]] then mkdir ${here}/fo fi TIA -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Property precedence

2012-04-23 Thread Dave Pawson
On 23 April 2012 09:18, Stefan Bodewig wrote: > On 2012-04-23, Dave Pawson wrote: > >> I have a series of scripts each of which sets properties, then calls >> another using > >> If the caller sets property X to yes >> then the called script sets it to Y >>

Property precedence

2012-04-23 Thread Dave Pawson
I have a series of scripts each of which sets properties, then calls another using If the caller sets property X to yes then the called script sets it to Y what / where are the precedence rules please? TIA -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk

How to combining patternset

2011-03-04 Thread Dave Cherkassky
I want the '...' to somehow refer to the two patternsets at the top of this email. Is there a way to do this? Thanks, -- Dave Cherkassky VP of Software Development DJiNN Software Inc. 416.504.1354 - To

Re: property file syntax

2009-05-13 Thread Dave Pawson
e. asking how it might be 'added' by someone with write access to that document. http://is.gd/zsPg only has an 'indirect' link to the Sun page right down at the bottom. "The rules for this format are laid down by Sun. This makes it hard for Team Ant to field bu

Re: property file syntax

2009-05-13 Thread Dave Pawson
2009/5/13 Mark Salter : > Dave Pawson wrote: > >> How to get it into the ant documentation Table of Contents? >> >> > >        http://ant.apache.org/manual/ ? I see no mention of property file description/syntax there? regards -- Dave Pawson XSLT

Re: property file syntax

2009-05-13 Thread Dave Pawson
nks David. How to get it into the ant documentation Table of Contents? regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For addit

property file syntax

2009-05-13 Thread Dave Pawson
I'm having 'fun' with a properties file syntax. E.g. white space on the end of a line! Is the syntax described in the ant manual please (using 1.7), I can't find it. TIA -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http

Re: Delete task should be failing for UNC path that does not exist

2009-02-26 Thread Dave
ecified file or directory does not exist, no? On Thu, Feb 26, 2009 at 6:48 PM, Dominique Devienne wrote: > On Thu, Feb 26, 2009 at 12:09 PM, Dave wrote: > > However, I'm still curious as to why delete is silent when the UNC path > > passed to it does not exist?

Re: Delete task should be failing for UNC path that does not exist

2009-02-26 Thread Dave
e UNC path passed to it does not exist? On Thu, Feb 26, 2009 at 6:02 PM, Dominique Devienne wrote: > On Thu, Feb 26, 2009 at 11:28 AM, Dave wrote: > > The following reduced test case shows the problem. I've tested this with > Ant > > 1.7.1 and JDK 1.4.2_19 > > ==

Re: Delete task should be failing for UNC path that does not exist

2009-02-26 Thread Dave
so I can't say for certain what is going on. > > You might want to try the command to test for the > directory before doing the delete as a workaround. > > > On Thu, Feb 26, 2009 at 12:28 PM, Dave wrote: > > The following reduced test case shows the problem. I've

Delete task should be failing for UNC path that does not exist

2009-02-26 Thread Dave
The following reduced test case shows the problem. I've tested this with Ant 1.7.1 and JDK 1.4.2_19 === === Can anyone help me with this? -- "A lot of people are afraid of heights. Not me, I'm afraid of widths."

Re: javac source and target default values

2008-10-22 Thread Dave
Hey Naaman,Ant uses whatever JDK JAVA_HOME is to. if you type: echo %JAVA_HOME% on the command line, where does it point to? Also do the following: echo %PATH% and see if there is any JDK 5\bin directory on the system path? On Wed, Oct 22, 2008 at 5:23 PM, nlif <[EMAIL PROTECTED]> wrote: > > jav

Random connection resets using ssh task

2008-10-13 Thread Dave
I'm seeing random disconnect errors when I use the ssh task.I've recently setup ssh with a windows server client logging into a windows server running cygwin sshd. There seems to be periodic connection issues. I can connect and execute tasks for example say 10 runs, then the next run suddenly has i

Re: Pattern with optional parameter doesn't seem to be evaluated correctly

2008-09-17 Thread Dave
the part inside your () > isn't ignored... > > If you want Ivy to try the pattern with a revision and without a revision, > you can add 2 artifact patterns to your settings.xml > > Maarten > > > > > - Original Message > From: Dave <[EMAIL PROTECTED]>

Re: Pattern with optional parameter doesn't seem to be evaluated correctly

2008-09-17 Thread Dave
n Ivy, or am I not understanding how the () brackets work in Ivy? On Wed, Sep 17, 2008 at 2:33 PM, Dave <[EMAIL PROTECTED]> wrote: > I'm using the following parameter in my ivysettings.xml: > > [organisation]/[module]/[revision]/[ar

Pattern with optional parameter doesn't seem to be evaluated correctly

2008-09-17 Thread Dave
I'm using the following parameter in my ivysettings.xml: [organisation]/[module]/[revision]/[artifact](-[revision]).[ext] In the ivy.xml file of a particular component, I've placed the following dependency: =

Re: Nosuchmethod error with latest trunk

2008-09-11 Thread Dave
t; > > - Original Message > From: Dave <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Sent: Thursday, September 11, 2008 4:13:11 PM > Subject: Nosuchmethod error with latest trunk > > Saw the follo

Nosuchmethod error with latest trunk

2008-09-11 Thread Dave
Saw the following with a self-generated jar from the latest trunk source. ## C:\CC\workareas\410\INT\framework>ant -Dbuild.type=INT init Buildfile: build.xml [echo] BUILD TYPE= INT [ivy:resolve] :: Ivy 2.0.0-rc1-local-20080911102012 -

Why use retrieve + standard ant path creation over cachepath?

2008-06-16 Thread Dave
t practice? Cachepath worked well for me when a module + all of it's dependencies were resolved from the same location, but it had issues when the module was resolved from multiple repositories. Regards, Dave -- There are 10 types of people in the world. Those who understand binary and those who do not.

Re: script problem

2008-05-28 Thread Dave Pawson
2008/5/28 Martin <[EMAIL PROTECTED]>: > Dave- > > Did you download the latest Bean Scripting Framework jar located at > http://jakarta.apache.org/bsf/ Yes, 2.4, extracted bsf.jar Tried it in the classpath child - no joy Put it in ant/lib and it now works regards -- Dave

Re: script problem

2008-05-28 Thread Dave Pawson
far enough? A case of the documentation *leading* the implementation! A rare beasty! regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: script problem

2008-05-28 Thread Dave Pawson
Thanks. I don't want to clog up the ant lib, I thought the classpathref attribute would provide access to the jars? Is the documentation wrong? regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk -

script problem

2008-05-28 Thread Dave Pawson
D /files/java/build.xml:23: java.lang.NoClassDefFoundError: org/apache/bsf/BSFException I can't see what is wrong, Any help appreciated. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe

Re: xmlcatalog working?

2008-04-29 Thread Dave Pawson
mmons resolver will be used' > > Does xmlcatalog work? Any ideas on how to make it work? Is catalogManager.Properties in your classpath? It's needed. HTH -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

Re: Running ANT on Linux

2008-04-25 Thread Dave Pawson
ption. And yes, of course ant runs xslt (on single instances) :-) regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Running ANT on Linux

2008-04-24 Thread Dave Pawson
alan I don't know. Slow transforms could be due to you running with the default installed java rather than Sun java, I found that slow. Another option would be to write an XML file which lists the files to be transformed, then u

Re: ant tasks for converting from docbook ?

2008-04-23 Thread Dave Pawson
he fo output. Calling fop is easier than xep or ah. HTH -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Any tool for ant build.xml file documentation

2008-04-23 Thread Dave Pawson
t to write an task, with tests, we could > always add it. Not a facet of XML to my knowledge. Ant uses XML (quite well from what I've used!) -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Any tool for ant build.xml file documentation

2008-04-23 Thread Dave Pawson
Thanks. Not for other namespaced applications working on ant build files. Documentation seems like a good use case. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Any tool for ant build.xml file documentation

2008-04-23 Thread Dave Pawson
e set Error reported: build.xml:16: Problem: failed to create task or type http://www.dpawson.co.uk#ns:description Cause: The name is undefined. That would be a very helpful feature for larger build files. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

Re: arg and jvmarg

2008-04-16 Thread Dave Pawson
outsanding bug relating to Saxon linked from a page with a solution http://vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/ so it's all looking a bit messy? I tried it with Xalan but that seems not to support t

Re: arg and jvmarg

2008-04-16 Thread Dave Pawson
ve it working as a java task which will suffice! (I'll stick with the notation till ant loses it, for readability.) regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

Re: arg and jvmarg

2008-04-11 Thread Dave Pawson
ents and Settings\user\My Documents\filename.out' generates 5 > arguments: > > -o > C:\Documents > and > Settings\user\My > Doucments\filename.out > > which is almost certainly *NOT* what was wanted. Not for saxon (http://saxonica.com) > > &#

Re: arg and jvmarg

2008-04-11 Thread Dave Pawson
On 11/04/2008, Rick Genter <[EMAIL PROTECTED]> wrote: > > From: Dave Pawson [mailto:[EMAIL PROTECTED] > > Sent: Friday, April 11, 2008 1:02 AM > > To: Ant Users List > > Subject: Re: arg and jvmarg > > > > > Thanks Joe. I can see the logic, althou

Re: arg and jvmarg

2008-04-11 Thread Dave Pawson
> > > Thanks Joe. I can see the logic, although 'line=' seems to make more sense from a user view? "-o filename" I guess that's how it must be. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk ---

arg and jvmarg

2008-04-11 Thread Dave Pawson
http://ant.apache.org/manual/using.html#arg mentions using The single '-l' works OK, but the -o option causes a problem with the processor. How can I specify '-o filename' for please? works fine. TIA -- Dave Pawson XSLT XSL-FO FAQ. http

Re: useexternalfile change between 1.6.5 and 1.7.0?

2008-02-21 Thread Dave Blaschke
t it gets things going in the right direction. Also, if possible, can you try a nightly build of ant, there has been some fixes in the javadoc task since ant 1.7.0. Got the latest (ant_20080221113427.tar.gz): Apache Ant version 1.8.0alpha compiled on February 21 2008 and the bug still occu

Re: useexternalfile change between 1.6.5 and 1.7.0?

2008-02-05 Thread Dave Blaschke
sible, can you try a nightly build of ant, there has been some fixes in the javadoc task since ant 1.7.0. Peter On Feb 5, 2008 2:36 AM, Dave Blaschke <[EMAIL PROTECTED]> wrote: Greetings - I am using Eclipse for a Java development project and Ant to build it. The javadoc command for the

useexternalfile change between 1.6.5 and 1.7.0?

2008-02-04 Thread Dave Blaschke
vance Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Mail failing in build.xml file

2007-06-12 Thread Saurabh Dave
Have you copied the mail.jar and activation.jar in Ant Lib directory.if not then do it and Try... -Original Message- From: Priest, James (NIH/NIEHS) [C] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 5:27 PM To: Ant Users List Subject: RE: Mail failing in build.xml file > ---

RE: Mail failing in build.xml file

2007-06-12 Thread Saurabh Dave
Download the Activation.jar and mail.jar and copy in ant Lib folder... -Original Message- From: David Weintraub [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 3:26 AM To: Ant Users List Subject: Mail failing in build.xml file I have a very straight forward build.xml file:

Re: globmapper question

2007-06-11 Thread Dave Brosius
For the curious, i was able to fix my problems by using pathconvert from="${uptodate.path}/*.java" to="${uptodate.path}/qproxy/*.java"/> - Original Message - From: "Dave Brosius" <[EMAIL PROTECTED]> To: "Ant Us

Re: globmapper question

2007-06-11 Thread Dave Brosius
the .. in filenames consistently. --dave - Original Message - From: "Dave Brosius" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Saturday, June 09, 2007 8:11 PM Subject: globmapper question I'm trying to use a globmapper with uptodate task. suc

globmapper question

2007-06-10 Thread Dave Brosius
a\bo\remotable\AsyncJobSvcHdlr.java skipped - don't know how to handle it Any ideas what i am doing wrong? thanks! -dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How we will check the jsp with Ant script

2007-06-10 Thread Saurabh Dave
riginal Message- From: Saurabh Dave [mailto:[EMAIL PROTECTED] Sent: Thursday, June 07, 2007 4:13 AM To: user@ant.apache.org Subject: How we will check the jsp with Ant script Importance: Low Hi, Could any one tell me How we can precompile the jsp with Ant, Is using Maven i

Can properties set in a build called from another build be reference by the calling buildfile?

2007-06-08 Thread Dave
I have two ant scripts. A target in build-1 has dependencies on a target in build-2. Those dependences are called using the task. The target in build-1 will run depending on whether or not a property is set by a task in the target in build-2. I wondering can (and if not, how could it be done) th

custom 'compiler' dependencies

2007-06-07 Thread Dave Brosius
hat generates *.java from *.xml Anyone point me to the right info? thanks dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Re: classpath issue in task

2007-06-01 Thread Saurabh Dave
I you want to some additional classpath In your javac reference then you can use Step1: first make the classpath reference Mail me if this works Regards Saurabh -Original Message- From: query [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007

RE: generating log file in AIX

2007-05-30 Thread Saurabh Dave
Use Record You can use separate record task for each target and can generate different log files -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 3:13 PM To: Ant Users List Subject: RE: generating log file in AIX ant -l inst

scriptdef/ant funny

2007-05-18 Thread Dave Sowerby
Hi All, I've found rather odd behaviour in the use of scriptdef and I wondered if anyone had come across it before and knew of any workaround? If in a master project I initialise a scriptdef which sets a property and then call another build file with System.out.println("Setting

Input task problems

2007-02-22 Thread Dave Brosius
I have cases where i have an input task such as and when run I get (with shown input) [input] Enter Info: Something [input]More Info: That is, i enter some value for the first input, hit enter, and ant doesn't proceed. I have to hit enter two more times, and then it proceeds, wit

Troubles with task

2007-02-22 Thread Dave Brosius
I have cases where i have an input task such as and when run I get (with shown input) [input] Enter Info: Something [input]More Info: That is, i enter some value for the first input, hit enter, and ant doesn't proceed. I have to hit enter two more times, and then it proceeds, with

Re: containsregex and concat

2006-11-26 Thread Dave Brosius
.*? doesn't seem right to me. what's that's suppposed to do? probably something like [^<]* - Original Message - From: "George Bills" <[EMAIL PROTECTED]> To: Sent: Sunday, November 26, 2006 11:47 PM Subject: containsregex and concat I've been trying to use a regular expression an

RE: junitreport error: ClassNotFoundException: redirect

2006-05-09 Thread Dave Rathnow
I was wondering if anyone has any idea what may be causing this and what a possible solution would be. Thanks, Dave. -Original Message- From: Dave Rathnow [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 8:58 AM To: Ant Users List Subject: RE: junitreport error

RE: junitreport error: ClassNotFoundException: redirect

2006-05-04 Thread Dave Rathnow
Unless you use the "outfile" attribute of the element, which, in our case we are. Dave. -Original Message- From: Ivan "Rambius" Ivanov [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 9:07 AM To: Ant Users List Subject: RE: junitreport error: ClassNotFoun

RE: junitreport error: ClassNotFoundException: redirect

2006-05-04 Thread Dave Rathnow
Certainly: Hope you can help me! Dave. -Original Message- From: Ivan "Rambius" Ivanov [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 1

junitreport error: ClassNotFoundException: redirect

2006-05-03 Thread Dave Rathnow
what I've done wrong? Thanks, Dave.

Re: problem with sql task

2005-09-21 Thread Dave Brosius
probably driver -> oracle.jdbc.driver.OracleDriver url -> jdbc:oracle:thin:@myhost:1521:orcl - Original Message - From: "Harshal Chavda" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 21, 2005 10:43 PM Subject: problem with sql task Hello fellow users, I am having problems

Re: Creating two same-type subelements with different names

2005-07-26 Thread Dave Brosius
ah! ok. i thought the method name and type had to match. - Original Message - From: "Conor MacNeill" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Tuesday, July 26, 2005 8:42 PM Subject: Re: Creating two same-type subelements with different names Dav

Creating two same-type subelements with different names

2005-07-26 Thread Dave Brosius
FileSet, merely for the reason of naming. It works fine, but was just wondering if this was the expected way to accomplish this? --dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Regexp pattern list

2005-07-22 Thread Dave Brosius
accomplish this? --dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: build dies when called from cron

2005-07-19 Thread Dave
Thanks. My script was sourcing a .bashrc file but part of the path was missing anyway. The stderr was exactly what I needed to figure it out. On 7/19/05, Gisbert Amm <[EMAIL PROTECTED]> wrote: > Dave wrote: > > Hi - > > > > I have a build system which works fine

build dies when called from cron

2005-07-18 Thread Dave
Hi - I have a build system which works fine from the command line, but stops mysteriously when I run it from cron. The build file structure for my application has a master file at the top, which calls targets on submodules, some of which have sub-submodules. There's a shell script wrapper which

Re: Properties manipulation

2005-05-20 Thread Dave Bartmess
I haven't tried this, but have done similar things in the past. You should be able to use: On Thu, 2005-05-19 at 12:03 -0500, George Dibi wrote: > All, > > Can someone help figure this out? > > Xml file > value="build_stdapps.properties"/> > > -

Re: Copy task not working as expected

2005-05-13 Thread Dave Bartmess
On Fri, 2005-05-13 at 21:35 -0700, miten mehta wrote: > Hello, > > I am having problem getting ant task copy to work as > expected. Refer dir structure and task snippets > below. > > I would like to copy sys, scripts dir tree from > /home/mit/common to /home/mit/install. so sys and > script

Problem with SSHEXEC and nohup

2005-05-13 Thread Dave Bartmess
I'm trying to do a four-task parallel call, using sshexec to call the remote builds. Each build is a replica of the calling build, just on a different platform. The build script portion is below. The problem is, when ant executes the sshexec task, despite what I put in the remotebuild.sh, such a

Re: convert ascii to ebcdic files using ant

2005-04-11 Thread Dave Brosius
You could always write a CharSetProvider for ebcdic if your jvm didn't support it natively. They are pretty simple to write so long as you are clear to how the encoding actually works. In fact i'd be surprised if there wasn't a freely available one already available. - Original Message -

Garbage collection question

2005-04-05 Thread Dave Bartmess
e at a time manually (through ant still, but "written out" instead of a single call to do all), it seems to work... Thanks -- Dave Bartmess Sr. Software Configuration Manager Health Language. Inc. Office: 303-307-4400 x274 Cell: 303-883-9117 --

Possible to "nest" variables?

2005-03-31 Thread Dave Bartmess
Just curious, in ant 1.6.2, is it possible to "nest" ant variables, such as in "${${os.name}.build.dir}" ?? -- Dave Bartmess Sr. Software Configuration Manager Health Language. Inc. Office: 303-307-4400 x274

Re: Errors in cvschangelog module???

2005-03-24 Thread Dave Bartmess
to be working now that I uninstalled the older version... Thanks a million! On Thu, 2005-03-24 at 08:16 +0100, Stefan Bodewig wrote: > On Wed, 23 Mar 2005, Dave Bartmess <[EMAIL PROTECTED]> wrote: > > > It looks like there's an error in the command line passed to cvs, > >

Errors in cvschangelog module???

2005-03-23 Thread Dave Bartmess
I'm getting an error from the cvschangelog task, as show below. I've confirmed that all the files exist, and that cvs is executable from the directory stated (I use MANY cvs commands in my ant build) Can someone help? This is holding up a major testing phase!!! Thanks! 2   >