Starteam problem

2002-12-09 Thread Vikram Goyal
People, I have been using the Starteam task to checkout files and folders out of a Starteam repository for some time now without any problems. However, I have started getting a problem with certain labels and am not sure what the problem is. I am not even sure if this is a Starteam usage issue

Re: Empty xml file when test case times out

2002-12-09 Thread Stefan Bodewig
On Mon, 09 Dec 2002, Gordon Vidaver <[EMAIL PROTECTED]> wrote: > If I actually have a test case that times out, the junit > target produces an empty xml file as a result, fixed in both CVS branches for 1.6 and 1.5.2. Ste

Re: jar update problem

2002-12-09 Thread Stefan Bodewig
On Mon, 9 Dec 2002, Dominique Devienne <[EMAIL PROTECTED]> wrote: > I think the 1.5.2 branch has the fix, No, not fixed (yet). Stefan -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Order of files within a fileset

2002-12-09 Thread Stefan Bodewig
On Mon, 9 Dec 2002, Michael Nau <[EMAIL PROTECTED]> wrote: > How is the order files are loaded from a fileset determined? Completely undefined. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Failed building ant-1.5.1 on Tru64 V5.1 system

2002-12-09 Thread Conor MacNeill
Jin Zhou wrote: Hi, So what's wrong with bootstrap? did I forget to do anything? Is there anything wrong with the source codes I downloaded from Apache.org? Can you run bootstrap.sh -debug It will give you more info about what is going on and perhaps the cause for the failure Conor

Failed building ant-1.5.1 on Tru64 V5.1 system

2002-12-09 Thread Jin Zhou
Hi, I downoaded ant-1.5.1 source from Apache.org website, and I'm trying to build ant-1.5.1 on Tru64 V5.1, here is what I did and ran into: 1) Set envs %setenv ANT_HOME /usr/local/ant %setenv JAVA_HOME /usr/opt/java131 %set path=( $path $ANT_HOME/bin ) 2) Trying to build %build.sh -Ddist.di

Re: setProxy with jspc

2002-12-09 Thread Steve Loughran
- Original Message - From: "Sonnek, Ryan" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 14:16 Subject: setProxy with jspc > ok, now things are starting to fall into place. after searching through > "inline DTD" examples, i was able to rec

Re: using jspc with taglib's

2002-12-09 Thread Steve Loughran
- Original Message - From: "Sonnek, Ryan" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 12:53 Subject: RE: using jspc with taglib's > Steve, > > just paste the entire dtd decl into the xml > > > that doesn't seem to work. i've taken the

Empty xml file when test case times out

2002-12-09 Thread Gordon Vidaver
Hi, Using ant 1.5.1 and JUnit 3.8.1 I'm trying to use the timeout feature of the junit target with the junitreport target. If I actually have a test case that times out, the junit target produces an empty xml file as a result, which leads to the following error with JUnitReport : repor

Extending Ant

2002-12-09 Thread Tony Thompson
I would like to extend Ant to define my own data types and then refer to them from my own task. Essentially, my data type is a collection of properties but some properties could have more than one value. Like this: 1 2 I would then like to refer to that data from my

RE: help! junitreport xslt error

2002-12-09 Thread Woo, Chen Ching
Hi Scott, I finally figure out what the problem was. It seems that when junitreport, or xalan for that matter, transforms the test data from the Test*.xml to *.html, it couldn't handle property value larger than certain length. In my case, it's the 'java.class.path' property which contains more

setProxy with jspc

