thx.

sounds all very reasonable ;-)

regarding the goals: how can I skip that andromda recreates all the
sources from the model (e.g. I just played with the *Impl classes)
and only compile/repackage all the stuff?
maven -g shows _a lot_ of goals.

Jan


Am 23.01.2005 um 13:24 schrieb Wouter Zoons:



No, there is nothing special I want to do. I just want to have the
features
like code completition, my ide telling me that it's not a good idea to
instantiate an abstract class while I'm typing, the debugger etc.

Is there a meven target that only compiles the *Impl classes or
a target that does not go over the model again and just repackages
the ear? As long as I'm a beginner and far from understanding
most of the things I'm doing now, I make a lot of errors that take
quite long to fix because of the long turnarounds with maven.

[WZ> ] Well, it's very simple in fact: make sure all the directories
containing java files are registered as in the 'sources' tab (CTRL-ALT-S and
then select 'Paths' in the 'Project' tab)


For JSPs you'll probably want to do the same, but make sure you register the
taglib URIs, and tell IDEA where to find the actual TLDs (CTRL-ALT-S and
then select 'Resources' in the 'IDE' tab)


IntelliJ will auto-detect all sources when you create the project, but an
AndroMDA project contains all sources only when you have succesfully run
andromda on your UML model, so in case you didn't yet IntelliJ won't flag a
few directories as source directories (often because they don't exist yet,
such as /target/src)


I never use integration features available in an IDE because I never like
them (I am talking about stuff like starting a server etc..)
In the case of maven you will just need to call your goals and IntelliJ will
update the source cache automatically for you, code-completion will *always*
work (by default this is done, but make sure that when you press CTRL-ALT-S
and select 'General' on the 'IDE' tab that 'Synchronize files on frame
activation' has been checked)


That's how I'm using IDEA .. works like a charm.

-- Wouter




------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to