Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7844305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:50:11+00:00 2026-06-02T16:50:11+00:00

I want to check whether some particular Java classes want to be commited. If

  • 0

I want to check whether some particular Java classes want to be commited. If so, I want to check if serialVersionUID is changed inside source of that particular class (new and old value).

How to do it? Any examples PLS.

Regards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T16:50:12+00:00Added an answer on June 2, 2026 at 4:50 pm

    You should be able to find plenty of examples on the web about setting up SVN hooks — here is the relevant chapter from the SVN book. Scroll down to Hook Scripts.

    As to detecting serialVersionUID I share similar views to Andrzej Doyle: if you’re parsing the source code, there will likely be cases where you’ll incorrectly detect it. However, your source code in question may be simple enough that it works 99% of the time — and the ramifications of getting it wrong may not be too disastrous. Only you know the answer to that.

    So, a really simple way to check for it (assuming a Linux/UNIX/Mac OS environment) is to use a shell script that uses grep to look for ‘serialVersionUID’. However, I can immediately think of a way this could detect a false positive: if an inner class declares it, a simple grep would detect it for the containing class (since we’re not parsing the file, we have no knowledge of the actual class structure inside).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

String urlString=http://myApp:8080/new/bin/save/SellerMyPage/WebHome i want to check whether above string contains the string MyPage between
Every two minutes i want to check whether i received some message so want
I have a script that is intended to check whether some value (e.g. option
I have a for loop that check whether some checkboxes are checked foreach (CheckBox
I want to check whether a particular row in tree widget have parent and
I need to check whether document element value is changed after particular operation using
How can I check that whether mouse pointer is pointing a button or some
I want to check whether a string is a file name (name DOT ext)
I want to check whether a Tag (Case-Sensitive) exists in SQL Server 2005 table
I want to check whether or not a cookie is set with every page

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.