[dev] developing on Windows
Hello I have recently been able to get OOo to build on windows and have made a few hacks from the tutorials. I am now trying to figure out how I can work most efficiently in terms of make code change, rebuild, and run to view changes. What I have been doing is making my changes, rebuilding the particular module, then calling deliver -check to see what needs updating. Then I manually find those files in the source tree, search my development OOo install directory to find out where they belong, then manually copy them in. It seems to me that this process of manually locating files in two trees and copying between them is a big time waster and there must be a better way. I gather OOo cannot run from the source directory so some kind of scripted copying seems to be in order. Does anyone know of any tools that can do this? Am I missing something? Regards Robert Black
Re: [dev] developing on Windows
Robert Black schrieb: Hello I have recently been able to get OOo to build on windows and have made a few hacks from the tutorials. I am now trying to figure out how I can work most efficiently in terms of make code change, rebuild, and run to view changes. What I have been doing is making my changes, rebuilding the particular module, then calling deliver -check to see what needs updating. Then I manually find those files in the source tree, search my development OOo install directory to find out where they belong, then manually copy them in. It seems to me that this process of manually locating files in two trees and copying between them is a big time waster and there must be a better way. I gather OOo cannot run from the source directory so some kind of scripted copying seems to be in order. Does anyone know of any tools that can do this? Am I missing something? OOo does not run from a source directory, it must be installed. One might think that it should be possible to make OOo load libraries from the solver directory by starting the installed OOo from a shell and point the path variable of the shell to solver/wntmsci12/bin so that all modified and delivered libraries are found first. This indeed should work for most of the OOo libraries. IIRC in pre-3.0 times at least VCL, configmgr and the cppu library had to be located next to the executable file so that they couldn't be loaded from elsewhere. I don't know how this works nowadays in the 3 layer world, but I would assume that these libraries still are a little bit special. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to nospamfor...@gmx.de. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] developing on Windows
Thanks for your response Mathias I am not having much success unfortunately. I am a newbie on Cygwin so I assume I am doing something wrong. No matter what I do the dll in the working directory (install directory) always takes precedence over the newer dll in /solver/300/wntmsci12.pro/bin. I changed my the $PATH to something like: PATH=/cygdrive/d/dev/OOo_Builds/DEV300_m37/solver/300/ wntmsci12.pro/bin:/cygdrive/d/dev/OOo_Builds/DEV300_m37/solenv/bin:.: So now the period (working dir?) is after the solver directory. Does this achieve what you mentioned? If I delete the dll from the working directory then it will use the one from the solver but obviously this doesn't really achieve much... Also, I noticed that in the svx module I am hacking right now as a test it will not run writer at all without the dll's in the working directory (cuimi.dll, svxmi.dll). Regards Robert Black
Re: [dev] developing on Windows
I was thinking it might be a good time to write a tool that really closes this gap in the development process. Something simple, like run deliver, find out what files that it lists belong in the install directory, and copy them there. I thought ideally if someone could explain how the installer packages the files in solver\300\wntmsci12.pro with the correct relative path maps then this tool could just use that mapping to send them directly to the install directory. Alternately, a nice and quick but much hackier solution would be to just run a script that would search for the filenames of the list retrieved from deliver in the current install directory and replace the ones it finds. Would obviously run into trouble with duplicate filenames etc but I guess if just limits itself to the more significant file types like dll etc it would also be better than nothing. Does anyone have any thoughts on this? Regards Robert Black
[dev] new developer
Hi all, I am C++ programmer (I know Java programming language too) and I would like to contribute to OpenOffice.org. I am working on Linux system. I think, that I should start with bug fixing at the beginning. Or if you have any other ideas how can I help, please let me now. Thanks, Best regards, Martin - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] new developer
Hello Martin Welcome aboard!!! I am new myself and asked the same question when I started. The answer was yes that is a good way to get going. There are some tutorials here is you want to get started: http://wiki.services.openoffice.org/wiki/Tutorials OpenGrok is an excellent way to search the source code: http://svn.services.openoffice.org/opengrok/ Regards Robert Black 2009/1/1 Martin Mancuska b...@borg.sk Hi all, I am C++ programmer (I know Java programming language too) and I would like to contribute to OpenOffice.org. I am working on Linux system. I think, that I should start with bug fixing at the beginning. Or if you have any other ideas how can I help, please let me now. Thanks, Best regards, Martin - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] new developer
Max I have not heard of an intention to integrate a browser or messenger into OOo before. What OOo project is this associated with? Regards Robert Black 2009/1/1 M. Peterson petersonm...@googlemail.com Hello Robert and Martin we think, that OOo needs an Instant Messenger and a Browser. therefor we develop one each http://retromessenger.sf.net http://dooble.sf.net both is c++ and Qt, though retromessenger is as well wx gui dooble integrates a java search engine too Maybe I can add you to one of both projects? send me your SF.net ID Retromessenger Wx needs link cloud bugs tested and a Qt gui and maybe open office gui toolkit used Dooble will integrate RetroMessenger Qt and Nuntius leo Email client Qt needs PGP implementation... Join us, we are a nice team with senior developers as well Regards Max On Wed, Dec 31, 2008 at 11:18 PM, Martin Mancuska b...@borg.sk wrote: Hi all, I am C++ programmer (I know Java programming language too) and I would like to contribute to OpenOffice.org. I am working on Linux system. I think, that I should start with bug fixing at the beginning. Or if you have any other ideas how can I help, please let me now. Thanks, Best regards, Martin - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] developing on Windows
Hi Robert, Robert Black schrieb: I was thinking it might be a good time to write a tool that really closes this gap in the development process. Something simple, like run deliver, find out what files that it lists belong in the install directory, and copy them there. it is always the same files which change, so sth. as easy as this every time should be fine for Mac: cp unxmacxi/lib/lib* /PathtoSet/OpenOffice.org.app/Contents/basis-link/program/ for Windows, this would be sth. like: cp wntmsci12/lib/lib* /PathtoSet/OpenOffice.org3/Basis/program/ I guess deliver could be changed slightly as well, so it copies not only to solver, but to the target location as well. Regards Max - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org