Today I’ve finally tagged a bunch of code for the JEF Project. After about two years of apparent inactivity, mainly due to increasing activity on other projects (JTRunner i.e.) and at work, now I’ve been able to accomplish an important result.
With the next to come JEF 0.5 it is going to be possible to seamlessly move a chain of logic from one class to another, thus injecting behavior taken from a source Dna to a target.
This is one of the most important building blocks of the JEF Project, and finally we are getting closer and closer to the achievement.
At the moment there is no an official release for this code, but the CVS repository has been tagged so that it is possible downloading the code, for the ones who might be interested in trying it.
How to run the code?
Well, after having downloaded the tag from the CVS repository (take a look at the Links page) you can run the test launching the disconnectionTest Ant target, just like this:
%>ant disconnectionTest
After that take a look at the log/jefLog file: you can see the output of a class called SimpleClassE. The interesting thing is that this class had no methods before you ran JEF!
The methods that generated that log file have been copied from another class called SimpleClassD, and injected into SimpleClassE, all only working at the bytecode level.
And now?
Well, it is now time to relax for a couple of days, and then the code should be better organized: for now it is just a proof of concept ;)
F.