[Fedora-electronic-lab-list] Fwd: Electric Packaging difficulties

Aanjhan R aanjhan at gmail.com
Sat Jul 26 13:05:04 UTC 2008

Forwarding to put it in the archives of FEL Mailing list.

---------- Forwarded message ----------
From: Aanjhan R <aanjhan at gmail.com>
Date: Thu, Jul 10, 2008 at 2:01 PM
Subject: Electric Packaging difficulties
To: Chitlesh GOORAH <chitlesh at gmail.com>, Thibault North
<thibault.north at gmail.com>


I am facing a couple of issues while trying to write the spec file for
electric. It will be great if some pointers are thrown at me.

1. The main source package (downloaded from staticfreesoft.com) does
_not_ contain the extra JAR packages that are needed for the successful
build of electric. For example, As I have mentioned in my previous mail,
we need to download a few extra packages like Junit etc for electric to
build. And these packages need to be placed in a "packaging" directory
within the original upstream source archive. If not the build tool does
not recognize these packages and fails to build.

How do we modify the original source archive package? IMO it is not a
good practice to modify the src package and upload. Other options which
I have in mind are placing these packages, in a separate distro specific
directory and changing the build.xml (create a patch) file to look into
these directories for the packages. Also may be we can try to modify the
script such that we can list these extra packages if already available
in Fedora to be listed as dependencies and allow the build to tool to
recognize these already installed packages. (Not sure how tough this is
i.e. making "ant", the build tool to recognize already installed extra

2. For some weird reason, electric does not run with the openjdk on
Fedora repos. It needs "REAL" java JRE to be downloaded and installed
from sun.java.com. How should we handle this?

Hope I was a bit clear. Please feel free to ask back if not clear.

Thanks and Regards,


More information about the Fedora-electronic-lab-list mailing list