hi Chad, I was able yesterday to have the OCL to Java translator running on the examples from the OCL book (www.klasse.nl), they all pass the tests, so that's good.
What's left to do: 1. implement OCLExpressions and OCLCollections (java classes) to handle all expressions operators and collection features from OCL 2. we need a way to extract the inv, post and pre declarations from an OCL fragment because we need them at different places when integrating them with AndroMDA 3. adjust the templates for local caching of values, calling validation routines at method entry and exit (pre/post) Working this way with OCL gave me an idea, do you think we could generate junit test cases from OCL ? I mean, if you know the pre/post-conditions (no invariants for operations) it should be straightforward to move to test cases. Especially since test cases simply check the contracts we could generate fully working tests with dummy data, don't you think ? The next step could be of course to have an OCL to English translator that simply reads the constraints and expresses them in a human readable way. (Unfortunately it will be tricky to i18n this, because the order and construction of phrases is different for each language). Anyway, I will take a look at this if I have some extra time. comments ? -- Wouter __________________________________________________________________ Introducing the New Netscape Internet Service. Only $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel