Menu

OCL4Java / News: Recent posts

1.2.5

changes:

* fixed bug where assertion-style selection in annotation was ignored.
* fixed StackOverflow in user-defined Handler
* fixed typos and increased usefullness of warning-messages

Posted by Suran 2006-01-09

v1.2 and plugin 2.0

ocl4java:
important bugfix for bug #1298628 .
ThreadPoolOclCodeGenrator is deprecated as it meight not work well with nested classes/multiple type-definitions per file.
DeferredCodeGenerator used instead.
plugin:
lots of quickAssists added and bugfixed ocl4java used. type ctrl+1 to get all sorts of nifty assists when writing ocl-code.

Posted by Suran 2005-09-22

V1.1 and plugin v1.4

A but #1296135 was found and fixed in ocl4java 1.1 and the plugin now has better support for concurent editing by the builder and the user.

YOU ARE ADVISED TO UPDATE YOUR PLUGIN TO 1.4!!!

Posted by Suran 2005-09-20

Plugin v1.3.0

*added the first quick-Assists (access with ctrl+1)
*some speedup in the ocl-builder
beware not to edit the text while the builder is running on it!

Posted by Suran 2005-09-19

V1.0 released

It's been long enough without any non-minor bugs that we can call this release stable. Last changes include added localization and a listener for compile-errors.
The eclipse-plugin is pretty complete and it is planned to look into OCL-code-completion for it. It may have some problems with finding out the right class-path to use still, this wil lbe looked into.

Posted by Suran 2005-09-15

CVS-version: plugin ehanced

The cvs-version of the eclipse-plugin now has a preferences-page to select the assertion-style, some bugfixes and greatly improved speed and memory-footprint. It will probably be ready for release as a new beta tomorrow.

Posted by Suran 2005-09-14

Eclipse-Plugin!!!

Finally we got our eclipse-plugin working!
You can switch between automatic generation for the whole project (code is inserted using the incremental compiler.)
-> use the context-menu on the java-project for this.
and manuall insertion/removal for single classes
-> use the context-menu in the java-editor for this and look in the sub-menu "ocl"

Posted by Suran 2005-09-13

V1.0-RC3

* better handling of Enum-Declarations
* fixed a bug with @pre for assertion-style "java"
* code-cleanup around the AssertionStyle-Enum
* added missing -asertionStyle -parameter to cmdln--version
* removed some old debug-output

Posted by Suran 2005-09-08

v1.0-RC2

Apart from last cleanups for the 1.0-release
a last feature was added. You can have your
own handler for failed ocl-constraints and thus react in a
program-specific way to it. e.g. shut down a connection cleanly
and free ressources before shutting down a failed component.

Posted by Suran 2005-09-02

v1.0-RC1

We have become stable enough to aproach the 1.0 now :)
Here are the latest changes:
added an "example"-directory
more documentation in build.xml
bugfix in getOclName(jdt-Type) in handling primitivy types
post-check is inserted in void-methods as last statement again if they don't contain "return" or "throw"

Posted by Suran 2005-08-31

v0.14 major bugfix in handling @pre

I have made a major mistake in how @pre is handled
(it worked on primary expressions but broke how it should be for other expressions).
This has been corrected now. @pre should now work in all cases.

Posted by Suran 2005-08-30

v0.13

Now maps are handled (as sets because the runtime-code does that anyway).

Every ANY extends java.lang.Object (even interfaces do to make valid checks that would work on any implementation of it work).

many minor bugfixes.

on-demand import-statements (ending in .*) are resolved much better.

Multiple constraints may be given in one annotation.

Posted by Suran 2005-08-29

v0.12 heavy bugfixing in Dresden-code

now contains a some patched classes from ocllib
allowing size(),.. to be called as features on collection-classes.
The following constraint for example is now working:
@Constraint("post: assertedMethod.getBody().statements().size>assertedMethod@pre.getBody().statements().size";)

Also checks on return-values work again.
POST and INV are again checked for void-methods.
no iterator is created for non-collections in ocl-normalization.

Posted by Suran 2005-08-26

cvs-version patched ocllib

The cvs-version now contains a some patched classes from ocllib
allowing size(),.. to be called as features on collection-classes.
The following constraint for example is now working:
@Constraint("post: assertedMethod.getBody().statements().size>assertedMethod@pre.getBody().statements().size")

Also checks on return-values work again.

Posted by Suran 2005-08-26

v0.11 bugfixed

lots and lots of bugfixes.
First code to support nested classes and annotation/enumeration-types.
Much cleaner type-loading.

Posted by Suran 2005-08-25

v0.10

Context is automatically created from context of annotation in source-code if not given.
"\n" "\t",... is no longer removed from ocl for error-messages.
Some heavy debugging.

Posted by Suran 2005-08-24

cvs-version heavily debugged and creates Context

The CVS-version (upcomming v0.10) has seen come major debugging and code-style cleanup.
It also will now generate a "context"-line if the given ocl does not contain one.

Posted by Suran 2005-08-24

v0.9 @pre works in postconditions

Added experimental support for the "@pre"-expression in OCL-statements.
Bugfix: adds checking statement at end of void-classes.
CodeBeautifier knows IllegalStateException.
Some checkstyle-cleanups.

Posted by Suran 2005-08-23

v0.8 collection-bug fixed

The bug that .size .isEmpty,... of collections cannot be accessed is fixed in the cvs-version and the upcomming v0.8 .

Posted by Suran 2005-08-22

v0.7

We just did some further debugging and released the refactoring and general code-cleanup of the cvs-version.
There will be no updates for a few days because of my vacation.

Posted by Suran 2005-08-18

cvs-version debugged and refactored

The cvs-version fixes a bug im v0.6 that leads to an endless recursion if scanning superclasses.
It also has been refactored to separate ocl-parsing and jdt-manipukation into 2 much smaller classes.

Posted by Suran 2005-08-17

v0.6

comments and formatings now survive the generator.
linenumbers are not changed now.
OCL-statements from superclasses/interfaces are now used for overloaded/implemented methods

Posted by Suran 2005-08-17

csv-version does superclasses/interfaces

getting OCL-constraints for overridden/implemented methods from supertypes/interfaces now works in the CVS-version.

Posted by Suran 2005-08-17

v0.5 reflection,functions,static methods

Can fall back to Reflection if needed.
Generator runs on itself.
Can handle function-calls in OCL.
Some debugging.
Can work on static methods.

Posted by Suran 2005-08-16

cvs-version does commons-logging

The cvs-version is now able to output a message on apache commons-logging (error, warning or debug) as well as System,err, throw an Exception or use the java1.4 assert-statement.

Posted by Suran 2005-08-15
MongoDB Logo MongoDB