Skip to content

Commit

Permalink
Old baseline from 2010
Browse files Browse the repository at this point in the history
  • Loading branch information
Catchwa committed Feb 22, 2012
1 parent ee385bd commit 9772f8c
Show file tree
Hide file tree
Showing 49 changed files with 1,701 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .classpath
@@ -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>
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
gwt-unitCache/
39 changes: 39 additions & 0 deletions .project
@@ -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>
5 changes: 5 additions & 0 deletions .settings/com.google.appengine.eclipse.core.prefs
@@ -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
4 changes: 4 additions & 0 deletions .settings/com.google.gdt.eclipse.core.prefs
@@ -0,0 +1,4 @@
#Wed Feb 22 21:43:52 CST 2012
eclipse.preferences.version=1
warSrcDir=war
warSrcDirIsOutput=true
3 changes: 3 additions & 0 deletions .settings/com.google.gwt.eclipse.core.prefs
@@ -0,0 +1,3 @@
#Wed Feb 22 21:43:52 CST 2012
eclipse.preferences.version=1
filesCopiedToWebInfLib=gwt-servlet.jar
15 changes: 15 additions & 0 deletions src/META-INF/jdoconfig.xml
@@ -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>
24 changes: 24 additions & 0 deletions src/log4j.properties
@@ -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
23 changes: 23 additions & 0 deletions src/org/catchwa/skeetstalker/SkeetStalker.gwt.xml
@@ -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 src/org/catchwa/skeetstalker/client/AnswerTheseService.java
@@ -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 src/org/catchwa/skeetstalker/client/AnswerTheseServiceAsync.java
@@ -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);

}
29 changes: 29 additions & 0 deletions src/org/catchwa/skeetstalker/client/FindUserService.java
@@ -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 src/org/catchwa/skeetstalker/client/FindUserServiceAsync.java
@@ -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 src/org/catchwa/skeetstalker/client/LastOnlineService.java
@@ -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 src/org/catchwa/skeetstalker/client/LastOnlineServiceAsync.java
@@ -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);

}

0 comments on commit 9772f8c

Please sign in to comment.