Insert serialVersionUID with ANT

Is it possible to use an ANT task to insert the serialVersionUID property into all classes that implement Serializable?

I would like to be able to keep a list of classes vs SUIDs and use that to insert values.

Currently the source code does not have teh serialVersionUID set.

Answers


The Apache Ant External Tools and Tasks site has a SerialVer Task listed.


Need Your Help

How to enhance attr_accessor in ruby?

ruby attributes metaprogramming attr-accessor

I want to implement a (class) method attr_accessor_with_client_reset, which does the same thing as attr_accessor, but on every writer it additionally executes

How do I document a custom LLDB command (alias)?

xcode gdb lldb

In GDB (typically in .gdbinit file) I use to document my added custom commands like this :

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.