Re: Need help viewing output from failed ant/junit tests

2010-03-05 Thread Bill Moran
there ... thanks for the help so far. -- Bill Moran Collaborative Fusion Inc. http://people.collaborativefusion.com/~wmoran/ - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Need help viewing output from failed ant/junit tests

2010-03-05 Thread Bill Moran
gging framework, what happens with console programs that are supposed to output to stdout? Not being able to see how far along they get makes debugging difficult. -- Bill Moran Collaborative Fusion Inc. http://people.collaborativefusion.com/~wmor

Need help viewing output from failed ant/junit tests

2010-03-05 Thread Bill Moran
r test class Entering test_get_list() Leaving test_get_list() The code is nothing fancy, just: System.out.println("entering setUp() for test class"); Any advice on how to configure the ant task so I can capture that output? Running ant-1.7.1 on FreeBSD 8.0 with JUnit 4.8.1. Thanks in

Re: problem with using with the javah task

2009-10-15 Thread Bill Au
I just tried but it seems that is not valid for the javah task: javah doesn't support the nested "jvmarg" element. Bill On Thu, Oct 15, 2009 at 9:53 AM, Francis GALIEGUE wrote: > On Thu, Oct 15, 2009 at 15:37, Bill Au wrote: > > I have a need to limit the max hea

problem with using with the javah task

2009-10-15 Thread Bill Au
org.apache.hadoop.io.compress.zlib.ZlibCompressor What am I doing wrong? Bill

howto?: copy file with filename match on regexp

2009-01-23 Thread Bill Milbratz
;does not begin with numeral': .*/\D\w*.css 'does begin with numeral': .*/\d++\w*.css bill

Re: conditional statements

2008-02-14 Thread Bill Rich
First I must say that Ant is not a process language it is a rules language so tasks like and do not belong in Ant. Now, is this more like what you want... X is True! X is False! Yadda... Yadda... Yadda... Fully testing this snippet is left as an exerc

Re: checksum task: how can you use hash in a separate directory

2008-02-13 Thread Bill Milbratz
, i.e. and backup src/jsp/foo.jsp before overwriting it This may simply be an exercise in string manipulation with Ant or "advanced use of filesets", thanks, bill

Re: checksum task: how can you use hash in a separate directory

2008-02-12 Thread Bill Milbratz
hi, a clarification: my subject line doesn't match the question. I originally had wondered about using 'todir' as a destination for the checksum files, but realized I had a more basic question. The body mutated; the subject did not. bill

checksum task: how can you use hash in a separate directory

2008-02-12 Thread Bill Milbratz
hash. I've looked at the checksum documentation and the source code, but don't see a way I can see which specific files have changed. Yet, I may be missing something. thanks, bill

Re: well-defined ant/xslt problem: (how) can I do this?

2008-02-08 Thread Bill Milbratz
Thanks for the feedback everyone. I used the 'for' with 'sequential' to get get iteration working. Yet Klaus' answer provides what I was looking for. The ant documentation of the xslt task suggests 'destdir' is a specific directory. I didn't realize the destdir would automatlically map the input

Re: well-defined ant/xslt problem: (how) can I do this?

2008-02-07 Thread Bill Milbratz
A follow-up: I tried the using the ant-contrib for each, and manually specifying the versions in a list, but came across a limitation: pe\build-developer.xml:1217: foreach doesn't support the nested "antcall" element. (I've implemented the internals for the for-each using antcall); can anyone c

well-defined ant/xslt problem: (how) can I do this?

2008-02-07 Thread Bill Milbratz
#x27;, but this gets pretty complex and hard to follow. any suggestions? thanks, bill

Re: Divide And Conquer Ant Question

2007-12-13 Thread Bill Rich
local extensions of the process by importing a file that can contain extension targets or override targets for the process. If this file does not exist ant just ignores it and goes on - no complaints. If the file exists the targets in it are available for use. HTH Bill Z W wrote: Hi I'm usin

Re: AW: Tool for documenting Ant scripts

2007-11-26 Thread Bill Rich
developer and contributors regularly answer questions. Bill Douglas Bullard wrote: Thank you for the constructive (and detailed) feedback! I'm recovering from surgery for the next month or so, and will have plenty of time to incorporate your comments. Most of these were things I overl

Re: Iterating a class list

