Re: Problem with filemode Attribute of tarfileset

2012-07-25 Thread Rick Genter
r}" group="${unix.group}" /> > > > filemode="774" dirmode="774" username="${unix.user}" group="${unix.group}" /> > filemode="664" dirmode="774" username=&qu

Re: Target Execution Sequence

2011-10-29 Thread Rick Genter
akes sense? Or, if it doesn't, suggest a >> better explanation? If I'm on the right track, what is it that I'm not >> understanding about the execution sequences of tasks within targets? I had >> assumed that each task within a target would be executed before task

Re: Alternative to if else task.

2011-02-11 Thread Rick Genter
On Feb 11, 2011, at 11:35 AM, ritchie wrote: > > > Are the if and unless attributes supported in Ant 1.7.1 and lower? I'm pretty sure if and unless have been part of ant since 1.0. They were there when I started to use ant in 2003. -- Rick Genter rick.ge

Inconsistent behavior between Windows and Unix

2010-04-25 Thread Rick Genter
e value after the -c switch. I expected that using and I wouldn't have to do that. Is this a bug in ANT, or do I just not understand how the Windows CreateProcess() call expects its arguments? As indicated, I can work around this, but it requires having OS-dependent targets in

RE: filelist to support selections as per the fileset

2010-04-13 Thread Rick Genter
for potentially nonexistent files; the functionality you are asking for amounts to an ordering of . is intended for something else and what you are asking for CAN NOT BE IMPLEMENTED given 's semantics. I wish you could understand that. -- Rick Genter Principal Software Engineer Silverlink

RE: filelist to support selections as per the fileset

2010-04-13 Thread Rick Genter
't exist? You are asking for a different mechanism. It sounds like you want something like an . I encourage the ANT developers to not corrupt to try and do things it wasn't designed for. -- Rick Genter Principal Software Engineer Silverlink Communications -

RE: javac can't find source files

2009-08-13 Thread Rick Genter
volumes might use MacRoman for their character encoding. Instead of , try doing something else with an include set of "*.java" and see if the other task sees them ( maybe). Then try with "*" and see what happens. -- Rick Genter Principal Software Engineer Silverlink Communications

RE: conditional logic and user input

2009-07-02 Thread Rick Genter
if attribute takes the name of the property, not its value. These should be and -- Rick Genter Principal Software Engineer Silverlink Communications - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

RE: Way to simplify this task?

2009-02-20 Thread Rick Genter
"*" is generally a shell-construct. I think only and its relatives know how to expand *. -- Rick Genter Principal Software Engineer Silverlink Communications

RE: garbage characters when specifying properties on the ANT command line

2008-10-03 Thread Rick Genter
t causes it: > > executing: build target -Dverbose=true > > results in an error message: > > Target "ûDverbose" does not exist in the project "MyProject". The "-" being typed on the command line is not an ASCII hyphen (\u002D), but is some other

RE: How do I escape the " in the replace command?

2008-06-24 Thread Rick Genter
h = > > token='JAVA_OPTIONS="${JAVA_OPTIONS}"' >value='JAVA_OPTIONS="${JAVA_OPTIONS}" > -Dweblogic.ProductionModeEnabled=${WEBLOGIC_PRODUCTION_MODE}'/> > > if that doesn't work, i would go with regexp The HTML entity for " i

RE: arg and jvmarg

2008-04-11 Thread Rick Genter
filename) > Ant seems to view it differently. As does every command line processor I've ever dealt with: DOS, Win32 Command Prompt, sh, csh, bash, ksh, zsh, etc. I'd say the Saxon XSLT processor is the one that seems to view it "differently". -- Rick Genter Principal Softw

RE: arg and jvmarg

