like
${foo.APPLICATION_GUID}
I am afraid echoing is also returning the same junk/incorrect chars.
In that case build.properties most likely is not ISO-8859-1 encoded, no
matter what your Firefox says 8-)
Can you perform a binary diff of the Windows and Linux generated files?
If the file h
ars for its value.
>> Does Ant's built-in property task (maybe using a prefix) work?
>> Something like
>>
>> ${foo.APPLICATION_GUID}
> I am afraid echoing is also returning the same junk/incorrect chars.
In that case build.properties most likely is not ISO-8859-1 e
On 4/23/2012 1:53 PM, Stefan Bodewig wrote:
On 2012-04-21, Lokesh Jain wrote:
But on a CentOS box, the same property is read by the task program
along with some junk unicode chars. Consequently, the strings do not
match which affects some of the internal logic of the ant task.
What is "the tas
On 2012-04-21, Lokesh Jain wrote:
> But on a CentOS box, the same property is read by the task program
> along with some junk unicode chars. Consequently, the strings do not
> match which affects some of the internal logic of the ant task.
What is "the task programm"? And how does it read the pr
I doubly checked, the build.properties file is encoded in ISO 8859-1 for
both Windows and Linux installations. For a consistent check, I used
Mozilla Firefox -> View Page Info option.
-Lokesh
On 4/22/2012 10:26 PM, Stefan Bodewig wrote:
On 2012-04-21, Lokesh Jain wrote:
Thank you for y
On 2012-04-21, Lokesh Jain wrote:
> Thank you for your suggestion, but I think the sample chars I used -
> "ÀÁÂ", can be directly represented in ISO 8859-1, so it should not be
> this problem.
The question is not whether the characters can be represented in
ISO-8859-1 but rather whether they are.
h reads certain properties from
build.properties and exports applications based on that.
name="exportApplication" classpathref="proj.lib"/>
applicationVersion="${APPLICATION_VERSION}"
exportLocation="${APPLICATION_EXPORT_DIR}"
rtain properties from
build.properties and exports applications based on that.
name="exportApplication" classpathref="proj.lib"/>
applicationVersion="${APPLICATION_VERSION}"
exportLocation="${APPLICATION_EXPORT_DIR}"/>
The pro
Forgot to mention...
If instead of using build.properties file, I directly add the property
like -DAPPLICATION_GUID=HELLOÀÁÂ, it works even in the CentOS box.
However, I would still like to be able to do this with the properties
file for obvious reasons.
-Lokesh
On 4/21/2012 1:31 PM, Lokesh
Hi,
I have a custom ant task which reads certain properties from
build.properties and exports applications based on that.
name="exportApplication" classpathref="proj.lib"/>
applicationVersion="${APPLICATION_VERSION}"
exportL
On 2011-11-03, Vinodh Kumar wrote:
> I trying to load the property release.dir set in build.xml into
> build.properties during runtime. But the value is not loaded into
> build.properties file. Any hint or can anyone let me know how to get this
> done?
Hi,
I trying to load the property release.dir set in build.xml into
build.properties during runtime. But the value is not loaded into
build.properties file. Any hint or can anyone let me know how to get this
done?
*build.xml*
/
/
*build.properties
cvsusr
> An: user@ant.apache.org
> Betreff: dynamic build.properties
>
> Hi
>
> I have a requirement where I need to build for each jobname provided.
>
> I am taking the jobnames from cvs update and storing it in a text file..
> "job.txt"
>
> As of
Hi
I have a requirement where I need to build for each jobname provided.
I am taking the jobnames from cvs update and storing it in a text file..
"job.txt"
As of now i gave a variable name in build.properties as
jobname=job1
when it is one jobname there wont be issue.. when ther
Suggestion in build.properties
On 2009-08-06, Rajesh Kumar (IN4774)
wrote:
> Any Workaround for below issues.
Well, you don't give a lot of detail. For example what "doesn't work"
means.
> I am trying to use variable defined in build.properties file in
> Solaris Ma
>
>
I think someone has already suggested you to get rid of the dot ".", before
the build.properties file name above.
PS: Mailing this question only to the user list should have been just as
fine.
Cheers
Avlesh
On Thu, Aug 6, 2009 at 12:01 PM, Rajesh Kumar (IN47
On 2009-08-06, Rajesh Kumar (IN4774) wrote:
> Any Workaround for below issues.
Well, you don't give a lot of detail. For example what "doesn't work"
means.
> I am trying to use variable defined in build.properties file in
> Solaris Machine but below script is no
Any Workaround for below issues.
Rajesh
From: Rajesh Kumar (IN4774)
Sent: Wednesday, August 05, 2009 4:51 PM
To: 'Ant Users List'
Subject: Need Suggestion in build.properties
I am trying to use variable defined in build.properties file in Solaris Machine
but below script is n
rather than
On Wed, Aug 5, 2009 at 3:37 PM, Haiqi Wei wrote:
> works for me.
>
> -Haiqi.
>
>
> On Wed, Aug 5, 2009 at 6:20 AM, Rajesh Kumar (IN4774) <
> rajesh_kum...@mindtree.com> wrote:
>
> > I am trying to use variable defined in build.properties f
works for me.
-Haiqi.
On Wed, Aug 5, 2009 at 6:20 AM, Rajesh Kumar (IN4774) <
rajesh_kum...@mindtree.com> wrote:
> I am trying to use variable defined in build.properties file in Solaris
> Machine but below script is not working
>
>
>
> Please sugges
On Wed, Aug 5, 2009 at 7:20 AM, Rajesh Kumar (IN4774) <
rajesh_kum...@mindtree.com> wrote:
> I am trying to use variable defined in build.properties file in Solaris
> Machine but below script is not working
>
>
>
Do you mean "*.*build.properties" (note
try removing the dot before build. Might help
On Wed, Aug 5, 2009 at 12:20 PM, Rajesh Kumar (IN4774) <
rajesh_kum...@mindtree.com> wrote:
> I am trying to use variable defined in build.properties file in Solaris
> Machine but below script is not working
>
>
>
> Ple
I am trying to use variable defined in build.properties file in Solaris Machine
but below script is not working
Please suggest.
Regards,
Rajesh
http://www.mindtree.com/email/disclaimer.html
Dominique Devienne wrote:
On Mon, Jul 21, 2008 at 9:59 AM, Dimitris Mouchritsas
<[EMAIL PROTECTED]
What do you think?
Why not simply
Property log4j.lib.dir must be set
Property log4j.jar must be set
etc...
And wrap this into a macro allowing to call as as ?
Only difference is that y
On Mon, Jul 21, 2008 at 9:59 AM, Dimitris Mouchritsas
<[EMAIL PROTECTED]
> What do you think?
Why not simply
Property log4j.lib.dir must be set
Property log4j.jar must be set
etc...
And wrap this into a macro allowing to call as as ?
Only difference is that you can't easily all the properties n
Gilbert Rebhan wrote:
Dimitris Mouchritsas schrieb:
What I'd like to accomplish is checking if build.properties exists
(which loadproperties ensures) and
then check to see if a set of properties is set. If a property is
missing I'd like to display a message with
the name of th
A properties file is a standard Java properties file...
Basically,
name = value
pairs ;)
On Mon, 16 Jun 2008, [EMAIL PROTECTED] wrote:
Hi all,
Can anyone please give me the sample build. properties file. I need to
understand the syntax of the same.
Please help
Regards
Irfan.
You try to read the build.properties file:
from the location that is unknown, because ${output} is not defined at
the moment the properties file is being read.
If your build.properties file is in the current directory, just use
.
-Ognjen
[EMAIL PROTECTED] wrote:
Hi,
Thank you for
build.properties file
[EMAIL PROTECTED] wrote:
> Can anyone please give me the sample build. properties file. I need to
> understand the syntax of the same.
There is nothing special about build.properties file. Just the textual
name-value pairs, someting like:
src=src
build=bin
deploy=/usl/local/
[EMAIL PROTECTED] wrote:
Can anyone please give me the sample build. properties file. I need to
understand the syntax of the same.
There is nothing special about build.properties file. Just the textual
name-value pairs, someting like:
src=src
build=bin
deploy=/usl/local/tomcat/webapps
and
Hi all,
Can anyone please give me the sample build. properties file. I need to
understand the syntax of the same.
Please help
Regards
Irfan.
Dimitris Mouchritsas schrieb:
What I'd like to accomplish is checking if build.properties exists
(which loadproperties ensures) and
then check to see if a set of properties is set. If a property is
missing I'd like to display a message with
the name of the property missing.
Wha
comparing that build.properties has all of the
sample_build.properties set.
Is there another way or should I start looking into writing my own task?
What I'd like to accomplish is checking if build.properties exists
(which loadproperties ensures) and
then check to see if a set of properti
Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121
-Ursprüngliche Nachricht-
Von: Dimitris Mouchritsas [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 21. Mai 2008 16:37
An: Ant Users List
Betreff: Re: Checking for build.properties and properties upon initialization
Dimitris Mouchritsas
Dimitris Mouchritsas wrote:
Hi everyone.
I'm trying to create a sample project to test if the build.properties
file exists and if the required properties are set
upon initialization. But I'm not quite sure if I use correctly the
condition task. This is what I've come up
Hi everyone.
I'm trying to create a sample project to test if the build.properties
file exists and if the required properties are set
upon initialization. But I'm not quite sure if I use correctly the
condition task. This is what I've come up
>> Is this possible to use multiple properties file for my build,i mean
>> rather than using a single build.properties file for my build i want
>> to divide my property file into multiple files and want to use them
>> depending on some condition being meet.
>>
Hello,
What do you mean by 'refer to' ?
Don't you use to load 'build.properties' ?
You can load any number of property files you need, see
http://ant.apache.org/manual/CoreTasks/property.html
MAT.
ashish shrivastava a écrit :
Hi,
Is this possible to use multip
Hi,
Is this possible to use multiple properties file for my build,i mean rather
than using a single build.properties file for my build i want to divide my
property file into multiple files and want to use them depending on some
condition being meet.
My build.xml is calling other build files .how
Mathieu,
Thanks for your answer it works. I am posting my code here just in case
anyone else is looking for this solution.
in my build.properties file i put the ant-contrib.jar file
ant-contrib.jar=/path/to/ant-contrib.jar
Then in my build.xml file i have the following code
Hello,
Edward Mann a écrit :
(...)
(...)
Right here you probably want instead something like
However you cannot do this as the properties are only evaluated once.
To solve this you can use the task from ant-contrib :
http://ant-contrib.sourceforge.net/ta
eTasks/input.html.
> As for concatenating user input with ".home", you can do
>
>
> Edward Mann <[EMAIL PROTECTED]> wrote:
> I am trying to build an and build process where the user will run ant
> and it will prompt them for the project. The projects are held
ant
and it will prompt them for the project. The projects are held in the
build.properties file.
They look like this.
project1.home=/my/project/dev1
project2.home=/my/project/dev2
There are other things in the file but this is all the user will ever
edit. What i want is for the users to type in
I am trying to build an and build process where the user will run ant
and it will prompt them for the project. The projects are held in the
build.properties file.
They look like this.
project1.home=/my/project/dev1
project2.home=/my/project/dev2
There are other things in the file but this is
#x27;"
cc: <[EMAIL PROTECTED]>, (bcc: prashanth.l/Polaris)
Subject:RE: build.properties
jan Thanks a lot for info.
imagine if buil.xml and buil.properties are in path
F:\tsource\ant
My Web application is in path.
F:/oc4j_extended/j2ee/home/applications
Af
e basedir set in the project
tag. It is common practise to have the build.xml and build.properties in
or near the tree containing the source, unlike the example you gave
above. If you do require them to be separate, using an absolute path, or
a relative path concatenated onto an environment variable may
rom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 5:29 PM
To: user@ant.apache.org
Subject: AW: build.properties
Ant cant find the property file because you set the basedir="../"
Jan
>-Ursprüngliche Nachricht-
>Von: Raghuveer [mailto:[EMAIL PR
>What do u mean by
>>>Inside the buildfile you have
>>>
>>>and with property files you load these mappings
>>>
>>>NAME=VALUE # COMMENT
>
>Jan Can u elobrate ?
http://ant.apache.org/manual/CoreTasks/property.html
Jan
-
T
Ant cant find the property file because you set the basedir="../"
Jan
>-Ursprüngliche Nachricht-
>Von: Raghuveer [mailto:[EMAIL PROTECTED]
>Gesendet: Mittwoch, 28. Juni 2006 13:40
>An: 'Ant Users List'
>Betreff: RE: build.properties
>
>I made
June 28, 2006 1:06 PM
To: user@ant.apache.org; [EMAIL PROTECTED]
Subject: AW: build.properties
>In my build.xml if i want to get the the value of
>"distpath.project" (path of my web application context in OC4J
>server) from build.properties
I made follwoing changes
In build.properties
-
project.title=Test Web Application
project.version = 1.3
distpath.project = F:/oc4j_extended/j2ee/home/applications
In build.xml
-
${project.title}
${project.version}
${distpath.project
>In my build.xml if i want to get the the value of
>"distpath.project" (path of my web application context in OC4J
>server) from build.properties .
>
>What Changes i need to avil this requirement ?
>
>-
>
>
>
>
>
>
In my build.xml if i want to get the the value of "distpath.project" (path
of my web application context in OC4J server)
from build.properties .
What Changes i need to avil this r
In What way the build.properties is usefull.
path,project name ,war file name i want to move to properties file.
So that it would be convienent when required to modify in property file
rather then in build.xml.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent
>basedir="F:/oc4j_extended/j2ee/home/applications/acs/"
>default="all">
>
>What changes i need to do in order to make the path in
>"basedir" in buil.xml to move to build.properties file
You cant.
But you shouldnt use absolute paths - with that
I have following project in build.xml
What changes i need to do in order to make the path in "basedir" in buil.xml
to move to build.properties file
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
out screwing up
> build.properties format
>
> I have a build.properties file that contains my build.number
> property.
> Part of my build is updating that number by one on each build using:
>
>
>pattern=""
> type="int" />
>
>
> It does wh
rward marching build number
Later,
Ninju
- Original Message
From: Matthew Hughes <[EMAIL PROTECTED]>
To: user@ant.apache.org
Sent: Tuesday, February 14, 2006 1:07:23 PM
Subject: How to update build number without screwing up build.properties format
I have a build.proper
I have a build.properties file that contains my build.number property.
Part of my build is updating that number by one on each build using:
type="int" />
It does what it needs to do, but it also reorders all the other
properties in the file. I have a lot of properties in
That worked. Thanks!
Dominique Devienne wrote:
From: Jonathan Wilson [mailto:[EMAIL PROTECTED]
I've got a build.properties in the same directory as build.xml:
value="/home/jblow/java/javamail/javamail-1.3/mail.jar"/>
value="/home/jblow/java/javamail/jaf-1.0.2/activati
> From: Jonathan Wilson [mailto:[EMAIL PROTECTED]
>
> I've got a build.properties in the same directory as build.xml:
> value="/home/jblow/java/javamail/javamail-1.3/mail.jar"/>
> value="/home/jblow/java/javamail/jaf-1.0.2/activation.jar"/>
> v
Gotta be a simple thing - I'm just not hitting the right verbage to find
a relevant entry in the archives:
I've got a build.properties in the same directory as build.xml:
I've got the default TC5 ant build.xml which I've modified a bit, but it
still does the followin
62 matches
Mail list logo