Hello Alexander! There is a set of different psf files. The argouml-build project is in a separate psf file called argouml-command-line-build-projectset.psf file. If this is not clear from the description in http://argouml.tigris.org/wiki/Team_Project_Set_Files_For_ArgoUML, please improve it!
The wiki page at http://argouml.tigris.org/wiki/Building_from_source describes the two file layout that are in place. The Repository layout is used (together with the manually maintained dependencies of build.xml (as in http://argouml.tigris.org/svn/argouml/trunk/build.xml) and build.xml (as in http://argouml.tigris.org/svn/argouml/trunk/src/argouml-build/build.xml) for the building of releases and the nightly build. For the nightly build, the modules are built according to rules in build.xml (as in http://argouml-gen.tigris.org/svn/argouml-gen/trunk/build.xml) and for the releases the modules are built according to rules in build-release.sh (as in http://argoumlinstaller.tigris.org/svn/argoumlinstaller/trunk/build-release.sh). Each "project" has its own build.xml. When building the built files end up in "project"/build. The Eclipse Layout is used by all developers check out, modify and run. There is a dependency between the psf files as you are experiencing and the dependencies are maintained by the PDE plugin in Eclipse and is stored either in .classpath or in META-INF/MANIFEST.MF. When building built files end up in "project"/build-eclipse. Appearantly there were some files that could not be built correctly from within Eclipse so some scripting were needed. Instead of reimplementing this in a way that fit Eclipse, we put this in the same build.xml file for each project so these files are complex in that they are set up for two distinct file layouts. The argouml-build psf file and the argouml-build project was initially conceived to allow the developers that check out using Eclipse but then want to use ant for the building and running tests instead of the Eclipse built-in functions. It is an complex mix between the two. How releases are done is described in http://argouml.tigris.org/wiki/Making_a_release. If you improve the argouml/argouml-java psfs you are in the Eclipse Layout. You are welcome to make improvements there. If you change ant script in the java module you are in the ant build world (essentially Repository layout) but because of the duality I guess you really need to know what you are doing not to break anything. If you use the psf files for checking out and then run builds, I think you are on the wrong track. The psf files are used to check out from within Eclipse. After that you use the Eclipse Configurations to Run, Debug etc. I suppose there is an Eclipse or PDE tool to export jar files from a project but I am sure it would be a mistake to involve our old ant build.xml files in that process. I think the best improvement would be to improve on the Eclipse setup and tools so that running and building from Eclipse is completely disconnected from the build.xml files. This will still mean that we have two separate sets of dependencies to maintain but at least, none of the files have dual roles. I tested the antlr tool in Eclipse to test this some time ago but I think it came with its own, newer version of antlr and didn't work with our old grammar so I gave it up. /Linus On Tue, Apr 20, 2010 at 1:21 PM, 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? > > ------------------------------------------------------ > > http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2590380 > > 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=2590750 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]]
