cisumma 0 Newbie Poster

ViewResources.properties
Hello I have a a properties sheet I would like to know how to make bookMarkDB.home
reference other properties from the ViewResources.properties sheet below.
how can "bookMarkDB.home" create a systemDir by using the properties already defined?

The only example I have seen uses $ but I have no clue.

thanks.

[code]

systemFolder.targetFolders.dir=LoginInfo.getTargetFolderSystemDir()
systemFolder.ser.dir=LoginInfo.getSystemFolderSystemDir()
bookMarkDB.name=bookMarkDB.xml
bookMarkDB.dir=bookMarkDB
bookMarkDB.home=$(ViewResources.systemFolder.targetFolders.dir)+File.separator+$(ViewResources.bookMarkDB.dir)+File.separator+$(ViewResources.bookMarkDB.name);

[/code]

I also use xml properties is there a way to use xml and reference properties that
have been defined already?>

[code]

<entry key="studentInstrumentByUserName">foo.info</entry>

[/code]

is it possible to define another xml property that would somehow include studentInstrumentByUserName ?

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.