2002-12-09 Thread Sonnek, Ryan
ok, now things are starting to fall into place. after searching through "inline DTD" examples, i was able to recreate the correct DOCTYPE, and jspc is now working fine. my options from here are to modify the taglib.tld file after xdoclet has generated it to change the DOCTYPE to inline (i'm ass

RE: jar update problem

2002-12-09 Thread Jay Wright
The nightly build directory only has 1.6 alpha in it. Any way to get 1.5.2? Would prefer to work with the 1.5.x beta than a 1.6.x alpha. I think. Jay > -Original Message- > From: Dominique Devienne [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 10:06 AM > To: 'Ant Users L

RE: Executing a batch file error=267 HELP?

2002-12-09 Thread Detlef Brendle
check if the executable tries to write/read without having enough permisssions to do so. Also check if the working directory exists. detlef -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 10:01 PM To: 'Ant Users List' Subject: Executin

Executing a batch file error=267 HELP?

2002-12-09 Thread Luis Andrei Cobo
I have a batch file I am trying to execute via an I verified that ant is indeed creating the command properly, passing the correct arguments and actually running myself on the command line that command works correctly. Is there any other indication that I can check to see why this might

RE: using jspc with taglib's

2002-12-09 Thread Sonnek, Ryan
Steve, just paste the entire dtd decl into the xml that doesn't seem to work. i've taken the .tld that xdoclet generates, and pasted the dtd from sun above the tag. i'm still getting parse exceptions. i'm sure that there is a specific way to get this done, could you please be a bit more prec

RE: Where to put ant.jar?

2002-12-09 Thread Dominique Devienne
Ant requires the JDK's tools.jar (1.2+) on the classpath for all tasks that wrap JDK tools (//etc...). ant_home\bin\ant.{bat|sh} normally takes care of that. If you start Ant yourself, read the doc on how to start it yourself. Also, put JARs in jre/lib/ext is not the best way to go, unless you rea

Where to put ant.jar?

2002-12-09 Thread Peter Lee
I have ant.jar in \ant_home\lib and my extension \java_home\jre\lib\ext But I got his warning. BUILD FAILED file:build.xml:33: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK Where should I put ant.jar and what jar fil

Re: using jspc with taglib's

2002-12-09 Thread Steve Loughran
- Original Message - From: "Sonnek, Ryan" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 10:57 Subject: RE: using jspc with taglib's > thank you for your reply steve. > i'm using xdoclet 1.1.2 right now, but will be trying out 1.2 beta 1 th

RE: using jspc with taglib's

2002-12-09 Thread Sonnek, Ryan
thank you for your reply steve. i'm using xdoclet 1.1.2 right now, but will be trying out 1.2 beta 1 this week. thanks for your suggestions, i'd like to try the inline suggestion, but how do you set the dtd to be inline? that may be a reletively simple question, but i haven't done it before. i'v

Re: using jspc with taglib's

2002-12-09 Thread Steve Loughran
- Original Message - From: "Sonnek, Ryan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 08:36 Subject: using jspc with taglib's > hi again everyone. > i put this problem on the backburner a couple monthes ago, and now i'm back > to pick your collective brain

RE: jar update problem

2002-12-09 Thread Detlef Brendle
this is a known problem in Ant 1.5. it never updates the zip file content even if the corresponding zipEntry doesnt exist. you can use to get around this limitation. detlef -Original Message- From: Jay Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 7:05 PM To: 'Ant Us

RE: jar update problem

2002-12-09 Thread Dominique Devienne
is broken in Ant 1.5/1.5.1. BugZilla is littered with bug reports about it. I think the 1.5.2 branch has the fix, so you could try to pick up a nightly build of it. --DD -Original Message- From: Jay Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 12:05 PM To: 'Ant Users

jar update problem

2002-12-09 Thread Jay Wright
I am using ant 1.5.1 on windows2000 and have noticed some peculiar behavior. In the target below, the first operation is a which copies a jar file to the dist directory where it will then be upated. IF there is a new jar file in the base directory, it is copied to the dist directory, but the

RE: using jspc with taglib's

2002-12-09 Thread Sonnek, Ryan
is there a way to set proxy information within a build script? i'd like to test if jspc will work if proxy information is included. has anyone worked with this before? Ryan -Original Message- From: Sonnek, Ryan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 10:36 AM To: '[EM

RE: Ant Mail Logger Question

2002-12-09 Thread Dominique Devienne
The former. See the doc. --DD -Original Message- From: Luis Andrei Cobo [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 11:41 AM To: 'Ant Users List' Subject: Ant Mail Logger Question Where do I specify the Properties to configure the mail loggeer? -D variables or from within

RE: Order of files within a fileset

2002-12-09 Thread Dominique Devienne
I cannot rely on the order in a fileset. Set your classpath explicitly using s instead, inside a . I personally think that relying on the order of the classpath is dangerous... --DD -Original Message- From: Nau, Michael [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 11:37 AM T

Ant Mail Logger Question

2002-12-09 Thread Luis Andrei Cobo
Where do I specify the Properties to configure the mail loggeer? -D variables or from within my build.xml? L

Order of files within a fileset

2002-12-09 Thread Nau, Michael
How is the order files are loaded from a fileset determined? It seems to be system dependent. I get different results for the following ant code running on different systems (1 system is Win XP, the other is Win 2000). There are about 20 jars in "${build.lib.dir}" -8<--

RE: CAB task

2002-12-09 Thread David McTavish
you are setting your basedir, and adding the ${build} in your includes, which is effectively saying include ${build}/${build}/CDRD.class since the file doens't exist, and there are no files to add to the cab, it doesn't create an empty cab. change your line as follows: -Original Message-

CAB task

2002-12-09 Thread Lawrence Williams
Hi, I am using Sun One Studio 4 (update 1) on win2K. I am trying to get an Ant script to construct a CAB file using the optional task E.g.: When I run Ant the target seems to pass this line without any exception, but the Cab file is never created. The CABARC executable is in the win2K syste

using jspc with taglib's

2002-12-09 Thread Sonnek, Ryan
hi again everyone. i put this problem on the backburner a couple monthes ago, and now i'm back to pick your collective brains again! =) i wasn't able to get jspc working with my jsp's that were using taglibs, and now i've got some more information about what may be going on. here is the informat

RE: a question about pass parameter to java

2002-12-09 Thread Dominique Devienne
FWIW, one should try to use for VM arguments *other* than properties, for which there is the element. --DD -Original Message- From: ZHOU,SHENG (HP-China,ex2) [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 08, 2002 5:13 AM To: Ant Users List Subject: RE: a question about pass paramete

RE: Antcall and undefined parameters

2002-12-09 Thread Dominique Devienne
The 'canonical' Ant way to do what you what would be: ... ... which is very close to Benoit's second solution. 'opens' a new scope, so the property xml-uptodate potentially set by the 'xml-uptodate?' target vanishes after the 'returns', so the next is free to se

RE: help! junitreport xslt error

2002-12-09 Thread Woo, Chen Ching
I'm getting StackOverflowError error after moving the latest xalan.jar from ant\lib to the jre\lib\endorsed folder. How does the endorsed folder works in jdk1.4 ? Thanks chen. test.report: [junitreport] Using Xalan version: Xalan Java 2.4.1 BUILD FAILED file:C:/unittest/build.xml:392: Errors wh

Re: Antcall and undefined parameters

2002-12-09 Thread Eric Jain
> > > > But wouldn't xml.skip.istrue only be set once? Anyways, ideally 'if' and 'unless' would consider any string of the form ${...} to be false, having unset properties evaluate to true isn't exactly intuitive, in my opinion... -- Eric Jain -- To unsubscribe, e-mail:

RE: Antcall and undefined parameters

2002-12-09 Thread Benoit Voisin
I do not know any direct way, but since no one replied I believe there is no easy direct way. I thought of two inderect ways. Using the ant-contrib : [...] ... or using a "pre-task": [...] Cou

Re: [BULK] - Re: ReplaceRegExp does not work (ANT 1.5.1)

2002-12-09 Thread Stefan Bodewig
On Mon, 9 Dec 2002, Andreas Fluegge <[EMAIL PROTECTED]> wrote: > this is how I have defined the task in my build.xml: If optional.jar can also be found on the system classloader, this won't work . Any chance to try with ORO on the sy

AW: [BULK] - Re: ReplaceRegExp does not work (ANT 1.5.1)

2002-12-09 Thread Andreas Fluegge
Stefan, this is how I have defined the task in my build.xml: Maybe something is wrong with my taskdef definition. Andreas -Ursprüngliche Nachricht- Von:Stefan Bodewig [mailto:[EMAIL PROTECTED]] Gesendet: Mo 12/9/2002 1:48 An: [EMAIL PROTEC

Re: ReplaceRegExp does not work (ANT 1.5.1)

2002-12-09 Thread Stefan Bodewig
On Mon, 9 Dec 2002, Andreas Fluegge <[EMAIL PROTECTED]> wrote: > I have done that. I'm using oro 2.0.4 as specified by the ant > docs. What makes me think that jdk 1.4.x is required is the class > that is missing: > > java/util/regex/PatternSyntaxException This is the fall-through case. If An

AW: [BULK] - Re: ReplaceRegExp does not work (ANT 1.5.1)

2002-12-09 Thread Andreas Fluegge
Stefan, I have done that. I'm using oro 2.0.4 as specified by the ant docs. What makes me think that jdk 1.4.x is required is the class that is missing: java/util/regex/PatternSyntaxException This is a package that exist till jdk 1.4. What to do now? Andreas 8-| -Ursprüngliche Nachric

Re: Re: jspc and webapp

2002-12-09 Thread Ashuthosh Bhat
Thanks Jake and all! I tried the way you said.. I have added another arg webxml. The good news is its updating web.xml file... only thing is it is adding an extra "." infront of the class file and name! So the page is not displayed. If I remove the . and war.. thats fine. Thats the problem.

Re: ReplaceRegExp does not work (ANT 1.5.1)

2002-12-09 Thread Stefan Bodewig
On Mon, 9 Dec 2002, Andreas Fluegge <[EMAIL PROTECTED]> wrote: > Does this mean that 'ReplaceRegExp' in ANT 1.5.1 only works with JDK > 1.4 ??? No, it means it will only work with one of the supported regexp engines, JDK 1.4 ships with one of three supported libraries. See the manual for the oth

ReplaceRegExp does not work (ANT 1.5.1)

2002-12-09 Thread Andreas Fluegge
Hallo, I'm trying to get the optional task 'ReplaceRegExp' to work from inside Netbeans 3.4. So far no problem... I'm running JDK 1.3.1 (build 1.3.1_03-b03) on my box. As soon ANT hits the call to 'ReplaceRegExp' the following stackdump pops up: java.lang.NoClassDefFoundError: java/util/reg

Re: Re: jspc and webapp

2002-12-09 Thread Ashuthosh Bhat
Thanks Jocab and all, I tried with the build.xml you sent, I have added also. The good news is Its modifying the xml file. But its adding a "." before all the classfiles its generating.. Can any "guru" help me! I am attaching the build and web.xml files. Ashuthosh On Sat, 07 Dec 2002 Jacob

RE: cvstagdiff NullPointerException - FIXED in 1.5.2

2002-12-09 Thread Euan Guttridge
For reference this is a bug, fixed in 1.5.2 milestone (or 1.6 alpha), bug #13514. -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED]] Sent: 06 December 2002 18:18 To: 'Ant Users List' Subject: RE: cvstagdiff NullPointerException After further testing this only happens when

Antcall and undefined parameters

2002-12-09 Thread Eric Jain
How do I pass properties that may be undefined through without having them expanded to a string such as '${x}' (which evaluates to true)? A possible solution may be to use rather than , but I am not sure how this would work in the example below. ... -- Eric J

Re: How to get command line attributes with Ant

2002-12-09 Thread Conor MacNeill
[EMAIL PROTECTED] wrote: Hi, how can I read additional parameters that have been added on comand line level within an ANT task? You can't. Those parameter's are Ant's parameters, not the task's. Ant will interpret them as targets. If you use the -Dproperty=value syntax on the command line, the

How to get command line attributes with Ant

2002-12-09 Thread Meinolf . Schulte-Doeinghaus
Hi, how can I read additional parameters that have been added on comand line level within an ANT task? How can I get the taskname that has been called initially without taking care on dependencies of the tasks? Thanks in advance Meinolf Schulte-Döinghaus -- To unsubscribe, e-mail: