| Author |
Is there a limited number of level to variable references in a property file ... ?
|
Thomas Smets
Ranch Hand
Joined: Dec 11, 2001
Posts: 111
|
|
Here is the problem, I like a project to have the following structure : See below. Now, my Build.xml (in this case 'TestBuild.xml') always referes to a property-file where most the properties are defined (One coul have gessed that !) It seems that I cannot use "variables" in the property file above a certain number... My property file is as follows : I, of course, created the directories on the FileSystem. I seems that I can never show the value of the variable ${src}... Can some one hint me towards the solution ? Here is the Build file : Outcome of the build is : [pre] Arguments: Shows all the system variables ******************************* basedir = C:\Program Files\IBM\WebSphere Studio\workspace\NimTest src = ${src} a = ${src}/a b = ${src}/a/b c = ${src}/a/b/c d = ${src}/a/b/c/d e = ${src}/a/b/c/d/e f = ${src}/a/b/c/d/e/f g = ${src}/a/b/c/d/e/f/g [/pre] Tia, \T, Tree command executed on the File system returns : [ October 21, 2003: Message edited by: Thomas SMETS ] [ October 21, 2003: Message edited by: Thomas SMETS ]
|
Thomas Smets
Just another developper
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
You have a typo in your properties file: scr = ${basedir}/source should be src = ${basedir}/source
|
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Is there a limited number of level to variable references in a property file ... ?
|
|
|