This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Poperties file

 
Faris A Saduli
Ranch Hand
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I need to create a property file to access single URL in different phases like TEST , QA, PRODUCTION environment in websphere.
Plz help me how to do it, i created on .properties file wht the next step.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33697
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Faris,
Now you have to point to the proper properties file at deployment time. Your choices:
1) Copy over the environment specific file into a common location.
2) Adjust the WAS classpath to include the environment specific file.
 
Ed Wallen
Ranch Hand
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use a Shared Library. Move the same .EAR from environment to environment, but keep you env specific properties files in the shared library. WAS will find them on the classpath as long as it is associated to your application (through the admin console).

-Ed
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic