<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="lib" path="war/WEB-INF/lib/appengine-api-1.0-sdk-1.2.0.jar"/>
- <classpathentry kind="lib" path="war/WEB-INF/lib/datanucleus-appengine-1.0.0.final.jar"/>
- <classpathentry kind="lib" path="war/WEB-INF/lib/datanucleus-core-1.1.0.jar"/>
<classpathentry kind="lib" path="war/WEB-INF/lib/datanucleus-jpa-1.1.0.jar"/>
- <classpathentry kind="lib" path="war/WEB-INF/lib/geronimo-jpa_3.0_spec-1.1.1.jar"/>
- <classpathentry kind="lib" path="war/WEB-INF/lib/geronimo-jta_1.1_spec-1.1.1.jar"/>
- <classpathentry kind="lib" path="war/WEB-INF/lib/jdo2-api-2.3-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="war/WEB-INF/lib/logback-classic-0.9.15.jar"/>
<classpathentry kind="lib" path="war/WEB-INF/lib/logback-core-0.9.15.jar"/>
<classpathentry kind="lib" path="war/WEB-INF/lib/slf4j-api-1.5.6.jar"/>
<classpathentry kind="lib" path="war/WEB-INF/lib/wicket-1.3.5.jar"/>
<classpathentry kind="lib" path="war/WEB-INF/lib/wicket-extensions-1.3.5.jar"/>
<classpathentry kind="lib" path="war/WEB-INF/lib/wicket-ioc-1.3.5.jar"/>
- <classpathentry kind="con" path="com.google.appengine.eclipse.core.GAE_CONTAINER/App Engine (1)"/>
+ <classpathentry kind="con" path="com.google.appengine.eclipse.core.GAE_CONTAINER"/>
<classpathentry kind="lib" path="war/WEB-INF/lib/webbeans-wicket-1.0.0-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="war/WEB-INF/lib/webbeans-servlet-1.0.0-SNAPSHOT.jar"/>
+ <classpathentry kind="lib" path="war/WEB-INF/lib/asm-3.1.jar"/>
+ <classpathentry kind="lib" path="war/WEB-INF/lib/datanucleus-enhancer-1.1.0.jar"/>
<classpathentry kind="output" path="war/WEB-INF/classes"/>
</classpath>
--- /dev/null
+.*.class
+
--- /dev/null
+#Mon May 25 00:56:11 JST 2009
+eclipse.preferences.version=1
+filesCopiedToWebInfLib=jdo2-api-2.3-SNAPSHOT.jar|datanucleus-core-1.1.0.jar|datanucleus-appengine-1.0.1.final.jar|geronimo-jta_1.1_spec-1.1.1.jar|geronimo-jpa_3.0_spec-1.1.1.jar|datanucleus-jpa-1.1.0.jar|appengine-api-1.0-sdk-1.2.1.jar
-#Sat May 16 21:17:03 JST 2009\r
-eclipse.preferences.version=1\r
-encoding//src/jp/sourceforge/manganetwork/page/HomePage.html=UTF-8\r
-encoding//src/jp/sourceforge/manganetwork/page/LoginPage.html=UTF-8\r
-encoding//src/jp/sourceforge/manganetwork/page/LoginPage.java=UTF-8\r
-encoding//src/jp/sourceforge/manganetwork/page/MenuApplicationPage.html=UTF-8\r
-encoding/<project>=UTF-8\r
+#Sun May 24 23:26:12 JST 2009
+eclipse.preferences.version=1
+encoding//src/jp/sourceforge/manganetwork/page/BookSearchPage.html=UTF-8
+encoding//src/jp/sourceforge/manganetwork/page/HomePage.html=UTF-8
+encoding//src/jp/sourceforge/manganetwork/page/LoginPage.html=UTF-8
+encoding//src/jp/sourceforge/manganetwork/page/LoginPage.java=UTF-8
+encoding//src/jp/sourceforge/manganetwork/page/MenuApplicationPage.html=UTF-8
+encoding/<project>=UTF-8
--- /dev/null
+/*
+ * This program 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 2, or (at your option)
+ * any later version.
+
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
+
+ <persistence-unit name="transactions-optional">
+ <provider>org.datanucleus.store.appengine.jpa.DatastorePersistenceProvider</provider>
+ <properties>
+ <property name="datanucleus.NontransactionalRead" value="true"/>
+ <property name="datanucleus.NontransactionalWrite" value="true"/>
+ <property name="datanucleus.ConnectionURL" value="appengine"/>
+ </properties>
+ </persistence-unit>
+
+</persistence>
+++ /dev/null
-package jp.sourceforge.manganetwork;\r
-\r
-import org.apache.wicket.application.ReloadingClassLoader;\r
-\r
-public class ReloadingWicketFilter extends org.apache.wicket.protocol.http.ReloadingWicketFilter {\r
- static\r
- {\r
- ReloadingClassLoader.includePattern("jp.sourceforge.*");\r
- }\r
-\r
-}\r
package jp.sourceforge.manganetwork;\r
\r
-import jp.sourceforge.manganetwork.page.AdminHomePage;\r
+import jp.sourceforge.manganetwork.page.BookRegistPage;\r
+import jp.sourceforge.manganetwork.page.BookSearchPage;\r
+import jp.sourceforge.manganetwork.page.HomePage;\r
import jp.sourceforge.manganetwork.page.LoginPage;\r
import jp.sourceforge.manganetwork.web.MyWebRequestCycleProcessor;\r
import jp.sourceforge.manganetwork.web.UserSession;\r
\r
import org.apache.wicket.Request;\r
-import org.apache.wicket.RequestCycle;\r
import org.apache.wicket.Response;\r
import org.apache.wicket.Session;\r
import org.apache.wicket.protocol.http.HttpSessionStore;\r
-import org.apache.wicket.protocol.http.WebApplication;\r
import org.apache.wicket.request.IRequestCycleProcessor;\r
import org.apache.wicket.session.ISessionStore;\r
import org.jboss.webbeans.wicket.WebBeansApplication;\r
super.init();\r
setEncoding();\r
getResourceSettings().setResourcePollFrequency(null);\r
- mountBookmarkablePage("/admin", AdminHomePage.class);\r
+ mountBookmarkablePage("/home", HomePage.class);\r
+ mountBookmarkablePage("/booksearch", BookSearchPage.class);\r
+ mountBookmarkablePage("/bookregist", BookRegistPage.class);\r
}\r
\r
private void setEncoding() {\r
--- /dev/null
+package jp.sourceforge.manganetwork.dao;
+
+import javax.persistence.EntityManagerFactory;
+import javax.persistence.Persistence;
+
+public final class EMF {
+ private static final EntityManagerFactory emfInstance =
+ Persistence.createEntityManagerFactory("transactions-optional");
+
+ private EMF() {}
+
+ public static EntityManagerFactory get() {
+ return emfInstance;
+ }
+}
--- /dev/null
+/*
+ * This program 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 2, or (at your option)
+ * any later version.
+
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+ package jp.sourceforge.manganetwork.model;
+
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+
+@Entity
+public class Book {
+ @Id
+ @GeneratedValue(strategy = GenerationType.IDENTITY)
+ private Long id;
+
+ private String name;
+
+
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+
+}
--- /dev/null
+/*
+ * This program 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 2, or (at your option)
+ * any later version.
+
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+ package jp.sourceforge.manganetwork.model;
+
+public class User {
+ private String name;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+}
-package jp.sourceforge.manganetwork.page;\r
+/*
+ * This program 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 2, or (at your option)
+ * any later version.
+
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+ package jp.sourceforge.manganetwork.page;\r
\r
-\r
-/**\r
- * @author nobu\r
- */\r
public class AdminHomePage extends ApplicationPage {\r
\r
}\r
-package jp.sourceforge.manganetwork.page;\r
+/*
+ * This program 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 2, or (at your option)
+ * any later version.
+
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+ package jp.sourceforge.manganetwork.page;\r
\r
import jp.sourceforge.manganetwork.model.User;\r
import jp.sourceforge.manganetwork.web.UserSession;\r
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<body>
+ <wicket:extend>
+ <form wicket:id="form">
+ <table border="0">
+ <tr>
+ <td>本の名前</td>
+ <td><input type="text" wicket:id="bookName"/></td>
+ </tr>
+ </table>
+ <input type="submit" value="登録" />
+ </form>
+ </wicket:extend>
+</body>
+</html>
+
--- /dev/null
+/*
+ * This program 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 2, or (at your option)
+ * any later version.
+
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+ package jp.sourceforge.manganetwork.page;
+
+import javax.persistence.EntityManager;
+
+import jp.sourceforge.manganetwork.dao.EMF;
+import jp.sourceforge.manganetwork.model.Book;
+
+import org.apache.wicket.markup.html.form.Form;
+import org.apache.wicket.markup.html.form.TextField;
+import org.apache.wicket.model.PropertyModel;
+
+public class BookRegistPage extends MenuApplicationPage {
+ private Book book;
+
+ public BookRegistPage()
+ {
+ book = new Book();
+ add(createForm());
+ }
+
+ private Form createForm() {
+ Form form = new Form("form")
+ {
+
+ @Override
+ protected void onSubmit() {
+
+ EntityManager em = EMF.get().createEntityManager();
+ em.persist(book);
+ em.close();
+
+ super.onSubmit();
+ }
+
+ };
+
+ form.add(new TextField("bookName", new PropertyModel(book, "name")));
+ return form;
+ }
+}
+
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<body>
+ <wicket:extend>
+ <form wicket:id="form">
+ <table border="0">
+ <tr>
+ <td>本の名前</td>
+ <td><input type="text" wicket:id="searchBookName"/></td>
+ </tr>
+ </table>
+ <input type="submit" value="検索" />
+ </form>
+ </wicket:extend>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+/*
+ * This program 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 2, or (at your option)
+ * any later version.
+
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+ package jp.sourceforge.manganetwork.page;
+
+import java.util.List;
+
+import javax.persistence.EntityManager;
+
+import jp.sourceforge.manganetwork.dao.EMF;
+import jp.sourceforge.manganetwork.model.Book;
+
+import org.apache.wicket.Component;
+import org.apache.wicket.markup.html.form.Form;
+import org.apache.wicket.markup.html.form.TextField;
+import org.apache.wicket.model.Model;
+
+public class BookSearchPage extends MenuApplicationPage {
+ private Model searchBookNameModel;
+
+ public BookSearchPage()
+ {
+ searchBookNameModel = new Model();
+ add(createForm());
+ }
+
+ private Component createForm() {
+ Form form = new Form("form")
+ {
+ @Override
+ protected void onSubmit() {
+
+ EntityManager em = EMF.get().createEntityManager();
+ List<Book> bookList = em.createQuery("select b from "+Book.class.getName()+" b").getResultList();
+
+ for (Book book : bookList)
+ {
+ System.out.println(">>>BOOK.NAME : " + book.getName());
+ }
+ em.close();
+
+ super.onSubmit();
+ }
+ };
+
+ form.add(new TextField("searchBookName", searchBookNameModel));
+ return form;
+ }
+}
--- /dev/null
+/*
+ * This program 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 2, or (at your option)
+ * any later version.
+
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+ package jp.sourceforge.manganetwork.page;
+
+import java.io.Serializable;
+
+import javax.annotation.Named;
+import javax.context.RequestScoped;
+
+@Named
+@RequestScoped
+public class HelloService implements Serializable {
+ public String say()
+ {
+ return "HELLO1";
+ }
+}
-package jp.sourceforge.manganetwork.page;\r
+/*
+ * This program 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 2, or (at your option)
+ * any later version.
+
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+ package jp.sourceforge.manganetwork.page;\r
\r
import javax.inject.Current;\r
\r
import org.apache.wicket.markup.html.basic.Label;\r
\r
-/**\r
- * @author nobu\r
- */\r
public class HomePage extends MenuApplicationPage {\r
@Current HelloService helloService;\r
\r
-package jp.sourceforge.manganetwork.page;\r
-\r
-import javax.inject.Current;\r
+/*
+ * This program 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 2, or (at your option)
+ * any later version.
+
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+ package jp.sourceforge.manganetwork.page;\r
\r
import jp.sourceforge.manganetwork.model.User;\r
import jp.sourceforge.manganetwork.web.UserSession;\r
import org.apache.wicket.markup.html.form.TextField;\r
import org.apache.wicket.model.Model;\r
\r
-/**\r
- * @author nobu\r
- */\r
public class LoginPage extends ApplicationPage {\r
\r
public LoginPage()\r
<script type="text/javascript" src="javascripts/spinelz/menubar.js"></script>\r
<link rel="stylesheet" href="stylesheets/spinelz/menubar.css" type="text/css" />\r
</wicket:link>\r
+ <script type="text/javascript">\r
+ function changePage(path)\r
+ {\r
+ location.href=path\r
+ }\r
+ </script>\r
</wicket:head>\r
</head>\r
<body>\r
- <wicket:extend>\r
+ <wicket:extend> \r
<div align="right">\r
<a href="#" wicket:id="loginLink">ログイン</a>\r
<a href="#" wicket:id="logoutLink">ログアウト</a>\r
</div>\r
<div id="menucontents">\r
- <div>ホーム</div>\r
+ <div><a href="/home" onclick="changePage('/home');">ホーム</a></div>\r
<div>本\r
- <div>検索</div>\r
- <div>登録</div>\r
+ <div><a href="/booksearch" onclick="changePage('/booksearch');">検索</a></div> \r
+ <div><a href="/booksearch" onclick="changePage('/bookregist');">登録</a></div>\r
</div>\r
<div>ワークフロー\r
<div>検索</div>\r
-package jp.sourceforge.manganetwork.page;\r
+/*
+ * This program 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 2, or (at your option)
+ * any later version.
+
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+ package jp.sourceforge.manganetwork.page;\r
\r
import org.apache.wicket.markup.html.link.PageLink;\r
\r
-\r
public class MenuApplicationPage extends ApplicationPage {\r
\r
public MenuApplicationPage()\r
--- /dev/null
+/*
+ * This program 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 2, or (at your option)
+ * any later version.
+
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+ package jp.sourceforge.manganetwork.web;
+
+import org.apache.wicket.protocol.http.WebRequestCycleProcessor;
+
+public class MyWebRequestCycleProcessor extends WebRequestCycleProcessor {
+
+}
--- /dev/null
+/*
+ * This program 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 2, or (at your option)
+ * any later version.
+
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+ package jp.sourceforge.manganetwork.web;
+
+import jp.sourceforge.manganetwork.model.User;
+
+import org.apache.wicket.Request;
+import org.apache.wicket.Session;
+
+public class UserSession extends Session {
+ private User user;
+
+ public UserSession(Request request) {
+ super(request);
+ // TODO Auto-generated constructor stub
+ }
+
+ @Override
+ public void cleanupFeedbackMessages() {
+ // TODO Auto-generated method stub
+
+ }
+
+ public User getUser() {
+ return user;
+ }
+
+ public void setUser(User user) {
+ this.user = user;
+ }
+
+}
log4j.appender.A1=org.apache.log4j.ConsoleAppender\r
log4j.appender.A1.layout=org.apache.log4j.PatternLayout\r
log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%c] - %m%n\r
-log4j.rootLogger=debug, A1\r
+log4j.rootLogger=INFO, A1\r
\r
# tighten logging on the DataNucleus Categories\r
+log4j.category.org.apache.wicket.=WARN, A1\r
log4j.category.DataNucleus.JDO=WARN, A1\r
log4j.category.DataNucleus.Persistence=WARN, A1\r
log4j.category.DataNucleus.Cache=WARN, A1\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<configuration debug="true">
+
+ <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS z,JST} %-5level [%thread] %logger - %msg%n</Pattern>
+ </layout>
+ </appender>
+
+ <logger name="org.apache.wicket">
+ <level value="INFO" />
+ <appender-ref ref="stdout" />
+ </logger>
+
+ <root>
+ <level value="ERROR" />
+ <appender-ref ref="stdout" />
+ </root>
+</configuration>
\ No newline at end of file
--- /dev/null
+<!-- Indices written at Mon, 25 May 2009 14:33:50 UTC -->
+
+<datastore-indexes/>
+
.level = WARNING\r
\r
# Set the default logging level for ORM, specifically, to WARNING\r
+org.apache.wicket.level=WARNING\r
DataNucleus.JDO.level=WARNING\r
DataNucleus.Persistence.level=WARNING\r
DataNucleus.Cache.level=WARNING\r