Re: Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-24 Thread Lokesh Jain
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

Re: Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-23 Thread Stefan Bodewig
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

Re: Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-23 Thread Lokesh Jain
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

Re: Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-23 Thread Stefan Bodewig
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

Re: Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-22 Thread Lokesh Jain
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

Re: Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-22 Thread Stefan Bodewig
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.

Re: Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-21 Thread Lokesh Jain
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}"

Re: Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-21 Thread Jarek Czekalski
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

Re: Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-21 Thread Lokesh Jain
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

Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-21 Thread Lokesh Jain
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

Re: Load property value from build.xml to build.properties

2011-11-04 Thread Stefan Bodewig
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?

Load property value from build.xml to build.properties

2011-11-04 Thread Vinodh Kumar
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

Re: dynamic build.properties

2009-11-09 Thread Antoine Levy-Lambert
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

dynamic build.properties

2009-11-09 Thread cvsusr
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

RE: Need Suggestion in build.properties

2009-08-06 Thread Sharma, Jaikumar
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

Re: Need Suggestion in build.properties

2009-08-06 Thread Avlesh Singh
> > 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

Re: Need Suggestion in build.properties

2009-08-06 Thread Stefan Bodewig
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

RE: Need Suggestion in build.properties

2009-08-06 Thread Rajesh Kumar (IN4774)
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

Re: Need Suggestion in build.properties

2009-08-05 Thread Chris Green
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

Re: Need Suggestion in build.properties

2009-08-05 Thread Haiqi Wei
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

Re: Need Suggestion in build.properties

2009-08-05 Thread David Weintraub
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

Re: Need Suggestion in build.properties

2009-08-05 Thread Chris Green
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

Need Suggestion in build.properties

2009-08-05 Thread Rajesh Kumar (IN4774)
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

Re: AW: Checking for build.properties and properties upon initialization

2008-07-22 Thread Dimitris Mouchritsas
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

Re: AW: Checking for build.properties and properties upon initialization

2008-07-21 Thread Dominique Devienne
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

Re: AW: Checking for build.properties and properties upon initialization

2008-07-21 Thread Dimitris Mouchritsas
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

Re: Sample build.properties file

2008-06-16 Thread Scot P. Floess
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.

Re: Sample build.properties file

2008-06-16 Thread Ognjen Blagojevic
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

RE: Sample build.properties file

2008-06-16 Thread Irfan.Sayed
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/

Re: Sample build.properties file

2008-06-16 Thread Ognjen Blagojevic
[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

Sample build.properties file

2008-06-16 Thread Irfan.Sayed
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.

Re: AW: Checking for build.properties and properties upon initialization

2008-05-21 Thread Gilbert Rebhan
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

Re: AW: Checking for build.properties and properties upon initialization

2008-05-21 Thread Dimitris Mouchritsas
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

AW: Checking for build.properties and properties upon initialization

2008-05-21 Thread Knuplesch, Juergen
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

Re: Checking for build.properties and properties upon initialization

2008-05-21 Thread 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

Checking for build.properties and properties upon initialization

2008-05-21 Thread Dimitris Mouchritsas
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

AW: how yo use multiple build.properties file

2007-01-12 Thread Jan.Materne
>> 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. >>

Re: how yo use multiple build.properties file

2007-01-11 Thread Mathieu Champlon
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

how yo use multiple build.properties file

2007-01-11 Thread ashish shrivastava
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

Re: build.properties input select

2006-10-14 Thread Edward Mann
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

Re: build.properties input select

2006-10-14 Thread Mathieu Champlon
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

Re: build.properties input select

2006-10-13 Thread Edward Mann
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

Re: build.properties input select

2006-10-13 Thread Sean \(Xuong\) Phu
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

build.properties input select

2006-10-13 Thread Edward Mann
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

RE: build.properties

2006-06-28 Thread prashanth . l
#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

RE: build.properties

2006-06-28 Thread Ben Stringer
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

RE: build.properties

2006-06-28 Thread Raghuveer
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

AW: build.properties

2006-06-28 Thread Jan.Materne
>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

AW: build.properties

2006-06-28 Thread Jan.Materne
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

RE: build.properties

2006-06-28 Thread Raghuveer
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

RE: build.properties

2006-06-28 Thread Raghuveer
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

AW: build.properties

2006-06-28 Thread Jan.Materne
>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 ? > >- > > > > > >

build.properties

2006-06-28 Thread Raghuveer
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

RE: build.properties

2006-06-13 Thread Raghuveer
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

AW: build.properties

2006-06-13 Thread Jan.Materne
>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

build.properties

2006-06-13 Thread Raghuveer
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

RE: How to update build number without screwing up build.properties format

2006-02-21 Thread Anderson, Rob (Global Trade)
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

Re: How to update build number without screwing up build.properties format

2006-02-14 Thread Ninju Bohra
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

How to update build number without screwing up build.properties format

2006-02-14 Thread Matthew Hughes
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

Re: Property is set in build.properties(along with others) but catalina.home isn't set within main script

2004-10-20 Thread Jonathan Wilson
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

RE: Property is set in build.properties(along with others) but catalina.home isn't set within main script

2004-10-20 Thread Dominique Devienne
> 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

Property is set in build.properties(along with others) but catalina.home isn't set within main script

2004-10-20 Thread Jonathan Wilson
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