Jason van Zyl wrote:
On Tue, 2005-10-25 at 18:02 -0700, Chad Brandon wrote:
Hello,
I'm currently writing am m2 plugin for AndroMDA
(http://www.andromda.org), at the moment our build is
based on m1, but I'll be converting that to m2
shortly. Anyway I have a question: how would I force
the "process-resources" phase to be called before the
"generate-sources" phase within my plugin? I need the
process-resources phase to happen before
generate-sources because we have a configuration file
(andromda.xml) that needs to have resource filtering
occur before its passed to the AndroMDA engine that
processes the model(s).
The default life cycle has a fixed ordering.
So you want to :
1) filter andromda.xml
2) generate sources from the filtered andomda.xml file
Exactly.
You have a template andromda.xml file that users can interpolate their
options into and then you generate sources from that?
Yep.
Just so I
understand what you're trying to do. You probably don't need to wrangle
with the life cycle.
In that case how do I cause the filtering of resources (i.e. the
"process-resources" phase) to occur before the generate-sources phase
(since my andromda:run goal is executed during that phase?).
Thanks again,
Chad
Thanks in advance,
Chad
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]