Hi,
I am trying to package my first java program (JOSM, a tool to use with http://www.openstreetmap.org). I got as far as patching it to build with fedora's javac, and now i want to create a spec file. Is there a sample one available? I can't find one in /etc/rpmdevtools/spectemplate-*.spec
Second question: where should i report any problems with the gcj java implementation?
Sander
Sander Hoentjen writes:
Second question: where should i report any problems with the gcj java implementation?
Here, and java@gcc.gnu.org.
Andrew.
On Wed, 2007-04-18 at 23:28 +0200, Sander Hoentjen wrote:
Hi,
I am trying to package my first java program (JOSM, a tool to use with http://www.openstreetmap.org). I got as far as patching it to build with fedora's javac, and now i want to create a spec file. Is there a sample one available? I can't find one in /etc/rpmdevtools/spectemplate-*.spec
Normally people just use existing spec files as a templates. The jogl spec file seems like a simple one that should be able to get you started:
http://cvs.fedora.redhat.com/viewcvs/devel/jogl/jogl.spec?root=extras&re...
Don't worry if you make any small mistakes as the the review process to get the package into Fedora will catch these things. More info about the review process can be found in the 'Packaging' section of this page:
http://fedoraproject.org/wiki/PackageMaintainers
And feel free to post anymore questions you have.
HTH, Ben
On Thu, 2007-04-19 at 18:53 +0900, Ben Konrath wrote:
On Wed, 2007-04-18 at 23:28 +0200, Sander Hoentjen wrote:
Hi,
I am trying to package my first java program (JOSM, a tool to use with http://www.openstreetmap.org). I got as far as patching it to build with fedora's javac, and now i want to create a spec file. Is there a sample one available? I can't find one in /etc/rpmdevtools/spectemplate-*.spec
Normally people just use existing spec files as a templates. The jogl spec file seems like a simple one that should be able to get you started:
http://cvs.fedora.redhat.com/viewcvs/devel/jogl/jogl.spec?root=extras&re...
Don't worry if you make any small mistakes as the the review process to get the package into Fedora will catch these things. More info about the review process can be found in the 'Packaging' section of this page:
http://fedoraproject.org/wiki/PackageMaintainers
And feel free to post anymore questions you have.
It sure helps, but I still think it would be nice to have a page like: http://fedoraproject.org/wiki/Packaging/Python or: http://fedoraproject.org/wiki/Packaging/Mono (yes i know, it is a wiki, but i don't feel comfortable enough to write something about it (yet))
Sander
On Fri, 2007-04-20 at 15:31 +0200, Sander Hoentjen wrote:
It sure helps, but I still think it would be nice to have a page like: http://fedoraproject.org/wiki/Packaging/Python or: http://fedoraproject.org/wiki/Packaging/Mono (yes i know, it is a wiki, but i don't feel comfortable enough to write something about it (yet))
I'll meet you half way. If you start the wiki page, I'll do the first edit to add / correct what I know.
Thanks, Ben
Hi,
* Sander Hoentjen sander@hoentjen.eu [2007-04-18 17:28]:
I got as far as patching it to build with fedora's javac
What did you have to do?
Andrew
On Thu, 2007-04-19 at 09:43 -0400, Andrew Overholt wrote:
Hi,
- Sander Hoentjen sander@hoentjen.eu [2007-04-18 17:28]:
I got as far as patching it to build with fedora's javac
What did you have to do?
Well the first problem is that there is a file: --------------------------------------------- public class UrlLabel extends JEditorPane implements HyperlinkListener {
private final String url;
public UrlLabel(String url) { this (url, url); }
public UrlLabel(String url, String description) { this.url = url; setContentType("text/html"); setText("<html><a href=""+url+"">"+description+"</a></html>"); setToolTipText(url); setEditable(false); setOpaque(false); addHyperlinkListener(this); } <SNIP> ------------------------------------ the setContentType line causes a null-pointer exception, so I commented out that line. Of course it should be fixed instead of commenting out, but without it at least i can test the program as a whole. What should I do to get this fixed? It seems the bug is in the java implementation, not the program, right?
Sander
java-devel@lists.fedoraproject.org