aspose file tools*
The moose likes Websphere and the fly likes Poperties file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Poperties file" Watch "Poperties file" New topic
Author

Poperties file

Faris A Saduli
Ranch Hand

Joined: Feb 22, 2005
Posts: 58
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

Joined: May 26, 2003
Posts: 30752
    
156

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Ed Wallen
Ranch Hand

Joined: Feb 11, 2002
Posts: 34
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
 
subject: Poperties file