hi linus.

Linus Tolke schrieb:
Hello alexander!

In the repository layout, modules should never depend on, or copy files into argouml-app or argouml-build. argouml/src/argouml-app and argouml/src/argouml-build are considered "internal" in the argouml project and not exported to the modules.

Instead you should first build and install the argouml project (using the ant target "install" in the top of the argouml project, argouml/build.xml). Then the module can find its dependencies in argouml/build using the path ../argouml/build and should put its files in argouml/build/ext (on "install").
ah, great. didn't see the install target of ./argouml/build.xml

this clears things up ;)


The normal way to run (using targets "run" or "debug" in your module) is to set ../argouml/*.jar as your class path together with build/classes (that is referring to argouml-module/build/classes). If you use targets "run" from the main project you are required to have your files installed in the argouml/build/ext directory first.
ok, that makes sense, i'll fix my build.xml for it

thanks.

alexander

        /Linus

2008/7/5 alexander krohn <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:

    hi.

    in the module's install-target i'm now copying the libs to
    argouml-app/ which seems to work.

    but i still have to copy the module's jar by hand to
    argouml-build/build/ext/ which doesn't seem right.

    then i can run "ant debug" in argouml-build/ and get my module loaded.

    "ant run" seems to kill ext before it starts, so with this the
    module doesn't work(which seems wrong).

    argouml-build/build.xml has some commented lines to copy stuff
    from ext, but it only does for seq2.

    what's going there?

    regards,

    alexander

    alexander krohn schrieb:

        hi.

        i have a slight problem with the python-module.

        since it depends on some antlr-jars they have to put somewhere
        while running the install-target of argouml-python's build.xml

        what's the location for this?

        additionally they have to be put into the classpath when
        running argo with "ant debug".

        how to do this?

        thanks in advance.

        alexander



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



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




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

Reply via email to