r}" group="${unix.group}" />
>
>
> filemode="774" dirmode="774" username="${unix.user}" group="${unix.group}" />
> filemode="664" dirmode="774" username=&qu
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
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
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
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
'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
-
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
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
"*" is generally a shell-construct. I think only and its relatives
know how to expand *.
--
Rick Genter
Principal Software Engineer
Silverlink Communications
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
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
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
> 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]
> >
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
---
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
> 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
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'
l">
>
>
>
>
>
>
>
>
>
>
>
> I tried many other things like using the "unless"
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
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
> 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
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
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
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]>
--
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.
ript,
> following Matt's instructions:
>
>
>
>
>
>setonempty="true"
> property="aaa.xml.files">
>
>
> ${aaa.xml.files}
>string="${aaa.xml.files}"/>
> ${count.xml.files}
>
>
>
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
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
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
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
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
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
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:
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
${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.
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
} != ${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
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
ry without forking the VM?
--
Rick Genter
Principal Engineer
Silverlink Communications
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
39 matches
Mail list logo