2007-09-22 Thread Bill Rich
Hi James. Take a look at the Ant task or the antContrib task either of which could be useful to you for this particular case. HTH Bill James Griggs wrote: I am looking for way to iterate through a property that contains a semicolon delimited list of libraries (jars). The property could

Re: How to use ant in web application without system path setup under linux

2007-08-12 Thread Bill Rich
You might try setting the ANT_HOME env variable and adding the /bin dir of ANT_HOME to your PATH var. I have both of those set on my machine from the installation of ANT. HTH Bill 贾昊林/Albert Jia wrote: Hi,David Thanks for your reply. But sometimes, I have to code between different

Re: help with some conditional logic..

2007-07-23 Thread Bill Rich
Create a target named init which will define/set props.someprop to any value. HTH Bill warhero wrote: ##how use some logic based on a property from the props file that will either execute the "exec" or ju

Re: Help with iteration in for loop

2007-07-03 Thread Bill Rich
task of ant-contrib. There you will see examples of using a var to do the math. In your case use a var in the loop then assign the value to count as the last thing you do in the task. HTH Bill broken connection wrote: Hi Friends, Is there any way to control iteration in ant. I want to put an if

Re: buiild.xml & ant

2007-06-16 Thread Bill Rich
Bill ||| Erica A Ramsey wrote: hello, it's me again with another problem. I am using tasks provided by oem. One of these tasks is the task. Inside this task I specify resource files as follows; Problem is that I have a macrodef that generates resources. I don't know the na

Re: -projecthelp option odd error

2007-05-09 Thread Bill Rich
adability issues for anyone familiar with XML. At any rate, I haven't a clue as to exactly what your problem is but IMHO I would remove the "-->" from the descriptions to see what happens. HTH Bill Jesuschrist Superstar wrote: Hello I'm working in my very first ant

Re: Check if directory is empty or not

