to:anto...@gmx.de]
>> Sent: Wednesday, December 09, 2009 6:43 AM
>> To: Ant Users List
>> Subject: Re: ANT Property substutition in log4j.properties
>>
>> Hello Jim,
>>
>> log4j understands system properties, not ant properties.
>>
>> So mo
> -Original Message-
> From: Antoine Levy Lambert [mailto:anto...@gmx.de]
> Sent: Wednesday, December 09, 2009 6:43 AM
> To: Ant Users List
> Subject: Re: ANT Property substutition in log4j.properties
>
> Hello Jim,
>
> log4j understands system properties,
Hello Jim,
log4j understands system properties, not ant properties.
So most likely these ANT_ARGS on linux do not set a system property but
just an ant property. System properties are copied to ant properties,
but the reverse is not true.
Using ANT_OPTS=-Dwork.dir=somepath should work on
When using
ANT_ARGS="-lib $LOG4J -Dwork.dir=somepath -listener
org.apache.tools.ant.listener.Log4jListener"
where $LOG4J points to a directory containing log4j.jar, with a
log4j.properties including:
log4j.appender.LogFile.file=${work.dir}/build.log
On Windows ${work.dir} in log4j.pro
altern a écrit :
How could I set ant property the value which is the result of bash script
execution? For example, I need to have target which utilizes svn and bash
utilities in order to control build execution. Speaking more specifically,
target that I'm trying to create will be used to d
How could I set ant property the value which is the result of bash script
execution? For example, I need to have target which utilizes svn and bash
utilities in order to control build execution. Speaking more specifically,
target that I'm trying to create will be used to define, whether ther
ar,foobar
Jan
> -Ursprüngliche Nachricht-
> Von: David Weintraub [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 17. März 2008 19:26
> An: Ant Users List
> Betreff: Re: Ant property ant.java.version how does Ant
> detect this property?
>
> You know, there's one t
;Ant provides access to all system properties ... For a list of system
> properties see
> the Javadoc of System.getProperties."
>
>
> Jan
>
> > -----Ursprüngliche Nachricht-
> > Von: David Brown [mailto:[EMAIL PROTECTED]
> > Gesendet: Montag, 17. Mär
uot;
Jan
> -Ursprüngliche Nachricht-
> Von: David Brown [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 17. März 2008 03:34
> An: user@ant.apache.org
> Betreff: Ant property ant.java.version how does Ant detect
> this property?
>
> Hello Steve and all the Ant gurus and
Hello Steve and all the Ant gurus and users. I know the Ant built-in property:
ant.java.version is an property detected by Ant. Does Ant detect this property
from some ubiquitous environment variable such as: JAVA_HOME? I have several
JDKs installed: 1.4.x, 1.5.x, 1.6.x etc. What is needed to ge
gt; Betreff: Re: can we use an ANT property in the DOCTYPE settings?
>
> I don't think it's possible. Maybe you should generate
> another ant file from
> main build and call the subbuild from there. Maybe generating
> subbuild.xmllike this:
>
>
>filtering=&
t tested this actually, but I thin :) it should work..
--
-Antti-
2008/1/28, Nagender Kumar Mallik <[EMAIL PROTECTED]>:
>
> Hey everyone,
>
> can we use an ANT property in the Doctype settings?
>
> I basically want to do:
>
> ]>
>
> regards,
> Nagender
>
>
Hey everyone,
can we use an ANT property in the Doctype settings?
I basically want to do:
]>
regards,
Nagender
--- Chris <[EMAIL PROTECTED]> wrote:
> How do I set a property equal to a value obtained
> from a Java class?
>
> For example, in our app we define the version in a
> constant:
>
> class MyClass {
> static public final String VERSION = "1.0";
> }
>
> In build.xml, I'd like to assign a ver
How do I set a property equal to a value obtained from a Java class?
For example, in our app we define the version in a constant:
class MyClass {
static public final String VERSION = "1.0";
}
In build.xml, I'd like to assign a version property:
and then use it to, say, name the .jar fil
14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
is it possible to copy the value from a property-file to an Ant-property?
Regards,
Jason
__
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!
Mehr
Hi,
is it possible to copy the value from a property-file to an Ant-property?
Regards,
Jason
__
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!
Mehr Infos unter http
An: Ant Users List
>Betreff: RE: ant property not set question
>
>Forget about is.dev.home, you don't need it. Just use the environment
>variable only...
>
>message="IS_DEV_HOME/is.dev.home variable
>is not set."/>
>
>-Rob Anderson
>
>
>> -
Forget about is.dev.home, you don't need it. Just use the environment
variable only...
-Rob Anderson
> -Original Message-
> From: Philip Swenson [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 13, 2007 1:06 PM
> To: user@ant.apache.org
> Subject: ant property not
On 4/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
This works for me:
'${is.dev.home}'
Ah, I forgot about that one! Thanks, it's simpler. Now that you
mention it, I think I've even used it in the past. Thanks Jan. --DD
-
This works for me:
'${is.dev.home}'
Jan
>-Ursprüngliche Nachricht-
>Von: Dominique Devienne [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 13. April 2007 23:18
>An: Ant Users List
>Betreff: Re: ant
On 4/13/07, Philip Swenson <[EMAIL PROTECTED]> wrote:
I have a property that is declared like this:
You must wrap your above inside a , to only set is.dev.home
when it's not already set, and only when IS_DEV_HOME env. var does
exist. Or use Ant-Contrib's to avoid the additional ,
with th
I have a property that is declared like this:
So if an environment variable is set then the value gets set. However if a
build.properties file exists, this value can be overridden in the properties
file like : is.dev.home=c:/blah
This works fine Howeverk, I want to validate t
ewvc/ant/core/trunk/docs/manual/CoreTasks/property.html?view=co
>-Ursprüngliche Nachricht-
>Von: Adeel Omer [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 19. Dezember 2006 20:29
>An: user@ant.apache.org
>Betreff: Ant Property Task - Environment Variables
>
>Hi,
Hi,
The Property task documentation (Ant 1.6.5) states that fetching
environment variables using the and
subsequently accessing environment variables using xyz.Env_Var is supported
on "select" operating systems.
Can anyone direct me to a listing of these "select" operating systems?
Thanks a lo
o load the generated property file after
having used
so
should do the job.
Regards,
Antoine
Original-Nachricht
Datum: Thu, 24 Aug 2006 14:39:32 -0500
Von: Ryan Sawatzky <[EMAIL PROTECTED]>
An: user@ant.apache.org
Betreff: Zero-Padding an Int Ant Property
,
Antoine
Original-Nachricht
Datum: Thu, 24 Aug 2006 14:39:32 -0500
Von: Ryan Sawatzky <[EMAIL PROTECTED]>
An: user@ant.apache.org
Betreff: Zero-Padding an Int Ant Property
> Hello all,
>
> I have an Ant property file that contains a project build number
> property. This
Hello all,
I have an Ant property file that contains a project build number
property. This build number is incremented every time the project is
compiled. I distribute my application as a versioned JAR file through
Web Start, and I want to append the build number to the name of my JAR
file
Stefan
Thanks for the reply; that answers my question perfectly.
Paul
-Original Message-
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 08, 2006 4:54 AM
To: user@ant.apache.org
Subject: Re: Ant Property Names
On Tue, 7 Feb 2006, Paul Duncan <[EMAIL PROTEC
On Tue, 7 Feb 2006, Paul Duncan <[EMAIL PROTECTED]> wrote:
> How long can an Ant Property name be?
No limit.
> What characters am I allowed to put in an Ant property name?
Any. But you won't be able to use a property whose name contains the
character } from inside your buil
Hello,
How long can an Ant Property name be? What characters am I allowed to
put in an Ant property name? I am setting Ant properties with names set
according to the values of macrodef attributes and want to ensure that I
will not potentially attempt to set an invalid name. I am using Ant
> Ok, I think the issue was that I had fixed my ANT file (which had been
> setting the param incorrectly) but there was some kind of up-to-date
> check, and since neither the source XML nor the XSLT files had changed
> the output xml wasn't getting regenerated.
Right. does a timestamp check. Use
Ok, I think the issue was that I had fixed my ANT file (which had been
setting the param incorrectly) but there was some kind of up-to-date
check, and since neither the source XML nor the XSLT files had changed
the output xml wasn't getting regenerated.
Dominique Devienne wrote:
I'm using the
> I'm using the XSLT task from within ANT; and can't seem to get the
> parameter to work as it seems it should.
>
> When I open the output xml; the params have been set to the strings
> "props.prop1" and "props.prop2" instead of the runtime values. Am I
> doing something wrong? Any help would be
I'm using ANT 1.6.5; Java 1.5.0_04; Win 2000 sp4.
I'm using the XSLT task from within ANT; and can't seem to get the
parameter to work as it seems it should. After trying to
look it up I haven't been able to find anything useful in explaining
it. Basically I have:
AW: Copy files according ant property
>
>[EMAIL PROTECTED] wrote:
>> Sure - it´s not in 1.6.5.
>> is in svn head and maybe in 1.7 - but I think we will
>> delete that task, especially because itself should now handle
>> nested s, because paths are ResourceCollecti
[EMAIL PROTECTED] wrote:
Sure - it´s not in 1.6.5.
is in svn head and maybe in 1.7 - but I think we will delete that task,
especially because itself
should now handle nested s, because paths are ResourceCollections. And
Stefan added that just yesterday :-)
hey, I use copypath.
---
--- [EMAIL PROTECTED] wrote:
> Sure - it´s not in 1.6.5.
> is in svn head and maybe in 1.7 - but I
> think we will delete that task, especially because
> itself
> should now handle nested s, because paths are
> ResourceCollections. And Stefan added that just
> yesterday :-)
IIRC copypath does h
cházka [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 29. September 2005 17:04
>An: Ant Users List
>Betreff: Re: Copy files according ant property
>
>Hi.
>
> I not found in documenation for version 1.6.5 :-(
>
>-- Original message --
Hi.
I not found in documenation for version 1.6.5 :-(
-- Original message --
From: Steve Loughran <[EMAIL PROTECTED]>
Subject: Copy files according ant property
Date: Tuesday, September 27, 2005, 6:57:56 PM
Attac
Tomáš Procházka wrote:
Hi.
S> There is some stuff in ant 1.7 to do it, specifically the
S> task copies all files in a path and no directories, and the task
S> itself is soon to be enhanced.
Thanks you. And when will be ANT 1.7 release?
there is no particular timetable, but I suspect
list
of files and directories, where list is set as property with items separated
with : or ;
-- Original message --
From: Steve Loughran <[EMAIL PROTECTED]>
Subject: Copy files according ant property
Date: Tuesday, Septem
Tomáš Procházka wrote:
Hi.
Netbeans set in project.properties classpath for project:
javac.classpath=\
${file.reference.hsqldb.jar}:\
${file.reference.dom4j-1.6.1.jar}:\
${libs.layoutext.classpath}:\
...
Exist any way to copy all this jar files to dist/lib folder?
Netbea
Hi.
Netbeans set in project.properties classpath for project:
javac.classpath=\
${file.reference.hsqldb.jar}:\
${file.reference.dom4j-1.6.1.jar}:\
${libs.layoutext.classpath}:\
...
Exist any way to copy all this jar files to dist/lib folder?
Netbeans use ':' as separating ch
"Ant Users List"
To
Ant Users List
cc
Subject
Re: AW: ant property
Why not to use a custom ANT build?
- Alexey.
Douglas Kramer wrote:
>
> Wish I could, but my application (MIF Doclet) currently overrides
> classes in tools.jar, so that's not an option. I must
Why not to use a custom ANT build?
- Alexey.
Douglas Kramer wrote:
Wish I could, but my application (MIF Doclet) currently overrides
classes in tools.jar, so that's not an option. I must be able
to set the classpath to MIFDoclet.class ahead of tools.jar
(which is ${run.classpath.javadoc}). Later,
James Fuller wrote:
Douglas Kramer wrote:
I'd like to set up my Ant script to load one set of paths
if I'm building on one machine and a different set of
paths when building on a another machine.
this can be achieved in a variety of ways;
Good, thanks.
In build.properties I have:
run.classpath.java
Douglas Kramer wrote:
I'd like to set up my Ant script to load one set of paths
if I'm building on one machine and a different set of
paths when building on a another machine.
this can be achieved in a variety of ways;
In build.properties I have:
run.classpath.javadoc="${JAVA_HOME}/lib/tools.jar"
r
I'd like to set up my Ant script to load one set of paths
if I'm building on one machine and a different set of
paths when building on a another machine.
In build.properties I have:
run.classpath.javadoc="${JAVA_HOME}/lib/tools.jar"
run.classpath.mifdoclet="${WORKDIR}/build/jar/mifdoclet.jar"
My sc
You can use the task of AntContrib or using
Rajiv Jaitly wrote:
Please read the disclaimer at the bottom of this e-mail.
Hi,
Is there any was in Ant to reset (assign a new value) a property that was set previously ? As i understa
verride them. Call your
target using antcall with the attribute inheritAll="false". Now within the
target override the values by reassigning them with new values.
- Sujeet
- Original Message -
From: "Rajiv Jaitly" <[EMAIL PROTECTED]>
To: "Ant Users List&
ajiv Jaitly" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Friday, February 25, 2005 7:11 PM
Subject: ant property
Please read the disclaimer at the bottom of this e-mail.
Please read the disclaimer at the bottom of this e-mail.
Hi,
Is there any was in Ant to reset (assign a new value) a property that was set
previously ? As i understand ant properties
Yves Martin <[EMAIL PROTECTED]> writes:
> Jacob Kjome <[EMAIL PROTECTED]> writes:
>
>> Quoting Matt Benson <[EMAIL PROTECTED]>:
>>
>>> http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
>>>
>>
>> This is not mentioned in the FAQ, but this can also be done in a properties
>> file
>>
Jacob Kjome <[EMAIL PROTECTED]> writes:
> Quoting Matt Benson <[EMAIL PROTECTED]>:
>
>> http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
>>
>
> This is not mentioned in the FAQ, but this can also be done in a properties
> file
> as follows...
>
> my.auto-deploy=$${${my.server}.au
an add it to the FAQ?
Jake
> -Matt
> --- Laran Evans <[EMAIL PROTECTED]> wrote:
>
> > Is it possible to escape ant property values?
> >
> > I'd like to do something like this:
> >
> > ---
> >
> >
> > > value="C:/bea/appl
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
-Matt
--- Laran Evans <[EMAIL PROTECTED]> wrote:
> Is it possible to escape ant property values?
>
> I'd like to do something like this:
>
> ---
>
>
> value="C:/bea/applications&qu
Is it possible to escape ant property values?
I'd like to do something like this:
---
---
Any suggestions?
--
Laran Evans - Cornell University
p: (607) 255-6864 f: (607) 255-0327
-
To unsubscribe, e-mail: [EMAIL PROTECTED
D]
Sent: Friday, November 05, 2004 11:14 AM
To: Ant Users List
Subject: RE: passing Ant property values to new build
> From: Casey Daniell [mailto:[EMAIL PROTECTED]
>
> for some reason if I pass in a value that is the same as the
> property name I am trying to use it doesn't evaluate t
> From: Casey Daniell [mailto:[EMAIL PROTECTED]
>
> for some reason if I pass in a value that is the same as the
> property name I am trying to use it doesn't evaluate the var
> properly. A bug perhaps? I am using ANT 1.6.2
Hmmm... Would you mind creating a small Ant snippet that demonstrates
tha
AM
To: [EMAIL PROTECTED]
Subject: AW: passing Ant property values to new build
Is the property set? Do a
$${tools.home}=${tools.home}
directly before the .
Jan
> -Ursprüngliche Nachricht-
> Von: Casey Daniell [mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 5. November 2
> From: Casey Daniell [mailto:[EMAIL PROTECTED]
> Here is the problem. I am have one ant script calling another via the
ant
> task. I want the value of a property to be transmitted to the new
build
> not
> the string literal itself.
>
> Ex.
>basedir == /foo (not in any syntax)
>
>
>
>
Is the property set? Do a
$${tools.home}=${tools.home}
directly before the .
Jan
> -Ursprüngliche Nachricht-
> Von: Casey Daniell [mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 5. November 2004 17:45
> An: '[EMAIL PROTECTED]'
> Betreff: passing Ant pro
All,
I am a long time ant user but for some reason I am stumped on this, maybe
its too early in the morning.
Here is the problem. I am have one ant script calling another via the ant
task. I want the value of a property to be transmitted to the new build not
the string literal itself.
Ex.
Hi All,
What is the scope of the property value in a build file.
I want to change the property value in between the build process.
For Example:
project name="Installation" default="run">
${count}
${count}
66 matches
Mail list logo