Yes, to use the build.xml files you need either the Repository layout or
some magic to make them work also in the Eclipse layout. I think it would be
better to use a separate set of files when running from within Eclipse (from
the Eclipse layout). It is most unfortunate that Eclipse doesn't have
built-in functions for configuring and running JUnit tests that are good
enough to make this pointless.

We did two moving around of the directories to make it fit with Eclipse and
they have taken us this far.  For the next tool that comes around I am now
even more determined to say that if a software build tool (like Eclipse or
Maven) requires you to move around your code instead of being configurable,
the tool is broken and should be fixed before using!

        /Linus



On Tue, Apr 20, 2010 at 5:22 PM, Tom Morris <[email protected]> wrote:

> On Tue, Apr 20, 2010 at 7:21 AM, Alexander Lepekhine <[email protected]>
> wrote:
> > Did anyone make a argouml project with java module from psf? When I tried
> to do this I found that argouml.psf does not contain "agrouml-build" module,
> needed by build.xml in java module, more over ant script in java module
> assumes argouml-build placed in other Eclipse workspace. Those questions
> came up to me when I explained one of my friend how to build argouml+java
> from repository. Nothing works smoothly without manual corrections. Is here
> any objections if I improve argouml/argouml-java psfs and change ant script
> in java module to make build easier? Or I did not catch something? Linus,
> can you describe how you make releases?
> >
>
> I believe the official stance is that you have to check out the SVN
> tree(s) twice, in two different layouts, and use separate build
> procedures, only building the Eclipse directory layout from within
> Eclipse and only building from the command line in the other tree.
>
> I actually ran into this again the other day when I was trying to run
> the tests for the C++ and Java modules.  The C++ build I was able to
> get running with just a couple line patch, but I ran out of time when
> looking at Java.  This would only help my private builds though, since
> these kinds of patches have already been rejected as inappropriate
> complexity.
>
> The original reason for the different layout for Eclipse was that
> Eclipse couldn't deal with projects that were nested in each other's
> directories or had overlapping directory structures.  I think some of
> these restrictions may have been relaxed since then.
>
> If argouml-build is missing from the PSF file though, that's just a
> bug that's separate from all the rest of this stuff.
>
> Tom
>
> ------------------------------------------------------
>
> http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2590559
>
> To unsubscribe from this discussion, e-mail: [
> [email protected]].
> To be allowed to post to the list contact the mailing list moderator,
> email: [[email protected]]
>

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2590773

To unsubscribe from this discussion, e-mail: 
[[email protected]].
To be allowed to post to the list contact the mailing list moderator, email: 
[[email protected]]

Reply via email to