Your SlideShare is downloading. ×
2011 02-25-jenkinsci study
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

2011 02-25-jenkinsci study

2,345
views

Published on

Published in: Technology, Education

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,345
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
14
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Jenkins 2011/2/25 @yusukey http://samuraism.jp/ @yusukeyCopyright(c) Yusuke Yamamoto All rights reserved.
  • 2. • Twitter4J• Jenkins•• Copyright(c) Yusuke Yamamoto All rights reserved.
  • 3. Twitter4J Copyright(c) Yusuke Yamamoto All rights reserved.
  • 4. Java Twitter API 30•JDK1.4.2•Google App Engine• Android LOC: 5.3 Copyright(c) Yusuke Yamamoto All rights reserved.
  • 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. Twitter4J push service hook CI github.com Copyright(c) Yusuke Yamamoto All rights reserved.
  • 7. 20073 Copyright(c) Yusuke Yamamoto All rights reserved.
  • 8. 2010 10 2 Copyright(c) Yusuke Yamamoto All rights reserved.
  • 9. • Twitter4J 2.1.5 • OAuth401:Authentication credentials were missing or incorrect. Copyright(c) Yusuke Yamamoto All rights reserved.
  • 10. Copyright(c) Yusuke Yamamoto All rights reserved.
  • 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. 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. Jenkins Copyright(c) Yusuke Yamamoto All rights reserved.
  • 14. • Twitter J• : 2010 8 Basic Copyright(c) Yusuke Yamamoto All rights reserved.
  • 15. TestCase TwitterTestUnitbefore BasicTest OAuthTest Basic OAuthafter Maven TwitterTestUnit OAuth Copyright(c) Yusuke Yamamoto All rights reserved.
  • 16. fail : Twitter API API TwitterTestUnit AsyncTwitterTest fail Copyright(c) Yusuke Yamamoto All rights reserved.
  • 17. Copyright(c) Yusuke Yamamoto All rights reserved.
  • 18. • fail • age Copyright(c) Yusuke Yamamoto All rights reserved.
  • 19. • • • Copyright(c) Yusuke Yamamoto All rights reserved.
  • 20. Copyright(c) Yusuke Yamamoto All rights reserved.