Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I'd like to package kelpie for fedora (I'm a packager already). However I don't have java experience. What I'd like to know is: how can I build kelpie entirely from source using only command line tools? I couldn't find any documentation on building kelpie from source. Google wasn't of help either (it looks to me like ant is not used, is that correct?)
You are correct. There is no ANT script to build from source. I have always just used the eclipse GUI tooling, although I know it is possible to create an ANT script to build.. I will look into this and see if I can make one for you.
That would be great! Thanks…
Let me know if I can help testing stuff…
I have just committed a set of ant build scripts and also a file BUILD.TXT that explains what is needed to run them. I am not sure how well that will fit with the Fedora way of building Java applications. Let me know if you would like things organised differently, or if you would like to change things about, please join the project here and add any modifications you think are required.
I have been able to test the linux-x86 and windows-x86 builds, but I don't have hardware to test the others but they should work, if there are no typos.
Also be aware of this bug, https://bugs.eclipse.org/bugs/show_bug.cgi?id=293720, that is currently effecting all Eclipse based application in Fedora 12.
I am also using the free ATI driver, which is barely working with OpenGL at the moment. I need to se the kernel pareamenter radeon.modeset=0 to get the application to run. See https://bugs.freedesktop.org/show_bug.cgi?id=25838
Thanks for working on this! I've just tried it: the good news is that the build itself went just fine. However, I get this error after a while:
/home/stefan/flightgear/native/fgfp/build.xml:79: Cannot perform operation from directory to file.
It tries to do this here:
However, there is no such directory. I've tried this with both the fedora packaged version as well as the eclipse-rcp-galileo-SR1-linux-gtk.tar.gz download from eclipse.org.
On a different note, although the publish target is great for making distributable tarballs, it's not quite ideal for packaging. Ideally, I'd like it to create the executable, along with one (or more) jars of fgfp itself. For the rest it should just use the system jars.
PS, it turns out that some requirements aren't yet packaged in fedora, most notably jogl. See https://bugzilla.redhat.com/show_bug.cgi?id=439630 and https://bugzilla.redhat.com/show_bug.cgi?id=439627. There is some recent movement there though, so I hope that will get cleared sometime soon…
The directory with all the launchers is in the Delta pack, http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/download.php?dropFile=eclipse-3.5.1-delta-pack.zip
which contains all the extra bits for each platform.
I understand what you mean by "just use the system jars" but I really have no idea how to do that. Because I built this using the Eclipse RCP platform the jars would need to be built as OSGI bundles (which is easy enough), but even then I don't know how I could get the application to find them. If you have any ideas, I would be happy to try them.
Getting closer, I now get an executable! It won't run however… during the splash screen, I get a dialog box pointing me to this file…
I'm also taking this to the fedora-devel-java mailing list. I'm new to java packaging, and it appears to become the first eclipse-rcp package in fedora. I could sure use some advice from experienced packagers!
I have also been out to the eclipse forums, http://www.eclipse.org/forums/index.php?t=msg&goto=505580. Some feedback but haven't had time to follow up with it yet.