The dev list is more appropriate for questions like this than the
users list which is designed for end users, not programmers.  More
comments inline below...

On Jan 2, 2008 10:10 PM, Jisakiel <[EMAIL PROTECTED]> wrote:
> Greetings. I've found some trouble while trying to build argouml from within
> eclipse following the cookbook instructions. Eclipse shows thousands of
> errors, and nothing gets build at all.
>
> I'm running ubuntu 7.10,

Most of the team runs Windows, but Eclipse is pretty platform
independent and I recently built ArgoUML on Ubuntu using Eclipse, so
that's not the issue.

> While taking a look at the particular errors it gives, I've find that most
> of them are related to not being able to resolve something to a type, and if
> I inspect, for instance, MetaTypesMDRImpl.java in package
> org.argouml.model.mdr, i see that most of the imports are unresolved, in
> particular those beginning by org.omg.uml .

The org.omg.uml.* code is generated from the UML metamodel by the Ant
build process (which is invoked, in turn, by the Eclipse builders).
Try cleaning and rebuilding the argouml-core-model-mdr project.

> (partially related: the only motive for building argo is trying the python
> import/export plugin, as I don't know how I'm I supposed to build it and
> it's quite undocumented... If someone knows

You don't need to build the core ArgoUML project to be able to build a
module like the Python module (although it can help with the
debuggin).

> - how to install it in the quickly-built install

Normally you would use

  build package

for the main argouml project and then

  build install
or
  build run

for the module

> - where to get a prepackaged version / jar of the python plugin
> - some other reverse-engineering tool for python which exports to uml, and
> *doesn't* require to specify what to reverse engineer manually -as pyreverse
> seems to need-

I guess I should have started answering from the end.  There is no
Python reverse engineering in that module and the Python code
generation appears to just be a stub that's had no commits made to it
other than the initial setup by Linus.

You will probably get quicker results by fixing PyReverse to do what
you want.  Alternatively you could look at reimplementing something
like php2xmi in Python.  If you are familiar with Python, you could
probably uses its reflection mechanism to output the desired XMI
skeleton relatively quickly, particularly for a simple class diagram.
The profile generator for ArchGenXML in Plone might be a good starting
point as well, since it has a simple XMI generator.

Hope this helps.  It should be simple to get ArgoUML built using
Eclipse, but, unfortunately, it doesn't sound like it will help you
make progress towards your goal.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to