2007-04-20 Thread Bill Rich
A little while ago Jan Materne suggested the following for another question about files in a directory. Can you use something similar, maybe with a * or **/*, and check if the length of the file list is 0? HTH Bill Anderson, Rob (Global Trade) wrote: I have a build.xml

RE: Problem with condition selection property; Help needed

2007-04-10 Thread bill
proceed. HTH Bill -Original Message- From: Shailesh Sharma [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 8:13 AM To: Ant Users List Subject: Re: Problem with condition selection property; Help needed actually, the deployer is sometimes suggested to just deploy 1 or 2 or 3 or etc. So

RE: Problem with condition selection property; Help needed

2007-04-10 Thread bill
-Original Message- From: Shailesh Sharma [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 8:13 AM To: Ant Users List Subject: Re: Problem with condition selection property; Help needed actually, the deployer is sometimes suggested to just deploy 1 or 2 or 3 or etc. So, it circum

RE: Conditional dependencies

2007-03-19 Thread bill/wilandra
You could make all the targets independent and specify a blank delimited list of targets on the command line. Bill -Original Message- From: Murray, Mike [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 2:34 PM To: Ant Users List Subject: RE: Conditional dependencies I sympathize

RE: Escaping double quotes in properties?

2007-03-11 Thread bill/wilandra
Try using " -- HTH Bill -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Sunday, March 11, 2007 3:49 PM To: Ant Users List Subject: Escaping double quotes in properties? I'm trying to store double quotes in a property, to print out a phrase like: It

RE: Information on Ant Dependant libraries and compatibility

2007-03-06 Thread bill/wilandra
set a classpath, the helper scripts do it for you. HTH Bill (1) http://ant.apache.org/manual/install.html#librarydependencies -Original Message- From: magisetty obula prasad [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 06, 2007 2:21 PM To: user@ant.apache.org Subject: Information on

RE: fileset and filename under copy task

2007-02-20 Thread bill/wilandra
>From the examples in the 1.6.5 manual I would assume that the following should work. I did not try it. HTH Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 20, 2007 11:55 AM

RE: Python implementation for Ant

2007-02-09 Thread bill/wilandra
needed looping. Working with Ant I simply added AntContrib and used its looping capabilities. Thanks. Bill Bill Rich Wilandra Consulting LLC [EMAIL PROTECTED] http://www.wilandra.com -Original Message- From: Rick Genter [mailto:[EMAIL PROTECTED] Sent: Friday, February 09, 2007 7:18 AM

RE: AW: Ant exec find -exec problem

2006-11-16 Thread bill/wilandra
There is an example from Rob Anderson included in the email thread for this topic. It uses to do the math and in to do the selection. Bill -Original Message- From: Elaine Fortin [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 8:08 AM To: Ant Users List Subject: Re: AW

RE: propertyregex regexp construct question

2006-11-10 Thread bill/wilandra
The following reg ex should work for you: [^-]*-[^-]*-(.*) You will need to adjust it so it works in by adding appropriate escapes. I use the RegexCoach tool to check reg exs. It is available from http://weitz.de/regex-coach. HTH Bill -Original Message- From: Rémon van Gijn [mailto

RE: Using Ant commands in a batch file; having problem; ant exits

2006-10-23 Thread bill/wilandra
Assuming you are on a Windows machine, then ant is a .bat file and you must call ant from another .bat file. HTH Bill -Original Message- From: Res Pons [mailto:[EMAIL PROTECTED] Sent: Monday, October 23, 2006 3:46 PM To: user@ant.apache.org Subject: Using Ant commands in a batch file

RE: Task help

2006-10-18 Thread bill/wilandra
Try this taskdef instead and see if it helps: HTH Bill -Original Message- From: Muthyala, Sunil [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 11:23 AM To: 'Ant Users List' Subject: RE: Task help Thanks to Jan and Steve Loughran. I tried Jan's suggestion,

RE: Loops

2006-07-17 Thread bill/wilandra
still need looping Ant Contrib is a set of extensions to Ant. In Ant Contrib you will find some looping extensions that can be used to do what you want. Ant Contrib is found at http://ant-contrib.sourceforge.net. HTH Bill -Original Message- From: danielpaval [mailto:[EMAIL PROTECTED

RE: Escape character of @ in Ant

2006-07-10 Thread bill/wilandra
What I found at http://www.w3schools.com/tags/ref_ascii.asp is that the at sign can be represented at @. I could not find another representation of it. HTH Bill -Original Message- From: Res Pons [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 8:39 PM To: user@ant.apache.org

RE: Migration problem, Windows to Linux (how to unsubscribe)

2006-07-06 Thread bill/wilandra
Read through all the attachments to this email and you will find the answer stated many times. Bill -Original Message- From: Jian Xu [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 5:19 PM To: user@ant.apache.org Subject: Re: Migration problem, Windows to Linux (how to

RE: Dynamic references to properties files

2006-05-22 Thread bill/wilandra
Ah yes, I forgot about that. Bill -Original Message- From: Asaf Mesika [mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 12:07 PM To: 'Ant Users List' Subject: RE: Dynamic references to properties files Env is commonly used, but it is not defined unless you define it

RE: Dynamic references to properties files

2006-05-22 Thread bill/wilandra
Isn't env a well known property for retrieving op sys environment vars (e.g., ${env.MYDIR})? If so, can it ever not be set? If it is always set then the will never fail regardless of whether the user sets the env property or not on the command line. Bill -Original Message-

RE: Commenting/generate documentation from an ant script

2006-05-19 Thread bill/wilandra
, Opera, and IE. Once in a while I get some glitch in IE but since I don't use IE any more I don't worry about it. HTH Bill -Original Message- From: Scot P. Floess [mailto:[EMAIL PROTECTED] Sent: Friday, May 19, 2006 8:39 AM To: Ant Users List Subject: Commenting/generate doc

RE: Exception in Style

2006-04-25 Thread bill/wilandra
Ron, Have you looked at the Forrest project to see how they use ant. http://forrest.apache.org/ They generate a web site from XML input files and use ant to control the process. I have not drilled down into their use of ant but it may give you some ideas. Bill -Original Message- From

RE: Property problem in 1.6.5

2006-04-06 Thread bill/wilandra
ed then the jar target. In your example that is what you accomplished by running "ant update jar". HTH Bill -Original Message- From: Greg Irvine [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 4:17 PM To: 'Ant Users List' Subject: RE: Property problem in 1.6.

RE: WELCOME to user@ant.apache.org

2006-03-27 Thread bill/wilandra
happening before posting your problem. If you still don't see it, then read the appropriate parts of the docs, then if you still don't see it post exactly what your problem is and the appropriate parts of the build file that cause the problem. Bill -Original Message- From: ilango [mai

RE: help with exclude patterns

2006-03-20 Thread bill/wilandra
dirtasks: http://ant.apache.org/manual/dirtasks.html fileset: http://ant.apache.org/manual/CoreTypes/fileset.html What is it you want to accomplish? Bill -Original Message- From: murthy gandikota [mailto:[EMAIL PROTECTED] Sent: Monday, March 20, 2006 1:19 PM To: Ant Users List

RE: help with exclude patterns

2006-03-20 Thread bill/wilandra
Both the fileset and dirtasks sections of the manual have some discussion about patterns. If you use name="**/*" it would mean that you want all files in all directories in the current directory and below it. HTH Bill -Original Message- From: murthy gandikota [mailto:[EMAIL

