Help with java problem: ant vs eclipse

Susi Lehtola jussilehtola at fedoraproject.org
Fri Mar 29 13:15:31 UTC 2013


Hi,


I'm trying to update JMol to the version 13 series, but this requires
the introducion of a couple other packages in Fedora. However, I've run
into problems with jspecview [1] - for some reason I can't get it to
build a proper jar file, some classes always end up missing.

This is a rather odd problem, as if I build the thing in Eclipse as
upstream does (still using ant!), I get a working jar file.

I hope someone can help me in getting the package to build. The
instructions sent by upstream for building the package in Eclipse are
below (you need to install eclipse-subclipse).

[1] https://bugzilla.redhat.com/show_bug.cgi?id=927879

**

First, you need to work within Eclipse. All Jmol/JSpecView development
is done in Eclipse. There is information on how to set that up in the
Jmol wiki: http://wiki.jmol.org/index.php/Eclipse I suppose it is
possible to do all this without Eclipse, but neither Robert nor I can
help you if you do not use Eclipse.

Once you have Eclipse working:

1) Check out https://svn.code.sf.net/p/jspecview/svn/dev2/JSpecView
into a workspace as project JSpecView.
2) Check out https://svn.code.sf.net/p/jspecview/svn/dev2/JSpecViewLib
into the same workspace as project JSpecViewLib.

All building is done through ANT tasks. I believe you must first build
JSpecViewLib, then JSpecView.
-- 
Susi Lehtola
Fedora Project Contributor
jussilehtola at fedoraproject.org


More information about the devel mailing list