Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
1,701 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" output="test-classes" path="test"/> | ||
<classpathentry kind="con" path="com.google.appengine.eclipse.core.GAE_CONTAINER"/> | ||
<classpathentry kind="con" path="com.google.gwt.eclipse.core.GWT_CONTAINER"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="lib" path="war/WEB-INF/lib/StackWrap4J.1.0.1.1_beta.jar"/> | ||
<classpathentry kind="output" path="war/WEB-INF/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gwt-unitCache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>SkeetStalker</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.google.gdt.eclipse.core.webAppProjectValidator</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.google.gwt.eclipse.core.gwtProjectValidator</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.google.appengine.eclipse.core.projectValidator</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.google.appengine.eclipse.core.enhancerbuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>com.google.appengine.eclipse.core.gaeNature</nature> | ||
<nature>com.google.gwt.eclipse.core.gwtNature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#Wed Feb 22 21:43:53 CST 2012 | ||
eclipse.preferences.version=1 | ||
filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.6.1.jar|appengine-api-labs-1.6.1.jar|appengine-jsr107cache-1.6.1.jar|jsr107cache-1.1.jar|datanucleus-appengine-1.0.10.final.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|google_sql.jar | ||
gaeHrdEnabled=true | ||
gaeIsEclipseDefaultInstPath=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#Wed Feb 22 21:43:52 CST 2012 | ||
eclipse.preferences.version=1 | ||
warSrcDir=war | ||
warSrcDirIsOutput=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#Wed Feb 22 21:43:52 CST 2012 | ||
eclipse.preferences.version=1 | ||
filesCopiedToWebInfLib=gwt-servlet.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<jdoconfig xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig"> | ||
|
||
<persistence-manager-factory name="transactions-optional"> | ||
<property name="javax.jdo.PersistenceManagerFactoryClass" | ||
value="org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFactory"/> | ||
<property name="javax.jdo.option.ConnectionURL" value="appengine"/> | ||
<property name="javax.jdo.option.NontransactionalRead" value="true"/> | ||
<property name="javax.jdo.option.NontransactionalWrite" value="true"/> | ||
<property name="javax.jdo.option.RetainValues" value="true"/> | ||
<property name="datanucleus.appengine.autoCreateDatastoreTxns" value="true"/> | ||
</persistence-manager-factory> | ||
</jdoconfig> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# A default log4j configuration for log4j users. | ||
# | ||
# To use this configuration, deploy it into your application's WEB-INF/classes | ||
# directory. You are also encouraged to edit it as you like. | ||
|
||
# Configure the console as our one appender | ||
log4j.appender.A1=org.apache.log4j.ConsoleAppender | ||
log4j.appender.A1.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%c] - %m%n | ||
|
||
# tighten logging on the DataNucleus Categories | ||
log4j.category.DataNucleus.JDO=WARN, A1 | ||
log4j.category.DataNucleus.Persistence=WARN, A1 | ||
log4j.category.DataNucleus.Cache=WARN, A1 | ||
log4j.category.DataNucleus.MetaData=WARN, A1 | ||
log4j.category.DataNucleus.General=WARN, A1 | ||
log4j.category.DataNucleus.Utility=WARN, A1 | ||
log4j.category.DataNucleus.Transaction=WARN, A1 | ||
log4j.category.DataNucleus.Datastore=WARN, A1 | ||
log4j.category.DataNucleus.ClassLoading=WARN, A1 | ||
log4j.category.DataNucleus.Plugin=WARN, A1 | ||
log4j.category.DataNucleus.ValueGeneration=WARN, A1 | ||
log4j.category.DataNucleus.Enhancer=WARN, A1 | ||
log4j.category.DataNucleus.SchemaTool=WARN, A1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module rename-to='skeetstalker'> | ||
<!-- Inherit the core Web Toolkit stuff. --> | ||
<inherits name='com.google.gwt.user.User'/> | ||
|
||
<!-- Inherit the default GWT style sheet. You can change --> | ||
<!-- the theme of your GWT application by uncommenting --> | ||
<!-- any one of the following lines. --> | ||
<inherits name='com.google.gwt.user.theme.clean.Clean'/> | ||
<!-- <inherits name='com.google.gwt.user.theme.standard.Standard'/> --> | ||
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> --> | ||
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> --> | ||
|
||
<!-- Other module inherits --> | ||
|
||
<!-- Specify the app entry point class. --> | ||
<entry-point class='org.catchwa.skeetstalker.client.SkeetStalker'/> | ||
|
||
<!-- Specify the paths for translatable code --> | ||
<source path='client'/> | ||
<source path='shared'/> | ||
|
||
</module> |
29 changes: 29 additions & 0 deletions
29
src/org/catchwa/skeetstalker/client/AnswerTheseService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Copyright 2010 Andrew Brock | ||
* | ||
* This file is part of SkeetStalker. | ||
* | ||
* SkeetStalker is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* SkeetStalker is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with SkeetStalker. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.catchwa.skeetstalker.client; | ||
|
||
import com.google.gwt.user.client.rpc.RemoteService; | ||
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; | ||
|
||
@RemoteServiceRelativePath("answerThese") | ||
public interface AnswerTheseService extends RemoteService { | ||
|
||
String[] getQuestions(int id, String site); | ||
} |
28 changes: 28 additions & 0 deletions
28
src/org/catchwa/skeetstalker/client/AnswerTheseServiceAsync.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright 2010 Andrew Brock | ||
* | ||
* This file is part of SkeetStalker. | ||
* | ||
* SkeetStalker is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* SkeetStalker is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with SkeetStalker. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.catchwa.skeetstalker.client; | ||
|
||
import com.google.gwt.user.client.rpc.AsyncCallback; | ||
|
||
public interface AnswerTheseServiceAsync { | ||
|
||
void getQuestions(int id, String site, AsyncCallback<String[]> callback); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Copyright 2010 Andrew Brock | ||
* | ||
* This file is part of SkeetStalker. | ||
* | ||
* SkeetStalker is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* SkeetStalker is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with SkeetStalker. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.catchwa.skeetstalker.client; | ||
|
||
import com.google.gwt.user.client.rpc.RemoteService; | ||
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; | ||
|
||
@RemoteServiceRelativePath("findUser") | ||
public interface FindUserService extends RemoteService { | ||
|
||
String[] getUsers(String name, String site); | ||
} |
28 changes: 28 additions & 0 deletions
28
src/org/catchwa/skeetstalker/client/FindUserServiceAsync.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright 2010 Andrew Brock | ||
* | ||
* This file is part of SkeetStalker. | ||
* | ||
* SkeetStalker is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* SkeetStalker is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with SkeetStalker. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.catchwa.skeetstalker.client; | ||
|
||
import com.google.gwt.user.client.rpc.AsyncCallback; | ||
|
||
public interface FindUserServiceAsync { | ||
|
||
void getUsers(String name, String site, AsyncCallback<String[]> callback); | ||
|
||
} |
29 changes: 29 additions & 0 deletions
29
src/org/catchwa/skeetstalker/client/LastOnlineService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Copyright 2010 Andrew Brock | ||
* | ||
* This file is part of SkeetStalker. | ||
* | ||
* SkeetStalker is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* SkeetStalker is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with SkeetStalker. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.catchwa.skeetstalker.client; | ||
|
||
import com.google.gwt.user.client.rpc.RemoteService; | ||
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; | ||
|
||
@RemoteServiceRelativePath("lastOnline") | ||
public interface LastOnlineService extends RemoteService { | ||
|
||
String getLastOnline(int id, String site); | ||
} |
28 changes: 28 additions & 0 deletions
28
src/org/catchwa/skeetstalker/client/LastOnlineServiceAsync.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright 2010 Andrew Brock | ||
* | ||
* This file is part of SkeetStalker. | ||
* | ||
* SkeetStalker is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* SkeetStalker is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with SkeetStalker. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.catchwa.skeetstalker.client; | ||
|
||
import com.google.gwt.user.client.rpc.AsyncCallback; | ||
|
||
public interface LastOnlineServiceAsync { | ||
|
||
void getLastOnline(int id, String site, AsyncCallback<String> callback); | ||
|
||
} |
Oops, something went wrong.