Help with java problem: ant vs eclipse

Aleksandar Kurtakov akurtako at redhat.com
Fri Mar 29 13:40:05 UTC 2013


----- Original Message -----
> From: "Susi Lehtola" <jussilehtola at fedoraproject.org>
> To: "Development discussions related to Fedora" <devel at lists.fedoraproject.org>
> Sent: Friday, March 29, 2013 3:15:31 PM
> Subject: Help with java problem: ant vs eclipse
> 
> 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.

It is possible that upstream doesn't pay attention and have done their builds with hardcoded stuff for eclipse setup.
You can try putting the sources in one folder and run
eclipse -application org.eclipse.ant.core.antRunner -data %YOUR_FOLDER% -buildfile %YOUR_BUILD_XML%



Alexander Kurtakov
Red Hat Eclipse team

> 
> 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
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel


More information about the devel mailing list