svnno****@sourc*****
svnno****@sourc*****
2009年 10月 3日 (土) 16:22:48 JST
Revision: 3693 http://sourceforge.jp/projects/jiemamy/svn/view?view=rev&revision=3693 Author: shin1 Date: 2009-10-03 16:22:48 +0900 (Sat, 03 Oct 2009) Log Message: ----------- sdk1.2.5へ移行するとともに、つぶやかなくなった要因を修正。 つぶやかない原因は…。 * つぶやき失敗のEntryが増加して一回のフェッチ(日付の古い順)の制限数を超えて最新のつぶやき対象Entryがフェッチされていなかった * さらに、古いEntry(3時間以上昔)はつぶやかないという制限によって、古すぎるEntryがいつまで経ってもさばかれない という、二種類の状態の複合のため。 これは解消したものの、実は別の問題が発生した。 * 自前でbit.lyしていたソースが故障中のマクブクに未コミットの状態で存在しており、そこのソースを失ったwwwうぇwww ごめんなさい…orz Modified Paths: -------------- sandbox/jiemamy-feeds/.classpath sandbox/jiemamy-feeds/.settings/com.google.appengine.eclipse.core.prefs sandbox/jiemamy-feeds/pom.xml sandbox/jiemamy-feeds/src/main/java/com/shin1ogawa/cron/Tweet.java sandbox/jiemamy-feeds/src/main/java/com/shin1ogawa/page/Index.java Added Paths: ----------- sandbox/jiemamy-feeds/m2repo/ sandbox/jiemamy-feeds/m2repo/com/ sandbox/jiemamy-feeds/m2repo/com/google/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime/1.2.5/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime/1.2.5/appengine-api-1.0-runtime-1.2.5.jar sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime/maven-metadata-local.xml sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime-shared/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime-shared/1.2.5/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime-shared/1.2.5/appengine-api-1.0-runtime-shared-1.2.5.jar sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime-shared/maven-metadata-local.xml sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-sdk/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-sdk/1.2.5/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-sdk/1.2.5/appengine-api-1.0-sdk-1.2.5.jar sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-sdk/maven-metadata-local.xml sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-stubs/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-stubs/1.2.5/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-stubs/1.2.5/appengine-api-1.0-stubs-1.2.5.jar sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-stubs/maven-metadata-local.xml sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-labs/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-labs/1.2.5/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-labs/1.2.5/appengine-api-labs-1.2.5.jar sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-labs/maven-metadata-local.xml sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-tools-sdk/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-tools-sdk/1.2.5/ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-tools-sdk/1.2.5/appengine-tools-sdk-1.2.5.jar sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-tools-sdk/maven-metadata-local.xml Modified: sandbox/jiemamy-feeds/.classpath =================================================================== --- sandbox/jiemamy-feeds/.classpath 2009-10-02 04:14:59 UTC (rev 3692) +++ sandbox/jiemamy-feeds/.classpath 2009-10-03 07:22:48 UTC (rev 3693) @@ -4,27 +4,18 @@ <classpathentry kind="src" path="src/main/java" including="**/*.java"/> <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/> <classpathentry kind="output" path="war/WEB-INF/classes"/> - <classpathentry kind="var" path="M2_REPO/javax/transaction/transaction-api/1.1/transaction-api-1.1.jar" sourcepath="M2_REPO/javax/transaction/transaction-api/1.1/transaction-api-1.1-sources.jar"/> - <classpathentry kind="var" path="M2_REPO/com/google/appengine/appengine-api-1.0-runtime/1.2.2/appengine-api-1.0-runtime-1.2.2.jar"/> - <classpathentry kind="var" path="M2_REPO/com/google/appengine/appengine-api-1.0-stubs/1.2.2/appengine-api-1.0-stubs-1.2.2.jar"/> + <classpathentry kind="var" path="M2_REPO/com/google/appengine/appengine-api-1.0-runtime/1.2.5/appengine-api-1.0-runtime-1.2.5.jar"/> + <classpathentry kind="var" path="M2_REPO/com/google/appengine/appengine-api-1.0-runtime-shared/1.2.5/appengine-api-1.0-runtime-shared-1.2.5.jar"/> + <classpathentry kind="var" path="M2_REPO/com/google/appengine/appengine-api-1.0-stubs/1.2.5/appengine-api-1.0-stubs-1.2.5.jar"/> + <classpathentry kind="var" path="M2_REPO/com/google/appengine/appengine-api-labs/1.2.5/appengine-api-labs-1.2.5.jar"/> <classpathentry kind="var" path="M2_REPO/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar" sourcepath="M2_REPO/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3-sources.jar"/> <classpathentry kind="var" path="M2_REPO/commons-codec/commons-codec/1.3/commons-codec-1.3.jar" sourcepath="M2_REPO/commons-codec/commons-codec/1.3/commons-codec-1.3-sources.jar"/> <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar" sourcepath="M2_REPO/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1-sources.jar"/> <classpathentry kind="var" path="M2_REPO/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"/> <classpathentry kind="var" path="M2_REPO/commons-io/commons-io/1.4/commons-io-1.4.jar" sourcepath="M2_REPO/commons-io/commons-io/1.4/commons-io-1.4-sources.jar"/> - <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.4/commons-lang-2.4.jar" sourcepath="M2_REPO/commons-lang/commons-lang/2.4/commons-lang-2.4-sources.jar"> - <attributes> - <attribute value="jar:file:/Users/shin1/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4-javadoc.jar!/" name="javadoc_location"/> - </attributes> - </classpathentry> + <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.4/commons-lang-2.4.jar" sourcepath="M2_REPO/commons-lang/commons-lang/2.4/commons-lang-2.4-sources.jar"/> <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1-sources.jar"/> <classpathentry kind="var" path="M2_REPO/net/sourceforge/cssparser/cssparser/0.9.5/cssparser-0.9.5.jar" sourcepath="M2_REPO/net/sourceforge/cssparser/cssparser/0.9.5/cssparser-0.9.5-sources.jar"/> - <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-jpa_3.0_spec/1.1.1/geronimo-jpa_3.0_spec-1.1.1.jar" sourcepath="M2_REPO/org/apache/geronimo/specs/geronimo-jpa_3.0_spec/1.1.1/geronimo-jpa_3.0_spec-1.1.1-sources.jar"/> - <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar" sourcepath="M2_REPO/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1-sources.jar"> - <attributes> - <attribute value="jar:file:/Users/shin1/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1-javadoc.jar!/" name="javadoc_location"/> - </attributes> - </classpathentry> <classpathentry kind="var" path="M2_REPO/com/google/code/guice/guice/1.0/guice-1.0.jar" sourcepath="M2_REPO/com/google/code/guice/guice/1.0/guice-1.0-sources.jar"/> <classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" sourcepath="M2_REPO/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1-sources.jar"/> <classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-library/1.1/hamcrest-library-1.1.jar" sourcepath="M2_REPO/org/hamcrest/hamcrest-library/1.1/hamcrest-library-1.1-sources.jar"/> @@ -35,26 +26,22 @@ <classpathentry kind="var" path="M2_REPO/junit/junit/4.5/junit-4.5.jar" sourcepath="M2_REPO/junit/junit/4.5/junit-4.5-sources.jar"/> <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.14/log4j-1.2.14.jar" sourcepath="M2_REPO/log4j/log4j/1.2.14/log4j-1.2.14-sources.jar"/> <classpathentry kind="var" path="M2_REPO/net/sourceforge/nekohtml/nekohtml/1.9.11/nekohtml-1.9.11.jar" sourcepath="M2_REPO/net/sourceforge/nekohtml/nekohtml/1.9.11/nekohtml-1.9.11-sources.jar"/> - <classpathentry kind="var" path="M2_REPO/rome/rome/1.0/rome-1.0.jar" sourcepath="M2_REPO/rome/rome/1.0/rome-1.0-sources.jar"> - <attributes> - <attribute value="jar:file:/Users/shin1/.m2/repository/rome/rome/1.0/rome-1.0-javadoc.jar!/" name="javadoc_location"/> - </attributes> - </classpathentry> + <classpathentry kind="var" path="M2_REPO/rome/rome/1.0/rome-1.0.jar" sourcepath="M2_REPO/rome/rome/1.0/rome-1.0-sources.jar"/> <classpathentry kind="var" path="M2_REPO/org/w3c/css/sac/1.3/sac-1.3.jar" sourcepath="M2_REPO/org/w3c/css/sac/1.3/sac-1.3-sources.jar"/> <classpathentry kind="var" path="M2_REPO/xalan/serializer/2.7.1/serializer-2.7.1.jar"/> <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2.jar" sourcepath="M2_REPO/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2-sources.jar"/> <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-log4j12/1.4.2/slf4j-log4j12-1.4.2.jar" sourcepath="M2_REPO/org/slf4j/slf4j-log4j12/1.4.2/slf4j-log4j12-1.4.2-sources.jar"/> <classpathentry kind="var" path="M2_REPO/org/springframework/spring-core/2.5.2/spring-core-2.5.2.jar" sourcepath="M2_REPO/org/springframework/spring-core/2.5.2/spring-core-2.5.2-sources.jar"/> - <classpathentry kind="var" path="M2_REPO/net/homeip/yusuke/twitter4j/2.0.9/twitter4j-2.0.9.jar" sourcepath="M2_REPO/net/homeip/yusuke/twitter4j/2.0.9/twitter4j-2.0.9-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/net/homeip/yusuke/twitter4j/2.0.10/twitter4j-2.0.10.jar" sourcepath="M2_REPO/net/homeip/yusuke/twitter4j/2.0.10/twitter4j-2.0.10-sources.jar"/> <classpathentry kind="var" path="M2_REPO/org/openqa/selenium/webdriver/webdriver-common/0.6.870/webdriver-common-0.6.870.jar" sourcepath="M2_REPO/org/openqa/selenium/webdriver/webdriver-common/0.6.870/webdriver-common-0.6.870-sources.jar"/> <classpathentry kind="var" path="M2_REPO/org/openqa/selenium/webdriver/webdriver-firefox/0.6.870/webdriver-firefox-0.6.870.jar" sourcepath="M2_REPO/org/openqa/selenium/webdriver/webdriver-firefox/0.6.870/webdriver-firefox-0.6.870-sources.jar"/> <classpathentry kind="var" path="M2_REPO/org/openqa/selenium/webdriver/webdriver-htmlunit/0.6.870/webdriver-htmlunit-0.6.870.jar" sourcepath="M2_REPO/org/openqa/selenium/webdriver/webdriver-htmlunit/0.6.870/webdriver-htmlunit-0.6.870-sources.jar"/> <classpathentry kind="var" path="M2_REPO/org/openqa/selenium/webdriver/webdriver-safari/0.6.870/webdriver-safari-0.6.870.jar" sourcepath="M2_REPO/org/openqa/selenium/webdriver/webdriver-safari/0.6.870/webdriver-safari-0.6.870-sources.jar"/> - <classpathentry kind="var" path="M2_REPO/org/apache/wicket/wicket/1.4.0/wicket-1.4.0.jar" sourcepath="M2_REPO/org/apache/wicket/wicket/1.4.0/wicket-1.4.0-sources.jar"/> - <classpathentry kind="var" path="M2_REPO/org/apache/wicket/wicket-auth-roles/1.4.0/wicket-auth-roles-1.4.0.jar" sourcepath="M2_REPO/org/apache/wicket/wicket-auth-roles/1.4.0/wicket-auth-roles-1.4.0-sources.jar"/> - <classpathentry kind="var" path="M2_REPO/org/apache/wicket/wicket-extensions/1.4.0/wicket-extensions-1.4.0.jar" sourcepath="M2_REPO/org/apache/wicket/wicket-extensions/1.4.0/wicket-extensions-1.4.0-sources.jar"/> - <classpathentry kind="var" path="M2_REPO/org/apache/wicket/wicket-guice/1.4.0/wicket-guice-1.4.0.jar" sourcepath="M2_REPO/org/apache/wicket/wicket-guice/1.4.0/wicket-guice-1.4.0-sources.jar"/> - <classpathentry kind="var" path="M2_REPO/org/apache/wicket/wicket-ioc/1.4.0/wicket-ioc-1.4.0.jar" sourcepath="M2_REPO/org/apache/wicket/wicket-ioc/1.4.0/wicket-ioc-1.4.0-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/apache/wicket/wicket/1.4.1/wicket-1.4.1.jar" sourcepath="M2_REPO/org/apache/wicket/wicket/1.4.1/wicket-1.4.1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/apache/wicket/wicket-auth-roles/1.4.1/wicket-auth-roles-1.4.1.jar" sourcepath="M2_REPO/org/apache/wicket/wicket-auth-roles/1.4.1/wicket-auth-roles-1.4.1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/apache/wicket/wicket-extensions/1.4.1/wicket-extensions-1.4.1.jar" sourcepath="M2_REPO/org/apache/wicket/wicket-extensions/1.4.1/wicket-extensions-1.4.1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/apache/wicket/wicket-guice/1.4.1/wicket-guice-1.4.1.jar" sourcepath="M2_REPO/org/apache/wicket/wicket-guice/1.4.1/wicket-guice-1.4.1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/apache/wicket/wicket-ioc/1.4.1/wicket-ioc-1.4.1.jar" sourcepath="M2_REPO/org/apache/wicket/wicket-ioc/1.4.1/wicket-ioc-1.4.1-sources.jar"/> <classpathentry kind="var" path="M2_REPO/org/wicketstuff/wicketstuff-annotation/1.1/wicketstuff-annotation-1.1.jar" sourcepath="M2_REPO/org/wicketstuff/wicketstuff-annotation/1.1/wicketstuff-annotation-1.1-sources.jar"/> <classpathentry kind="var" path="M2_REPO/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar" sourcepath="M2_REPO/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04-sources.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> Modified: sandbox/jiemamy-feeds/.settings/com.google.appengine.eclipse.core.prefs =================================================================== --- sandbox/jiemamy-feeds/.settings/com.google.appengine.eclipse.core.prefs 2009-10-02 04:14:59 UTC (rev 3692) +++ sandbox/jiemamy-feeds/.settings/com.google.appengine.eclipse.core.prefs 2009-10-03 07:22:48 UTC (rev 3693) @@ -1,3 +1,5 @@ +#Sat Oct 03 16:11:07 JST 2009 eclipse.preferences.version=1 -filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.2.2.jar|datanucleus-appengine-1.0.2.final.jar|datanucleus-core-1.1.4.jar|datanucleus-jpa-1.1.4.jar|geronimo-jpa_3.0_spec-1.1.1.jar|geronimo-jta_1.1_spec-1.1.1.jar|jdo2-api-2.3-ea.jar -ormEnhancementInclusions=src/main/java/**/*.java \ No newline at end of file +filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.2.5.jar|appengine-api-labs-1.2.5.jar|datanucleus-appengine-1.0.3.jar|datanucleus-core-1.1.5.jar|datanucleus-jpa-1.1.5.jar|geronimo-jpa_3.0_spec-1.1.1.jar|geronimo-jta_1.1_spec-1.1.1.jar|jdo2-api-2.3-eb.jar +ormEnhancementInclusions= +validationExclusions= Added: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime/1.2.5/appengine-api-1.0-runtime-1.2.5.jar =================================================================== (Binary files differ) Property changes on: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime/1.2.5/appengine-api-1.0-runtime-1.2.5.jar ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime/maven-metadata-local.xml =================================================================== --- sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime/maven-metadata-local.xml (rev 0) +++ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime/maven-metadata-local.xml 2009-10-03 07:22:48 UTC (rev 3693) @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>com.google.appengine</groupId> + <artifactId>appengine-api-1.0-runtime</artifactId> + <version>1.2.5</version> + <versioning> + <versions> + <version>1.2.5</version> + </versions> + <lastUpdated>20090912073617</lastUpdated> + </versioning> +</metadata> \ No newline at end of file Property changes on: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime/maven-metadata-local.xml ___________________________________________________________________ Added: svn:mime-type + text/plain Added: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime-shared/1.2.5/appengine-api-1.0-runtime-shared-1.2.5.jar =================================================================== (Binary files differ) Property changes on: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime-shared/1.2.5/appengine-api-1.0-runtime-shared-1.2.5.jar ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime-shared/maven-metadata-local.xml =================================================================== --- sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime-shared/maven-metadata-local.xml (rev 0) +++ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime-shared/maven-metadata-local.xml 2009-10-03 07:22:48 UTC (rev 3693) @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>com.google.appengine</groupId> + <artifactId>appengine-api-1.0-runtime-shared</artifactId> + <version>1.2.5</version> + <versioning> + <versions> + <version>1.2.5</version> + </versions> + <lastUpdated>20090912082207</lastUpdated> + </versioning> +</metadata> \ No newline at end of file Property changes on: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-runtime-shared/maven-metadata-local.xml ___________________________________________________________________ Added: svn:mime-type + text/plain Added: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-sdk/1.2.5/appengine-api-1.0-sdk-1.2.5.jar =================================================================== (Binary files differ) Property changes on: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-sdk/1.2.5/appengine-api-1.0-sdk-1.2.5.jar ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-sdk/maven-metadata-local.xml =================================================================== --- sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-sdk/maven-metadata-local.xml (rev 0) +++ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-sdk/maven-metadata-local.xml 2009-10-03 07:22:48 UTC (rev 3693) @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>com.google.appengine</groupId> + <artifactId>appengine-api-1.0-sdk</artifactId> + <version>1.2.5</version> + <versioning> + <versions> + <version>1.2.5</version> + </versions> + <lastUpdated>20090912073640</lastUpdated> + </versioning> +</metadata> \ No newline at end of file Property changes on: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-sdk/maven-metadata-local.xml ___________________________________________________________________ Added: svn:mime-type + text/plain Added: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-stubs/1.2.5/appengine-api-1.0-stubs-1.2.5.jar =================================================================== (Binary files differ) Property changes on: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-stubs/1.2.5/appengine-api-1.0-stubs-1.2.5.jar ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-stubs/maven-metadata-local.xml =================================================================== --- sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-stubs/maven-metadata-local.xml (rev 0) +++ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-stubs/maven-metadata-local.xml 2009-10-03 07:22:48 UTC (rev 3693) @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>com.google.appengine</groupId> + <artifactId>appengine-api-1.0-stubs</artifactId> + <version>1.2.5</version> + <versioning> + <versions> + <version>1.2.5</version> + </versions> + <lastUpdated>20090912073649</lastUpdated> + </versioning> +</metadata> \ No newline at end of file Property changes on: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-1.0-stubs/maven-metadata-local.xml ___________________________________________________________________ Added: svn:mime-type + text/plain Added: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-labs/1.2.5/appengine-api-labs-1.2.5.jar =================================================================== (Binary files differ) Property changes on: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-labs/1.2.5/appengine-api-labs-1.2.5.jar ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-labs/maven-metadata-local.xml =================================================================== --- sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-labs/maven-metadata-local.xml (rev 0) +++ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-labs/maven-metadata-local.xml 2009-10-03 07:22:48 UTC (rev 3693) @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>com.google.appengine</groupId> + <artifactId>appengine-api-labs</artifactId> + <version>1.2.5</version> + <versioning> + <versions> + <version>1.2.5</version> + </versions> + <lastUpdated>20090912090602</lastUpdated> + </versioning> +</metadata> \ No newline at end of file Property changes on: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-api-labs/maven-metadata-local.xml ___________________________________________________________________ Added: svn:mime-type + text/plain Added: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-tools-sdk/1.2.5/appengine-tools-sdk-1.2.5.jar =================================================================== (Binary files differ) Property changes on: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-tools-sdk/1.2.5/appengine-tools-sdk-1.2.5.jar ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-tools-sdk/maven-metadata-local.xml =================================================================== --- sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-tools-sdk/maven-metadata-local.xml (rev 0) +++ sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-tools-sdk/maven-metadata-local.xml 2009-10-03 07:22:48 UTC (rev 3693) @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>com.google.appengine</groupId> + <artifactId>appengine-tools-sdk</artifactId> + <version>1.2.5</version> + <versioning> + <versions> + <version>1.2.5</version> + </versions> + <lastUpdated>20090912073704</lastUpdated> + </versioning> +</metadata> \ No newline at end of file Property changes on: sandbox/jiemamy-feeds/m2repo/com/google/appengine/appengine-tools-sdk/maven-metadata-local.xml ___________________________________________________________________ Added: svn:mime-type + text/plain Modified: sandbox/jiemamy-feeds/pom.xml =================================================================== --- sandbox/jiemamy-feeds/pom.xml 2009-10-02 04:14:59 UTC (rev 3692) +++ sandbox/jiemamy-feeds/pom.xml 2009-10-03 07:22:48 UTC (rev 3693) @@ -6,7 +6,8 @@ <version>1.0-SNAPSHOT</version> <properties> <maven.test.failure.ignore>true</maven.test.failure.ignore> - <wicket.version>1.4.0</wicket.version> + <wicket.version>1.4.1</wicket.version> + <appengine.version>1.2.5</appengine.version> </properties> <dependencies> <dependency> @@ -25,52 +26,50 @@ <dependency> <groupId>com.google.appengine</groupId> <artifactId>appengine-api-1.0-sdk</artifactId> - <version>1.2.2</version> + <version>${appengine.version}</version> + <type>jar</type> + <optional>true</optional> </dependency> + <dependency> + <groupId>com.google.appengine</groupId> + <artifactId>appengine-api-labs</artifactId> + <version>${appengine.version}</version> + <type>jar</type> + <optional>true</optional> + </dependency> <!-- GAE for java(test) --> <dependency> <groupId>com.google.appengine</groupId> <artifactId>appengine-api-1.0-stubs</artifactId> - <version>1.2.2</version> - <scope>test</scope> + <version>${appengine.version}</version> + <type>jar</type> + <scope>provided</scope> + <optional>true</optional> </dependency> <dependency> <groupId>com.google.appengine</groupId> <artifactId>appengine-api-1.0-runtime</artifactId> - <version>1.2.2</version> - <scope>test</scope> + <version>${appengine.version}</version> + <type>jar</type> + <scope>provided</scope> + <optional>true</optional> </dependency> <dependency> <groupId>com.google.appengine</groupId> - <artifactId>appengine-tools-sdk</artifactId> - <version>1.2.2</version> - <scope>test</scope> - </dependency> - <!-- GAE for java(jdo, datanucleus) --> - <dependency> - <groupId>javax.jdo</groupId> - <artifactId>jdo2-api</artifactId> - <version>2.3-ea</version> + <artifactId>appengine-api-1.0-runtime-shared</artifactId> + <version>${appengine.version}</version> + <type>jar</type> <scope>provided</scope> + <optional>true</optional> </dependency> <dependency> - <groupId>com.google.appengine.orm</groupId> - <artifactId>datanucleus-appengine</artifactId> - <version>1.0.2</version> + <groupId>com.google.appengine</groupId> + <artifactId>appengine-tools-sdk</artifactId> + <version>${appengine.version}</version> + <type>jar</type> <scope>provided</scope> + <optional>true</optional> </dependency> - <dependency> - <groupId>org.datanucleus</groupId> - <artifactId>datanucleus-core</artifactId> - <version>1.1.4</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.datanucleus</groupId> - <artifactId>datanucleus-jpa</artifactId> - <version>1.1.4</version> - <scope>provided</scope> - </dependency> <!--servlet --> <dependency> <groupId>javax.servlet</groupId> @@ -177,8 +176,6 @@ <exclude>com.google.appengine:appengine-api-1.0-sdk</exclude> <exclude>com.google.appengine:appengine-tools-sdk</exclude> <exclude>com.google.appengine.orm:datanucleus-appengine</exclude> - <exclude>org.datanucleus:datanucleus-core</exclude> - <exclude>org.datanucleus:datanucleus-jpa</exclude> <exclude>xalan:xalan</exclude> </excludes> <additionalProjectnatures> @@ -209,8 +206,7 @@ <content> <![CDATA[ eclipse.preferences.version=1 -filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.2.2.jar|datanucleus-appengine-1.0.2.final.jar|datanucleus-core-1.1.4.jar|datanucleus-jpa-1.1.4.jar|geronimo-jpa_3.0_spec-1.1.1.jar|geronimo-jta_1.1_spec-1.1.1.jar|jdo2-api-2.3-ea.jar -ormEnhancementInclusions=src/main/java/**/*.java +filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.2.5.jar|appengine-api-labs-1.2.5.jar|datanucleus-appengine-1.0.3.jar|datanucleus-core-1.1.5.jar|datanucleus-jpa-1.1.5.jar|geronimo-jpa_3.0_spec-1.1.1.jar|geronimo-jta_1.1_spec-1.1.1.jar|jdo2-api-2.3-eb.jar ]]> </content> </file> @@ -260,28 +256,6 @@ </configuration> </plugin> <plugin> - <!-- http://www.datanucleus.org/products/accessplatform/enhancer.html#maven2 --> - <groupId>org.datanucleus</groupId> - <artifactId>maven-datanucleus-plugin</artifactId> - <version>1.1.3</version> - <configuration> - <verbose>true</verbose> - <mappingIncludes>**/*.class</mappingIncludes> - <fork>false</fork> - <enhancerName>ASM</enhancerName> - <api>JDO</api> - <jdkLogConfiguration>war/WEB-INF/logging.properties</jdkLogConfiguration> - </configuration> - <executions> - <execution> - <phase>compile</phase> - <goals> - <goal>enhance</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> @@ -317,10 +291,6 @@ </snapshots> </repository> <repository> - <id>jpox</id> - <url>http://www.jpox.org/downloads/maven2</url> - </repository> - <repository> <id>maven2-repository.dev.java.net</id> <name>Java.net Repository for Maven</name> <url>http://download.java.net/maven/2/</url> @@ -333,26 +303,7 @@ <enabled>true</enabled> </snapshots> </repository> - <repository> - <id>DataNucleus</id> - <url>http://www.datanucleus.org/downloads/maven2</url> - </repository> - <repository> - <id>DataNucleus_Nightly_Repos</id> - <url>http://www.datanucleus.org/downloads/maven-nightly</url> - <layout>legacy</layout> - </repository> - <repository> - <id>mvnsearch</id> - <url>http://www.mvnsearch.org/maven2</url> - </repository> </repositories> - <pluginRepositories> - <pluginRepository> - <id>DataNucleus</id> - <url>http://www.datanucleus.org/downloads/maven2</url> - </pluginRepository> - </pluginRepositories> <profiles> <profile> <id>integration-test</id> Modified: sandbox/jiemamy-feeds/src/main/java/com/shin1ogawa/cron/Tweet.java =================================================================== --- sandbox/jiemamy-feeds/src/main/java/com/shin1ogawa/cron/Tweet.java 2009-10-02 04:14:59 UTC (rev 3692) +++ sandbox/jiemamy-feeds/src/main/java/com/shin1ogawa/cron/Tweet.java 2009-10-03 07:22:48 UTC (rev 3693) @@ -1,5 +1,6 @@ package com.shin1ogawa.cron; +import java.util.Calendar; import java.util.List; import java.util.logging.Level; @@ -27,15 +28,22 @@ public Tweet() { Query query = new Query(Entry.kind()); query.addFilter(Entry.tweeted.name(), FilterOperator.EQUAL, false); + Calendar calendar = Calendar.getInstance(); + calendar.add(Calendar.HOUR_OF_DAY, -3); + query.addFilter(Entry.published.name(), + FilterOperator.GREATER_THAN_OR_EQUAL, calendar.getTime()); query.addSort(Entry.published.name(), SortDirection.ASCENDING); int limitSizeForTweet = Integer.valueOf((String) ApplicationSettingUtil .getSettingValue("limitSizeForTweet")); - DatastoreService service = DatastoreServiceFactory.getDatastoreService(); + DatastoreService service = DatastoreServiceFactory + .getDatastoreService(); List<Entity> entries = service.prepare(query).asList( FetchOptions.Builder.withLimit(limitSizeForTweet)); LOGGER.log(Level.INFO, "クエリの実行が完了。size=" + entries.size()); - String user = (String) ApplicationSettingUtil.getSettingValue("twitter-user"); - String password = (String) ApplicationSettingUtil.getSettingValue("twitter-password"); + String user = (String) ApplicationSettingUtil + .getSettingValue("twitter-user"); + String password = (String) ApplicationSettingUtil + .getSettingValue("twitter-password"); Twitter twitter = new Twitter(user, password); LOGGER.log(Level.INFO, "Twitterの認証完了。"); int failureCount = 0; @@ -48,7 +56,8 @@ try { Status status = twitter.updateStatus(b.toString()); successCount++; - LOGGER.log(Level.FINE, "Post が終了。 title=" + title + ", status=" + status); + LOGGER.log(Level.FINE, "Post が終了。 title=" + title + ", status=" + + status); } catch (Exception e) { LOGGER.log(Level.WARNING, "Post に失敗. title=" + title, e); failureCount++; @@ -58,7 +67,7 @@ RunInTransaction.run(new SaveInTransaction(entry)); LOGGER.log(Level.FINE, "Datastoreの更新が終了。 title=" + title); } - LOGGER.log(Level.INFO, "Twitterの認証完了。Postに成功した件数=" + successCount + " Postに失敗した件数=" - + failureCount); + LOGGER.log(Level.INFO, "Twitterの認証完了。Postに成功した件数=" + successCount + + " Postに失敗した件数=" + failureCount); } } Modified: sandbox/jiemamy-feeds/src/main/java/com/shin1ogawa/page/Index.java =================================================================== --- sandbox/jiemamy-feeds/src/main/java/com/shin1ogawa/page/Index.java 2009-10-02 04:14:59 UTC (rev 3692) +++ sandbox/jiemamy-feeds/src/main/java/com/shin1ogawa/page/Index.java 2009-10-03 07:22:48 UTC (rev 3693) @@ -1,5 +1,6 @@ package com.shin1ogawa.page; +import java.util.Calendar; import java.util.logging.Logger; import org.apache.wicket.ajax.markup.html.navigation.paging.AjaxPagingNavigator; @@ -23,9 +24,14 @@ WebMarkupContainer container = new WebMarkupContainer("container"); add(container.setOutputMarkupId(true)); Query query = new Query(Entry.kind()); + Calendar calendar = Calendar.getInstance(); + calendar.add(Calendar.HOUR_OF_DAY, -3); + query.addFilter(Entry.published.name(), + FilterOperator.GREATER_THAN_OR_EQUAL, calendar.getTime()); query.addFilter(Entry.tweeted.name(), FilterOperator.EQUAL, false); query.addSort(Entry.published.name(), SortDirection.ASCENDING); - DataView<Entity> dataView = new DataView<Entity>("list", new QueryDataProvider(query), 10) { + DataView<Entity> dataView = new DataView<Entity>("list", + new QueryDataProvider(query), 10) { private static final long serialVersionUID = 1L; @@ -34,7 +40,9 @@ Entity entry = item.getModelObject(); item.add(new EntityLabel("published", entry)); item.add(new EntityLabel("title", item.getModelObject())); - item.add(new EntityKeyLabel("name", entry.getKey().getParent())); + item + .add(new EntityKeyLabel("name", entry.getKey() + .getParent())); } }; container.add(dataView);