Hi Holger, Thanks for your interest in ArgoEclipse. I'm in the process of putting together a headless kit build that can be run from the command line, which should help with a lot of this stuff, but I've included some additional answers in-line below...
> ---------- Forwarded message ---------- > From: [email protected] > To: [email protected] > Date: Mon, 26 Jan 2009 05:09:17 -0800 (PST) > Subject: problems with setup of development environment > Maybe there is someone who can help me a little bit with my problem... > I'm tried to setup up a development environment from scratch as described on > the Developer Info page. Everything is fine so far. I have an eclipse 3.4.1 > for the development and an eclipse 3.3.2 as the target environment. I'm > running with jre1.6 (also tried with 1.5 but only some warnings disappeared). > All libraries are available in the target environment. The download of > sources via .psf file also works fine. > > But now there are some issues I don't understand (or maybe I did something > wrong). > 1. The first build fails with 9 errors. All the "org.omg.uml" packages can > not be found. After saving the manifest of argouml-core-model-mdr without any > changes the next build works fine. > The code in those packages is generated by the Ant build from the UML metamodel. I have seen the problem that you describe in other contexts (e.g. a dependent library jar is changed) and the workaround that you discovered is the one that I use myself. I think it's a general Eclipse PDE quirk, but I haven't figured out any automated way (e.g. rerefreshing the project) to cure it. If any PDE experts have a solution, I'd love to hear it. > After the application was build with no errors I tried to export it as RCP > application. > 2. Several build.xml files are deleted. Any further build is not possible > without reverting changes to the workingcopy and restoring these files. (I > did a search in the web and found that this is some kind of feature of > eclipse. The build.xml is [re]created out of the build.properties and will be > deleted after the build process.) > Which projects were these for? We have a little bit of a hybrid situation in that a bunch of our code is from the standalone ArgoUML project which doesn't use the Eclipse PDE environment. It's possible that this is causing the conflict, but it's been a while since I've attempted an RCP build from the GUI, so I don't know off the top of my head. > 3. My first export of the RCP application was not successful. I got a zip > file with the logs. While looking through the logs I found the problem. The > test functions (fail, assertEqual...) are not defined for several TestTypes > in the sub-project argouml-core-model-mdr. I had to delete the package > org.argouml.model.mdr under tests in the sub-project to get it work. > This sounds like a missing dependency on JUnit, although arguably the tests shouldn't be included in the RCP build anyway. > 4. Once the export was finished I tried to start the ArgoEclipse.exe but an > error message came up "Unable to create perspective..... There is no > corresponding perspective extension." But running the application out of > eclipse ("ArgoEclipse RCP" launch configuration) works fine. > > I followed the instructions step by step to setup the environment but somehow > it does not work as I had expected... > Hopefully somebody is out there who can help me with these issues or even > explain what I did wrong or why this is maybe the right way to succeed. > > > Thanks in advance! > Holger Heller ------------------------------------------------------ http://argoeclipse.tigris.org/ds/viewMessage.do?dsForumId=5521&dsMessageId=1055228 To unsubscribe from this discussion, e-mail: [[email protected]].