2008-04-11 Thread Rick Genter
> From: Dave Pawson [mailto:[EMAIL PROTECTED] > Sent: Friday, April 11, 2008 7:35 AM > To: Ant Users List > Subject: Re: arg and jvmarg > > On 11/04/2008, Rick Genter <[EMAIL PROTECTED]> wrote: > > > From: Dave Pawson [mailto:[EMAIL PROTECTED] > >

RE: arg and jvmarg

2008-04-11 Thread Rick Genter
e" 'line=' doesn't work if any of your arguments contain spaces, since internally 'line=' breaks the arguments on whitespace boundaries. -- Rick Genter Principal Software Engineer Silverlink Communications [EMAIL PROTECTED] www.silverlink.com ---

RE: moving from server to server

2008-03-30 Thread Rick Genter
cenes anyway, even if your FTP client has a "move" command. I guess I just don't understand why it's such a big deal to have to specify both steps. -- Rick Genter Principal Software Engineer Silverlink Communications [EMAIL PROTECTED] www.silverlink.com Office (781) 425-5763 M

RE: property undefined question

2008-03-15 Thread Rick Genter
> From: Z W [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 15, 2008 12:41 AM > To: Ant Users List > Subject: property undefined question > > I've never used propertycopy, but I believe from is supposed to be the name of the property, not its value. -- Rick Ge

RE: CVS task failure: cannot rename

2007-12-30 Thread Rick Genter
I'm really mystified. I wish that I had the > Windows error code that led the task to decide it > could not delete the file. Judy, Is it possible that the files in question are .jar files that are on the classpath of other tasks that have been run during the build? If so, it'

Re: Selector with an if condition.

2007-11-24 Thread Rick Genter
l"> > > > > > > > > > > > > I tried many other things like using the "unless"

RE: Question about "depends" attribute in the target element

2007-11-12 Thread Rick Genter
ething like this: I am target A I am target B -- Rick Genter Principal Software Engineer Silverlink Communications [EMAIL PROTECTED] www.silverlink.com Office (781) 425-5763 Mobile (781) 771-9677 This e-mail, including attachments, may include confidential and/or proprietary informati

RE: Question about "depends" attribute in the target element

2007-11-12 Thread Rick Genter
then > everything works > fine, please see below: Yes, that's correct. There's nothing broken. If you do "ant first third" first will be run twice. Each target on the command line is invoked independent of the other targets on the command line. Ant is not make/gma

RE: Question about "depends" attribute in the target element

2007-11-12 Thread Rick Genter
> times.Can someone > please correct my understanding as to why this is happening. Ant targets specified on the command line are invoked independently; it's as if you specified "ant first ; ant second", with the caveat that any properties defined during the execution of t

RE: Re: Ant vs Apache

2007-11-08 Thread Rick Genter
ough ;) > > > Charles Knell > > Frank And don't forget "Attack of the 50 ft. Woman" I think combining that with "Them" pretty much gets you there... ;-) -- Rick Genter Principal Software Engineer Silverlink Communications [EMAIL PROTECTED] www.silverlin

RE: Python implementation for Ant

2007-02-09 Thread Rick Genter
acking (e.g., my build step failed, so walk back the dependency tree and "restore" everything back to the way it was). Just random musings from someone who's had way too little coffee so far this morning. Rick -- Rick Genter Principal Software Engineer Silverlink Communications <m

RE: intra-element attribute property resolution issue

2007-01-22 Thread Rick Genter
complex the logic might be, but I would > think it's doable. > > Jake It's not a solvable problem. How do you resolve this: ? -- Rick Genter Principal Software Engineer Silverlink Communications <mailto:[EMAIL PROTECTED]> --

RE: antcontrib:for

2006-09-10 Thread Rick Genter
Try ${${proj}}. -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Sun 9/10/2006 11:52 AM To: Ant Users List Subject: antcontrib:for I have a target that I pass in a variable that I would like to fetch the value of the property to us as the list parameter in a for tag.

RE: Task to count files in a fileset?

2006-03-26 Thread Rick Genter
ript, > following Matt's instructions: > > > > > >setonempty="true" > property="aaa.xml.files"> > > > ${aaa.xml.files} >string="${aaa.xml.files}"/> > ${count.xml.files} > > >

Task to count files in a fileset?

2006-03-25 Thread Rick Genter
Fellow ant-users, Is there a way using only core tasks in ant 1.6.5 to count the number of files in a fileset? I've been through the manual and nothing leapt out at me. Thanks. Rick -- Rick Genter Principal Engineer Silverlink Communications <mailto:[EMAIL PROTECTED]> (78

RE: What does it mean

2006-03-10 Thread Rick Genter
I believe it is the German version of the English "Re:". -- Rick Genter Principal Engineer Silverlink Communications <mailto:[EMAIL PROTECTED]> (781) 425-5763 This e-mail, including attachments, may include confidential and/or proprietary information, and may only be used

RE: Error establishing socket from task?

2005-12-07 Thread Rick Genter
Thank you Antoine. Googling around I figured it out. I had to specify ANT_OPTS=-Djava.net.preferIPv4Stack=true. It's apparently a problem with the JVM when you have both IPv4 and IPv6 active. Once I set that property everything worked as expected. Rick -- Rick Genter Principal Eng

Error establishing socket from task?

2005-12-07 Thread Rick Genter
genter-dt2.hq.silverlink.local (10.100.7.217). Escape character is '^]'. fdsafdsafdsa Connection closed by foreign host. [EMAIL PROTECTED] Object]$ Any ideas? The same build script works fine on Windows, BTW... -- Rick Genter Principal Engineer Silve

RE: Probs with property expansion in loops

2005-08-30 Thread Rick Genter
Try incorporating the name of the lib into the property. Something like: Then use [EMAIL PROTECTED] throughout. -- Rick Genter Principal Engineer Silverlink Communications <mailto:[EMAIL PROTECTED]> (781) 272-3080 x242 -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PRO

RE: Sorting a property file ?

2005-03-24 Thread Rick Genter
e files in it are sorted by > directory. > Is it possible ? > > Nicolas Out of curiosity, what would be the point? Since java.util.Properties extends java.util.Hashtable, when a property file is loaded there is no way to access the properties in the order in which they exist in the

RE: Trick to Run Exec Task with Dir set

2005-02-17 Thread Rick Genter
Use instead of . Value specifies a single command line argument; line specifies all of the command line arguments. -- Rick Genter Principal Engineer Silverlink Communications <mailto:[EMAIL PROTECTED]> (781) 272-3080 x242 -Original Message- From: Michael Wang (IT) [mailto:

RE: Working directory confusion

2005-02-01 Thread Rick Genter
basedir is. I've tried through and ; neither change the CWD. I guess in a way that makes since if no new process is created, but it's annoying. The only way to do what I want is to use , which is painful. -- Rick Genter Principal Engineer Silverlink Communications <mailto:[EMAIL PROTECT

RE: Working directory confusion

2005-02-01 Thread Rick Genter
${basedir} of the original ant invocation. Instead, though the s have their ${basedir} as expected ("./test1" and "./test2", respectively), the CWDs are still the original ${basedir}. This means my tests can't find their data, which are stored in the test subdirectories.

RE: Working directory confusion

2005-02-01 Thread Rick Genter
n its own directory sharing a common set of properties. That failed pretty miserably, though. -- Rick Genter Principal Engineer Silverlink Communications <mailto:[EMAIL PROTECTED]> (781) 272-3080 x242 -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Se

Working directory confusion

2005-02-01 Thread Rick Genter
} != ${basedir} within the task, while when invoked via the command line ${user.dir} == ${basedir}. Is there a way to get ${user.dir} == ${basedir} using the task? (I need this so that files that are referenced by the Java program I invoke from my task are found.) -- Rick Genter Principal Engineer

RE: Running in a different directory than build.xml

2005-01-13 Thread Rick Genter
Thanks everyone for the feedback. More work to do ;-). -- Rick Genter Principal Engineer Silverlink Communications <mailto:[EMAIL PROTECTED]> (781) 272-3080 x242 -Original Message- From: Th. Schapitz [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 4:58 AM To: Ant

Running in a different directory than build.xml

2005-01-12 Thread Rick Genter
ry without forking the VM? -- Rick Genter Principal Engineer Silverlink Communications - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]