Roger's woze

January 31, 2012

maven key cert problem

Filed under: Uncategorized — rogerdpack @ 12:31 pm

^M[WARNING] Could not transfer metadata org.familysearch.digitalarchive:prestapequeue:3.1.0-SNAPSHOT/maven-metadata.xml from/to fch (https://mvn.fsglobal.net/content/groups/dev): Error transferring file: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

meant “download and install the .pem or .cert file you need”

 

To import into java, cd in an “administrator” command prompt to wherever your java’s cacert file is, then, if it’s a .pem (password is “changeit”)

  1. keytool.exe -importcert -file full/path/to/fch-cacert.pem -keystore cacerts -keypass changeit -storepass changeit
    if it’s a .crt
    keytool -importkeystore -srckeystore /full/path/to/fh-keystore -destkeystore “%JAVA_HOME%\jre\lib\security\cacerts”

January 27, 2012

maven just compile tests

Filed under: Uncategorized — rogerdpack @ 2:20 pm

http://stackoverflow.com/questions/4768660/maven-compile-test-without-runing-the-tests

mvn test-compile

maven enunciate woe

Filed under: Uncategorized — rogerdpack @ 8:48 am

the first comment meant “use java 1.6 jdk instead, for some reason that works better”

gave me the clue:

http://maven.40175.n5.nabble.com/Get-quot-java-lang-NoClassDefFoundError-quot-though-the-class-is-in-the-classpath-td4778565.html

ubuntu maven mvn java setup woe

Filed under: Uncategorized — rogerdpack @ 8:15 am

————————————————————
[INFO] Compilation failure
Unable to locate the Javac Compiler in:
/usr/lib/jvm/java-6-openjdk/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

 

meant install the jdk (apt) then

for me

export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386

how to create “add us on google” “we’re on g+” button/icon/snippet/profile page

Filed under: Uncategorized — rogerdpack @ 8:07 am

*finally* found it: http://www.google.com/webmasters/+1/button/#customize-snippet

Yikes that was hard.

maven woe

Filed under: Uncategorized — rogerdpack @ 7:56 am

[INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one.

 

meant “you are not in your right directory, you need to run maven from the directory with pom.xml in it”

January 18, 2012

family search logo

Filed under: Uncategorized — rogerdpack @ 12:55 pm

https://devnet.familysearch.org/certification/affiliate-programs/FS_LOGOS.zip/view

January 17, 2012

ruby 1.8.x freakiness

Filed under: Uncategorized — rogerdpack @ 12:07 pm

Noticed this (surprise me):

>> ‘abc’ + SyntaxError.new()
=> “abcSyntaxError” (works)

>> ‘abc’ + SyntaxError.new(Exception.new)
TypeError: SyntaxError#to_str should return String

I think this may be a cause:

>> Exception.new(Exception.new).to_s
=> #

(doesn’t return a string).

This is somewhat fixed in 1.9 thankfully (you are forced to call #to_s on it the first example doesn’t work)

January 14, 2012

bitcoin questions

Filed under: Uncategorized — rogerdpack @ 10:08 am

would it be vulnerable to say somebody pretending they have 10,000 computers, then “slowing down” transactions when they come through?

would it be vulnerable to somebody taking a few bitcoins and generating transactions ad nauseum say of 1/million’th of a bitcoin, trying to flood the network?

macaroni and cheese passes right through

Filed under: Uncategorized — rogerdpack @ 9:13 am

if you get diarrhea like I do (allergies?) with eating noodles or spaghetti or mac and cheese, like it forces a “flush” then use a probiotic pill along with your meal. For me, problem solved! whoa!

Older Posts »

Powered by WordPress