This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: trouble packaging jars
- From: mikel evins <mevins at me dot com>
- To: Alcides Flores Pineda <alcides dot fp at gmail dot com>
- Cc: mikel evins <mevins at me dot com>, kawa at sourceware dot org, per at bothner dot com
- Date: Tue, 06 May 2014 16:10:28 -0500
- Subject: Re: trouble packaging jars
- Authentication-results: sourceware.org; auth=none
- References: <B273D942-D3A5-48A9-A6CE-3A3B707F1AFF at me dot com> <m2siomhbig dot fsf at gmail dot com>
On May 6, 2014, at 3:56 PM, Alcides Flores Pineda <alcides.fp@gmail.com> wrote:
> I've written a little demo & proof of concept application here:
> - https://github.com/alcidesfp/swing-kawa
> to teach myself howto compile and create distributable jars with Kawa.
> Its a basic ("Hello World") GUI (Swing) application.
>
> Maybe the build.xml and the scripts there can help you and/or give you
> some ideas.
Woops. The build fails:
$ ant
Buildfile: /Volumes/ymra/Attic/Software/Languages/Scheme/kawa/swing-kawa/build.xml
BUILD FAILED
/Volumes/ymra/Attic/Software/Languages/Scheme/kawa/swing-kawa/build.xml:37: The entity name must immediately follow the '&' in the entity reference.
Total time: 0 seconds
So I found and fixed the ampersand and tried again. I see the same problem I've been having:
$ ant
Buildfile: /Volumes/ymra/Attic/Software/Languages/Scheme/kawa/swing-kawa/build.xml
gui:
[javac] Compiling 1 source file
[kawa] Error: Could not find or load main class kawa.repl
BUILD FAILED
/Volumes/ymra/Attic/Software/Languages/Scheme/kawa/swing-kawa/build.xml:44: Java returned: 1
Total time: 0 seconds
If your buildfile is really working, it suggests that I may have some local configuration issue. What version of ant and of the JDK are you using?