Re: Trying to compile a package that depends on bouncycastle

2014-07-16 Thread Adam Spragg
On Wednesday 16 Jul 2014 09:23:57 Emmanuel Bourg wrote: > > Bugs-nuts insane. Fricking Java, man. > > This has nothing to do with Java. Upstream should have provided a proper > build script, try asking them. With Maven, Ant, or Gradle you dot not > have to care about the dependencies and the javac

Re: Trying to compile a package that depends on bouncycastle

2014-07-16 Thread Emmanuel Bourg
Le 16/07/2014 09:41, Adam Spragg a écrit : > ABI-incompatible changes without bumping the major version number? And people > *use* software from upstreams who work in this way? Unfortunately the BouncyCastle project is known for badly breaking the compatibility between releases, and this is an i

Re: Trying to compile a package that depends on bouncycastle

2014-07-16 Thread Adam Spragg
On Wednesday 16 Jul 2014 08:28:33 gregor herrmann wrote: > On Tue, 15 Jul 2014 23:20:32 +0100, Adam Spragg wrote: > > Well, thanks for all the help, but now I'm stuck on step the 9th, trying > > to compile SignApk.java. And I think I'm just going to give up. > > > > I'm getting compile errors of t

Re: Trying to compile a package that depends on bouncycastle

2014-07-16 Thread gregor herrmann
On Tue, 15 Jul 2014 23:20:32 +0100, Adam Spragg wrote: > Well, thanks for all the help, but now I'm stuck on step the 9th, trying to > compile SignApk.java. And I think I'm just going to give up. > > I'm getting compile errors of the form: > > SignApk.java:20: error: cannot find symbol > im

Re: Trying to compile a package that depends on bouncycastle

2014-07-15 Thread Adam Spragg
Hi all, Well, thanks for all the help, but now I'm stuck on step the 9th, trying to compile SignApk.java. And I think I'm just going to give up. I'm getting compile errors of the form: SignApk.java:20: error: cannot find symbol import org.bouncycastle.asn1.ASN1ObjectIdentifier; Look, I've

Re: Trying to compile a package that depends on bouncycastle

2014-07-13 Thread Andrew Schurman
Hey Adam, Like javascript, there are a few package managers for Java. Maven is one of the dominant ones. It acts like npm and grunt/gulp for javascript. It should handle setting up all the command line options for compiling, but if you are going to run something manually, you'll still need those m

Re: Trying to compile a package that depends on bouncycastle

2014-07-13 Thread Adam Spragg
Hi Emmanuel, On Sunday 13 Jul 2014 19:10:30 Emmanuel Bourg wrote: > Installing the package is not enough, you have to specify the libraries > used when running javac. For example: > > javac -cp /usr/share/java/bcprov.jar:/usr/share/java/bcpkix.jar > DumpPublicKey.java Ah, right. That did it! T

Re: Trying to compile a package that depends on bouncycastle

2014-07-13 Thread Emmanuel Bourg
Hi Adam, Installing the package is not enough, you have to specify the libraries used when running javac. For example: javac -cp /usr/share/java/bcprov.jar:/usr/share/java/bcpkix.jar DumpPublicKey.java Emmanuel Bourg Le 13/07/2014 18:50, Adam Spragg a écrit : > Hi debian-java > > Following

Trying to compile a package that depends on bouncycastle

2014-07-13 Thread Adam Spragg
Hi debian-java Following Matthew Garrett's recent post about self-signing Android ROMs[0], I'm stuck on step the Sixth. I've got the DumpPublicKey.java file, and am trying to compile it. I installed openjdk-7-jdk, and then based on the next set of errors I received, eventually found the bouncy