RE: ANT FTP TASK

2006-03-05 Thread bill/wilandra
you can find the Fileset class and go from there? HTH Bill -Original Message- From: Karthik [mailto:[EMAIL PROTECTED] Sent: Sunday, March 05, 2006 10:20 PM To: user@ant.apache.org Subject: ANT FTP TASK Hi form I found this piece of code on the web and am struck with the API 1)Would

RE: Generating PDF documentation .

2006-03-03 Thread bill/wilandra
d to Forrest. I am sure it is something that can be solved with just a SMOP. Documentation for Forrest is located at http://forrest.apache.org/docs_0_70. Bill -Original Message- From: Daniel Lindner [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 7:25 AM To: Ant Users L

RE: propertyregex

2006-03-02 Thread bill/wilandra
lowed by one or more whitespace elements. Place everything up to the next whitespace element (if there is at least one element that is not a whitespace element in register 1 then select the rest of the string. HTH Bill -Original Message- From: Mark Lybarger [mailto:[EMAIL PROTECTED] Sent: Thursd

RE: Delete a dir set

2006-03-02 Thread bill/wilandra
hat and see if it works better for you. HTH Bill -Original Message- From: Giovanni Mesturini [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 8:10 AM To: user@ant.apache.org Subject: Delete a dir set Hi Community, I have to remove all CVS references from a tree. I've

RE: Question regarding the Jar task

2006-02-22 Thread bill/wilandra
output useful in understanding the tasks better. It is the most accurate documentation about a task in any given situation. After seeing the first output tweak the zip task slightly and run it again to see the dirrerences. Then keep tweaking until you get what you want. HTH Bill -Original Message

RE: test for directory existence

2006-02-16 Thread bill/wilandra
there and the create was skipped but I would not want that much info in the standard message. Bill -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 6:23 AM To: Ant Users List Subject: Re: test for directory existence If I understand co

RE: problem with compiler settings

2006-02-14 Thread bill/wilandra
with -verbose. HTH Bill -Original Message- From: Casey Daniell [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 1:52 PM To: 'Ant Users List' Subject: RE: problem with compiler settings Try setting just the javac process... OR -Original Message- From: [

RE: About running a ANT script on UNIX.

2006-02-12 Thread bill/wilandra
specific with your questions. Many of us are consultants who get paid to do this kind of work and are not going to write your Ant file for you for free. It is very very imp for me to get paid for my work. Bill -Original Message- From: Shweta Bodade [mailto:[EMAIL PROTECTED] Sent: Sunday

RE: Directory and Fileset question

2006-02-08 Thread bill/wilandra
Have you looked at with the "if" attribute for include? I don't know if you have enough info to set it up ahead of time but it may help. Bill -Original Message- From: Mark Russell [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 9:05 AM To: ant develipe

RE: Custom tasks

2006-02-07 Thread bill/wilandra
There is also an OpenSource project on SourceForge.net called AntForm. It will display a menu or form that can be used for input. I found it fairly easy to use although it has some idiosyncrasies about how it places objects in the dialog window. Bill -Original Message- From: Anderson

RE: problem with exec task

2006-02-05 Thread bill/wilandra
To run a .bat file on Windows you need to start the command shell and have it run the .bat. I would assume that the executable would be something like cmd. IIRC there is a thread on this list that talks about the exact same issue. HTH Bill -Original Message- From: Rhino [mailto:[EMAIL

RE: Filtering on property values

2006-02-03 Thread bill/wilandra
Try from AntContrib. It will allow you to create a new property value using a regular expression. HTH Bill -Original Message- From: Matthew Hughes [mailto:[EMAIL PROTECTED] Sent: Friday, February 03, 2006 9:33 AM To: user@ant.apache.org Subject: Filtering on property values I have a

Overriding definition of reference to ?

2006-01-31 Thread Bill Winspur
w weeks ago. I suppose I've changed something, but right now I'm stumped. What does the error message mean? Bill. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: "java.io.IOException: Negative seek offset" while expanding .tar file

2006-01-22 Thread bill/wilandra
I don't see TARdistributionDir being set to a value anywhere in the code you provided. Is it set properly prior to the unTar target being run? HTH Bill -Original Message- From: Bob Scaggs [mailto:[EMAIL PROTECTED] Sent: Sunday, January 22, 2006 10:33 AM To: user@ant.apache.org Su

RE: Reading properties

2006-01-09 Thread bill/wilandra
Try changing the \ to / in the file. HTH Bill -Original Message- From: shreedhar natarajan [mailto:[EMAIL PROTECTED] Sent: Monday, January 09, 2006 4:46 PM To: Ant Users List Subject: Reading properties hi all, One of my property file has key/values such as path=something\usb When

Re: Using the bootclasspath

2006-01-02 Thread Bill Winspur
Thanks for the input Roger. As you indicated, I ran outside ant and solved the problem I had, but I still need to be able to run my debug classes under ant. I'll experiment with ANT_OPTS and will post back here. Rainer Noack wrote: Hi Bill, Typically one will set the bootclasspath vi

Re: Using the bootclasspath

2006-01-02 Thread Bill Winspur
Thanks for the pointer stephan, I'll continue to experiment and post my results back here. Stefan Bodewig wrote: On Tue, 27 Dec 2005, Bill Winspur <[EMAIL PROTECTED]> wrote: bootclasspath ignored since build.sysclasspath has been set. You can find inform

RE: for-each Task

2005-12-29 Thread Bill Rich
e the extension tasks to do what I want. It is a conscious decision to deviate from the Ant core. Bill -Original Message- From: KrustyDerClown [mailto:[EMAIL PROTECTED] Sent: Thursday, December 29, 2005 9:18 AM To: user@ant.apache.org Subject: for-each Task Hello, why is the for-each

RE: Debug javac task

2005-12-29 Thread Bill Rich
Only a guess, but it looks like the class files for each of the compile targets go in the same directory. Javac will use that directory to resolve class files it needs as well as the classpath. HTH Bill -Original Message- From: Barak Yaish [mailto:[EMAIL PROTECTED] Sent: Thursday

Using the bootclasspath

2005-12-27 Thread Bill Winspur
h has been set. I have been unable to discover what this message means. Can somebody direct me to ant's classloading reference material, or explain how I can use the boot classpath? Thanks, Bill - To unsubscribe, e-ma

RE: ant not recognizing command line argument

2005-12-01 Thread Bill Rich
ke an Ant problem to me. Bill -Original Message- From: Safak Ökmen [mailto:[EMAIL PROTECTED] Sent: Thursday, December 01, 2005 8:24 AM To: Ant Users List Subject: Re: ant not recognizing command line argument Here is another sample: __ D:\programme\ant\bin>ant -debug clean

RE: Question on how to to debug mapper issues

2005-11-21 Thread Bill Rich
Have you tried the verbose (-v) or debug (-d) command line options? Be warned, they put a lot of stuff on the console. When I use them I redirect the console to a file then browse it with an editor. HTH Bill -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent

RE: Specifiying user properties file

2005-11-05 Thread Bill Rich
. HTH Bill -Original Message- From: Mark McKay [mailto:[EMAIL PROTECTED] Sent: Saturday, November 05, 2005 4:43 PM To: user@ant.apache.org Subject: Specifiying user properties file I'm trying to set up a situation where my users can specify a properties file where they can set prope

RE: Size of zip file

2005-10-19 Thread Bill Rich
uld fit on removeable media. I think there was also an index file written that listed the files that had been made so the merge file could put them back together. I am pretty sure it was intended for use with archive/backup files only, but, I could be wrong. Bill -Original Message- From: Gisbert A

RE: Size of zip file

2005-10-18 Thread Bill Rich
eveal what you need. Bill -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 8:20 AM To: Ant Users List Subject: Re: Size of zip file Ant >= 1.6.3 includes the task which can get file sizes for you. You could probably (a) write somethi

RE: Problem with Environment Variables on Win2000

2005-09-28 Thread Bill Rich
If you set the environment var using MyComputer, did you restart the command window before using it? This is a common issue with windows in that the env vars do not affect the open command windows. HTH Bill -Original Message- From: Jason [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: FW: problem with using fork in windows xp

2005-09-21 Thread Bill Rich
Gayan, you can redirect the console output to a file using something like this: ant ... -v >log.txt In the log.txt file will be the console output from running the command. Open it with a text editor and you will see the whole command as requested. HTH Bill -Original Message- F

RE: ant log

2005-09-15 Thread Bill Rich
It could also stand for Problem Report ... -Original Message- From: Ramnish Kalsi [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 1:54 AM To: Ant Users List Subject: RE: ant log Previously Reported ? just a guess ... :) -Original Message- From: Giuliano Dessì [ma

RE: ant script autodocumentation

2005-09-08 Thread Bill Rich
I have an xsl file that will format the build file for you and display it in a browser. It works on both IE and Firefox. I have had some problems with it on Opera. I don't have it with me at the moment but if you want it please send me an email offline and I will send it to you. HTH Bill

RE: Empty arguments on the command-line under windows

2005-09-01 Thread Bill Rich
presented by Ant and you should see the same results. My suggestion would be to pass the ${my.property} argument as a keyword and value then base the programs behavior on the value of the keyword parameter. This should work in all os. HTH Bill -Original Message- From: Martin Senger [mai

RE: Test

2005-08-25 Thread Bill Rich
I sometimes have this problem when I post from an email account that is not the one I used to register on the listserv. Many times it takes a day or so to get my post back. HTH Bill -Original Message- From: Petar Tahchiev [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 7:43 AM

RE: how can I change value of property in runtime?

2005-08-25 Thread Bill Rich
you design the solution to fit in these guidelines? If not, antcontrib offers some help by providing some if-then-else like constructs that can be used. This also includes a variable construct that can change the value at run time. HTH Bill -Original Message- From: Taner Diler [mailto

RE: HELP :javac classpath

2005-08-09 Thread Bill Rich
You need something like the following to define the classpath: Then when you use it use something like this in the task: Setting the value of the file name in a property won't do it for you. HTH Bill -Original Message- From: Arti Singh [mailto:[

RE: containsregexp selector Ant 1.6.5

2005-08-04 Thread Bill Rich
Thank you very much. This is what I thought might be the case. I will probably pursue writing my own custom selector for this task. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 10:20 PM To: user@ant.apache.org Subject: AW

RE: containsregexp selector Ant 1.6.5

2005-08-04 Thread Bill Rich
egexp implementation of am I just stuck with this anomaly? I assume that \s means whitespace and that includes the new line. It seems to work with all other whitespace such as hroizontal tabs. Thanks. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, Augu

containsregexp selector Ant 1.6.5

2005-08-04 Thread Bill Rich
ceBundle { The fileset finds examples 1 and 3 but not example 2. Any clues as to what to change or how to approach this differently? tia Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Scope of property.

2005-07-27 Thread Bill Rich
This is not expected behavior, at least by me. I do this kind of thing by setting my properties in an init target then using them in my other targets. Don't seem to have a problem with it. I assume these two targets are in the same build file, right. Bill -Original Message- From: [

RE: javacc on multiple files

2005-07-22 Thread Bill Rich
This is untested -- You can use to generate a list of your *.jj files, then use to place the list in a property, then use the ant-contrib to iterate over the property passing each file in the list to javacc. HTH Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

RE: usage of exec

2005-07-19 Thread Bill Rich
If you have not tried it and gotten a specific error, how are we going to help you. RTFM. exec is pretty well documented. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 8:13 PM To: user@ant.apache.org Cc: [EMAIL PROTECTED

RE: using arguments after the java command

2005-07-19 Thread Bill Rich
No, the difference is between mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 7:07 PM To: Ant Users List Subject: Re: using arguments after the java command -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Rich wrote: > See if this will help as a model -- > > f

RE: using arguments after the java command

2005-07-19 Thread Bill Rich
See if this will help as a model -- The element passes the arg to the JVM while the element passes the arg to the target class. HTH Bill -Original Message- From: James Black [mailto:[EMAIL PROTECTED] Sent

RE: native2ascii / ANT 1.6.5

2005-07-15 Thread Bill Rich
If you have a classpath set, remove it. Let Ant set the classpath for you. Be sure JAVA_HOME is set properly. The only tools.jar file I have is C:\j2sdk1.4.1_05\lib\tools.jar, I don't have a classpath env var set and it works just fine for me. HTH Bill -Original Message- From:

RE: build.xml for javadoc of entire folder tree

2005-07-12 Thread Bill Rich
can probably make it work for your case. HTH Bill -Original Message- From: JS developer [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 10:43 AM To: user@ant.apache.org Subject: build.xml

RE: Javadoc on all subdirectories

2005-07-07 Thread Bill Rich
Maybe try a . Try fiddling around with this to see if you can make it work. HTH Bill -Original Message- From: Kjersti Berg [mailto:[EMAIL PROTECTED] Sent: Thursday, July 07, 2005 1:37 AM To: Ant Users List Subject: Re: Javadoc on all subdirectories

RE: IDL always re-compiles in build

2005-06-28 Thread Bill Rich
Here is a sample for handling JavaCC that I use. It is similar to what you want for IDL. HTH Bill -Original Message- From: Jeffrey E Care [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 28, 2005 8:31 PM To: Ant Users List Subject: Re: IDL always re

RE: Ant 1.5.4: How to do general text transformations on a file?

2005-06-24 Thread Bill Rich
Try using < for the < character. Ant is in an XML file so you should use the element names for XML reserved characters. HTH Bill -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Friday, June 24, 2005 8:47 AM To: Ant Users List Subject: RE: Ant 1.5.4: How

RE: Need help writing regular expression??

2005-06-22 Thread Bill Rich
., III, or something like that following it this reg exp will truncate the name. So, Fred Flintstone II will be FFlintstone and you will loose that fact that he has a different name than his father, Fred Flintstone. HTH Bill -Original Message- From: Ninju Bohra [mailto:[EMAIL PROTECTED] Sent

RE: exec task failing

2005-06-22 Thread Bill Rich
Because of the space in the path (/php httpd/)? There has been much discussion on this forum about spaces in path names. HTH Bill -Original Message- From: blackwater dev [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 22, 2005 8:11 AM To: Ant Users List Subject: exec task failing I

Re: FW: Connection Failures On SSHExec Task

2005-06-19 Thread Bill Winspur
soon, Bill Winspur Atsuhiko Yamanaka wrote: Hi, +-From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> -- |_Date: Fri, 3 Jun 2005 10:16:53 -0700 __ | |> > > [sshexec] Connecting to xxx.com:22 |> > > [sshexec] root

RE: macrodef+fileset

2005-06-14 Thread Bill Rich
The attached macro snippet does something like what you want. It takes filetypelist as a parameter. filetypelist is a semi-colon separated list of items from a control file. HTH Bill -Original Message- From: [EMAIL PROTECTED] [mailto

RE: Alternative to PropertyTask from Ant delivery

2005-06-09 Thread Bill Rich
A property file is a PropertyResourceBundle. You could look that up in the Java docs. Bill -Original Message- From: Young Matthew [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 6:08 AM To: Ant Users List Subject: RE: Alternative to PropertyTask from Ant delivery Wonder if

Re: Connection Failures On SSHExec Task

2005-06-03 Thread Bill Winspur
Rob, Admittedly, this is an off the wall question, but are your ssh server and client on the same win2k host? Bill. Anderson, Rob (Global Trade) wrote: 1. What OS are you running sshexec on? Win 2k 2. What java version is ant running on ? java version "1.4.2_07"

Re: Connection Failures On SSHExec Task

2005-06-03 Thread Bill Winspur
e you connecting to (openssh?), 4. What OS is the ssh server running on ? Bill. Anderson, Rob (Global Trade) wrote: I was able to run the build file successfully using Ant 1.6.2 with jsch version 0.1.16. This is not a known problem with sshexec. It may be a problem with jsch. What version of

RE: Ant Contrib and question

2005-06-03 Thread Bill Rich
Since properties are immutable I don't think you need to check to see if a property is set or not. Make sure you set the default after any other possible setting of the property. If the property gets set then setting the default will do nothing. HTH Bill -Original Message- From:

RE: Ant Contrib and question

2005-06-03 Thread Bill Rich
Since properties are immutable I don't think you need to check to see if a property is set or not. Make sure you set the default after any other possible setting of the property. If the property gets set then setting the default will do nothing. HTH Bill -Original Message- From:

RE: Ant Contrib and question

2005-06-02 Thread Bill Rich
Since properties are immutable I don't think you need to check to see if a property is set or not. Make sure you set the default after any other possible setting of the property. If the property gets set then setting the default will do nothing. HTH Bill -Original Message- From:

  1   2   >