2011 02-25-jenkinsci study

2,622 views
2,493 views

Published on

Published in: Technology, Education
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,622
On SlideShare
0
From Embeds
0
Number of Embeds
493
Actions
Shares
0
Downloads
15
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

2011 02-25-jenkinsci study

  1. 1. Jenkins 2011/2/25 @yusukey http://samuraism.jp/ @yusukeyCopyright(c) Yusuke Yamamoto All rights reserved.
  2. 2. • Twitter4J• Jenkins•• Copyright(c) Yusuke Yamamoto All rights reserved.
  3. 3. Twitter4J Copyright(c) Yusuke Yamamoto All rights reserved.
  4. 4. Java Twitter API 30•JDK1.4.2•Google App Engine• Android LOC: 5.3 Copyright(c) Yusuke Yamamoto All rights reserved.
  5. 5. Twitter4J IntelliJ IDEA: github / Jira Maven: Jira: issue Hudson / Jenkins: CI 2009 3 github: 2009 4 Copyright(c) Yusuke Yamamoto All rights reserved.
  6. 6. Twitter4J push service hook CI github.com Copyright(c) Yusuke Yamamoto All rights reserved.
  7. 7. 20073 Copyright(c) Yusuke Yamamoto All rights reserved.
  8. 8. 2010 10 2 Copyright(c) Yusuke Yamamoto All rights reserved.
  9. 9. • Twitter4J 2.1.5 • OAuth401:Authentication credentials were missing or incorrect. Copyright(c) Yusuke Yamamoto All rights reserved.
  10. 10. Copyright(c) Yusuke Yamamoto All rights reserved.
  11. 11. • StringUtil.split()• OAuthpublic static String[] split(String str, String separator){ String[] returnValue; int index; if(-1 == str.indexOf(separator)){ returnValue = new String[0]; }else{... StringUtil.split(“foo,bar”,”,”); » {“foo”, “bar”} StringUtil.split(“foobar”,”,”); » new String[0] Copyright(c) Yusuke Yamamoto All rights reserved.
  12. 12. StringUtil.split • String#split • J2ME String#split(@since JDK1.4) • J2ME JDK JDK1.3(?)Caused by: java.lang.NoSuchMethodError: java.lang.String: methodsplit(Ljava/lang/String;)[Ljava/lang/String; not found at twitter4j.conf.PropertyConfiguration.setFieldsWithTreePath(Ljava/util/Properties;Ljava/lang/String;)V(PropertyConfiguration.java:196) at twitter4j.conf.PropertyConfiguration.<init>(Ljava/lang/String;)V(PropertyConfiguration.java:121) Copyright(c) Yusuke Yamamoto All rights reserved.
  13. 13. Jenkins Copyright(c) Yusuke Yamamoto All rights reserved.
  14. 14. • Twitter J• : 2010 8 Basic Copyright(c) Yusuke Yamamoto All rights reserved.
  15. 15. TestCase TwitterTestUnitbefore BasicTest OAuthTest Basic OAuthafter Maven TwitterTestUnit OAuth Copyright(c) Yusuke Yamamoto All rights reserved.
  16. 16. fail : Twitter API API TwitterTestUnit AsyncTwitterTest fail Copyright(c) Yusuke Yamamoto All rights reserved.
  17. 17. Copyright(c) Yusuke Yamamoto All rights reserved.
  18. 18. • fail • age Copyright(c) Yusuke Yamamoto All rights reserved.
  19. 19. • • • Copyright(c) Yusuke Yamamoto All rights reserved.
  20. 20. Copyright(c) Yusuke Yamamoto All rights reserved.

×