Solved

How to search a property file field in Eclipse workspace

Posted on 2014-03-11
4
582 Views
Last Modified: 2014-04-22
I am debugging a migrated web application .....in this web application , I have a property file under Eclipse project 's   src directory.

In the property file , I have few credentials. I want to find out  file name who is  reading  these fields.

I did a text search  for the credential fields   in Eclipse  Workspace...but did not find any text matches.

Now , Is there any way to find out if these fields are used in any JAR library ?  how to search ?
0
Comment
Question by:cofactor
  • 2
4 Comments
 
LVL 37

Expert Comment

by:zzynx
ID: 39922769
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 39922803
In the property file , I have few credentials. I want to find out  file name who is  reading  these fields.
Try commenting out the properties and look at which class throws an exception when it's run
0
 

Author Closing Comment

by:cofactor
ID: 40012239
Excellent
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 40015300
:)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
micro services spring boot application error 3 181
Oracle SQL syntax check  without executing 6 50
javap not working 8 43
servlet example 11 40
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now