Matthias Bohlen wrote:

Hallo Chad,

Thursday, September 8, 2005, 3:16:40 PM, you wrote:

Now, I did not yet know how to run that transformation from a Maven
script because there is no Maven plug-in for ATL, yet.
CB> You're right, there is no plugin, but I''m not sure if there should be a
CB> plugin as the transformations will be run inside andromda typically, for
CB> now until we integrate the transformers with the core, I think just
CB> running it from a test case is the best thing.

Yes, you're right. The ATL plug-in will not be needed in production.
So, all we need is a configurable test case to run multiple
transformation configurations.

By the way: These test cases will need to find the UML metamodel. I'd
like to load it from our uml14-di.jar, not from an XMI file. Is that
possible with ATL?
Sure...should be easy enough, just find the metamodel XMI as a resource (i.e. ATLTransformerTest.class.getResource("/metamodel.xmi")) and pass that in (you'll see in the ATLTransformerTest, I'm doing that with resources on the classpath).

The second problem is that the test model references our
andromda-profile.xml.zip file - a fact that will disturb ATL when it
tries to load the model to be transformed.

CB> Sounds like ATL needs to be able to find out where modules reside
CB> as well, I'll try out your sample and see what happens.

Very good. Thanks.

Matthias


---

Matthias Bohlen
Beratung, Schulung, Coaching für IT-Projekte

Internet:
  http://www.mbohlen.de/
  [EMAIL PROTECTED]








-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

Reply via email to