Post

3 followers Follow
0

Duplicate files in JEE analysis

When we are analyzing JEE application and have some duplicate JEE files, the JEE analyzer will analyze only one file whichever encounters first, also won't give any details about the skipping of duplicate files.

Because there is a duplicate removal inside JEE analyzer based on the file content.
When 2 files have the exact same content, only one will be analyzed and there is no impact on the analysis result.

Please sign in to leave a comment.

2 comments

0
Avatar

Hi Durgesh,

Is there a way we can get to know about these duplicate files during file discover step in DMT? Are we getting any message there?

 

0 votes
Comment actions Permalink
0
Avatar

Hi Veena,

DMT picks up the files on the basis of reference in a project file and doesnot get inside the content of file.

So suppose if A.project refers to B.java and C.java, given B.java and C.java has same content, they will be picked up by DMT.

 

However, during analysis JEE anlyser will take care of these file by ignoring one of the duplicate,

 

 

Thanks

0 votes
Comment actions Permalink