mud4j-commit Mailing List for mud4j (Page 4)
Status: Pre-Alpha
Brought to you by:
mpurland
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(57) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(31) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(20) |
Jul
|
Aug
|
Sep
(1) |
Oct
(14) |
Nov
(2) |
Dec
|
2008 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <mpu...@us...> - 2006-12-30 06:39:48
|
Revision: 86 http://mud4j.svn.sourceforge.net/mud4j/?rev=86&view=rev Author: mpurland Date: 2006-12-29 22:39:47 -0800 (Fri, 29 Dec 2006) Log Message: ----------- Add idea for features. Modified Paths: -------------- trunk/mud4j/src/site/xdoc/ideas.xml Modified: trunk/mud4j/src/site/xdoc/ideas.xml =================================================================== --- trunk/mud4j/src/site/xdoc/ideas.xml 2006-12-30 06:39:16 UTC (rev 85) +++ trunk/mud4j/src/site/xdoc/ideas.xml 2006-12-30 06:39:47 UTC (rev 86) @@ -45,6 +45,13 @@ external containers. </li> + <li> + Implement a help system similar to an internal wiki. Attempt + to utilize existing open source projects. This will involve + allowing it to be compatible with multiple pluggable view handlers. + (telnet and web). + </li> + <h3>Game</h3> <li> Allow characters and objects to be interchangeable in certain instances. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-30 06:39:17
|
Revision: 85 http://mud4j.svn.sourceforge.net/mud4j/?rev=85&view=rev Author: mpurland Date: 2006-12-29 22:39:16 -0800 (Fri, 29 Dec 2006) Log Message: ----------- Comment out methods. Not implemented yet. Modified Paths: -------------- trunk/mud4j-web/src/java/net/sf/mud4j/web/LoginController.java Modified: trunk/mud4j-web/src/java/net/sf/mud4j/web/LoginController.java =================================================================== --- trunk/mud4j-web/src/java/net/sf/mud4j/web/LoginController.java 2006-12-30 06:38:25 UTC (rev 84) +++ trunk/mud4j-web/src/java/net/sf/mud4j/web/LoginController.java 2006-12-30 06:39:16 UTC (rev 85) @@ -29,7 +29,7 @@ * @author Matthew Purland */ public class LoginController implements Controller { - + /** * {@inheritDoc} */ @@ -37,19 +37,19 @@ String username = request.getParameter("username"); String password = request.getParameter("password"); - Account account = null; + return null; - if (account == null) { - return new ModelAndView("Error", "message", - "Invalid username or password. Login failed." ); - } - else { - UserSession session = new UserSession(account); - - request.getSession().setAttribute("userSession", session); - - return new ModelAndView("index"); - } +// if (account == null) { +// return new ModelAndView("Error", "message", +// "Invalid username or password. Login failed." ); +// } +// else { +// UserSession session = new UserSession(account); +// +// request.getSession().setAttribute("userSession", session); +// +// return new ModelAndView("index"); +// } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-30 06:38:26
|
Revision: 84 http://mud4j.svn.sourceforge.net/mud4j/?rev=84&view=rev Author: mpurland Date: 2006-12-29 22:38:25 -0800 (Fri, 29 Dec 2006) Log Message: ----------- Update to not fail on error for when deploying to SF. Modified Paths: -------------- trunk/mud4j/project.properties Modified: trunk/mud4j/project.properties =================================================================== --- trunk/mud4j/project.properties 2006-12-30 06:22:37 UTC (rev 83) +++ trunk/mud4j/project.properties 2006-12-30 06:38:25 UTC (rev 84) @@ -35,6 +35,7 @@ maven.site.deploy.clean=false maven.site.deploy.live=true maven.site.deploy.method=ssh +maven.site.failonerror=false # Maven multiproject plugin maven.multiproject.aggregateDir=projects/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-30 06:22:39
|
Revision: 83 http://mud4j.svn.sourceforge.net/mud4j/?rev=83&view=rev Author: mpurland Date: 2006-12-29 22:22:37 -0800 (Fri, 29 Dec 2006) Log Message: ----------- Add new design considerations and ideas as xdoc. Will be placing ideas in xdoc and todo in todo file for now. Modified Paths: -------------- trunk/mud4j/src/site/xdoc/index.xml trunk/mud4j/src/site/xdoc/navigation.xml trunk/mud4j-core/doc/todo.txt Added Paths: ----------- trunk/mud4j/src/site/xdoc/design-considerations.xml trunk/mud4j/src/site/xdoc/ideas.xml Added: trunk/mud4j/src/site/xdoc/design-considerations.xml =================================================================== --- trunk/mud4j/src/site/xdoc/design-considerations.xml (rev 0) +++ trunk/mud4j/src/site/xdoc/design-considerations.xml 2006-12-30 06:22:37 UTC (rev 83) @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<document> + <properties> + <title>Design Considerations</title> + <author email="mpu...@us...">Matthew Purland</author> + </properties> + + <!-- An optional head, the description is used for the sitemap. --> + <head> + <meta name="keywords" content="mud4j developer design considerations"/> + <meta name="description" content="mud4j developer design considerations"/> + </head> + + <body> + <h2>Design Considerations</h2> + + <p>These are my thoughts on design considerations.</p> + + <p> + The project is supposed to be a framework for other developers or end-users to use. + It will provide a developer API and will also be functional from a JAR/WAR. It + deviates from the only approach I have seen (the traditional approach). + </p> + + <p> + I am deviating from that approach by providing the core framework (mud4j-core) + and implementing it as if the end application were a multi-tiered enterprise + application. + </p> + + <p> + Multiple pluggable front-ends will be provided to the core framework. This will + include web, and for telnet (mud4j-web, and mud4j-telnet). They will access the + core framework just the same, but I will be implementing this as part of view + pattern and using a two-step view most likely to accomplish this. + </p> + + <p> + It should not be designed for any particular container. The design will include + normal POJOs with a domain model pattern approach. + </p> + + <p> + Spring for IoC and dependency injection with transactional support and + hibernate because I like hibernate better than other ORM mapping frameworks. + </p> + + <p> + I will also plan to use Acegi for security concerns. I haven't designed on what type + of view strategy I want to use. View transformation or something else. + </p> + + <p>Any thoughts or concerns, please do not hesitate to email the project. + </p> + </body> +</document> \ No newline at end of file Added: trunk/mud4j/src/site/xdoc/ideas.xml =================================================================== --- trunk/mud4j/src/site/xdoc/ideas.xml (rev 0) +++ trunk/mud4j/src/site/xdoc/ideas.xml 2006-12-30 06:22:37 UTC (rev 83) @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<document> + <properties> + <title>Ideas</title> + <author email="mpu...@us...">Matthew Purland</author> + </properties> + + <!-- An optional head, the description is used for the sitemap. --> + <head> + <meta name="keywords" content="mud4j developer idea ideas"/> + <meta name="description" content="mud4j developer idea ideas"/> + </head> + + <body> + <h2>Ideas</h2> + <ul> + <h3>Features</h3> + <li>Use aspects. Preferably AspectJ, but may use Spring AOP.</li> + + <li>Implement usage of Spring. Define beans.</li> + + <li> + Implement objects using DAOs (POJOs). Example program areas and worlds as + DAOs. Anything with data attached to it should be a POJO with an associated + DAO. + </li> + + <li> + Create front-end (Swing or Web) for world building and administration. + </li> + + <li>Groovy scripting.</li> + + <li>Support of multiple databases through Spring/hibernate.</li> + + <li> + Usage of HSQLDB for embeddable database support. Will allow ability to + switch to MySQL/Postgres and other drivers supported by hibernate and + spring. + </li> + + <li> + For mud4j-web, embed Jetty container and build WAR for inclusion in + external containers. + </li> + + <h3>Game</h3> + <li> + Allow characters and objects to be interchangeable in certain instances. + Especially at the root level. This would allow certain spells to be castable + upon players and objects. + </li> + + <li>Allow a trackable map for the character to have.</li> + + <li> + Implement composite pattern for items. Treat a collection of items the same + as a single item. + </li> + + <li>Implement tile-based system for worlds/locations (aka rooms)</li> + <li> + Implement floating-based system for movement instead. This would allow + adoption of framework in different types of game systems such as 3D or 2D + isometric games. + </li> + + <li>Command pattern for mud4j commands issued to the core server.</li> + + <li> + For views of core, implement using a two-stage view either using a template + view, or a transform view for web and telnet. + </li> + + <li> + Time (implementation of ticks with observer pattern) to allow runtime + configuration of listeners for when a tick happens all listeners should be + notified. + </li> + </ul> + </body> +</document> \ No newline at end of file Modified: trunk/mud4j/src/site/xdoc/index.xml =================================================================== --- trunk/mud4j/src/site/xdoc/index.xml 2006-12-30 05:42:47 UTC (rev 82) +++ trunk/mud4j/src/site/xdoc/index.xml 2006-12-30 06:22:37 UTC (rev 83) @@ -1,34 +1,44 @@ <?xml version="1.0" encoding="UTF-8"?> <document> - <properties> - <title>Home</title> - <author email="mpu...@us...">Matthew Purland</author> - </properties> - - <!-- An optional head, the description is used for the sitemap. --> - <head> - - <meta name="keywords" - content="mud4j mud game framework"/> - <meta name="description" - content="mud and game framework"/> - </head> - - <body> - - <section name="Overview"> - <p> - A framework for MUD and game servers to separate the domain - and select business logic and features of creating a game server - and let dependent projects focus on game specific logic and content. - </p> - </section> - - <section name="Status"> - <p>Initial source is in SVN.</p> - <p>Any questions, please email the user or developer list, as appropriate.</p> - </section> - - </body> + <properties> + <title>Home</title> + <author email="mpu...@us...">Matthew Purland</author> + </properties> + + <!-- An optional head, the description is used for the sitemap. --> + <head> + + <meta name="keywords" content="mud4j mud game framework"/> + <meta name="description" content="mud and game framework"/> + </head> + + <body> + + <section name="Overview"> + <p> A framework for MUD and game servers to separate logic into domain tiers. This + will separate business logic and features of creating a game server and also + let dependent projects focus on game domain logic and content. + </p> + </section> + + <section name="Development"> + <p> + Click + <a href="design-considerations.html">here</a> for information on design + considerations. + </p> + + <p> + Click <a href="ideas.html">here</a> for information on ideas. + </p> + </section> + + + <section name="Status"> + <p>Initial source is in SVN.</p> + <p>Any questions, please email the user or developer list, as appropriate.</p> + </section> + + </body> </document> \ No newline at end of file Modified: trunk/mud4j/src/site/xdoc/navigation.xml =================================================================== --- trunk/mud4j/src/site/xdoc/navigation.xml 2006-12-30 05:42:47 UTC (rev 82) +++ trunk/mud4j/src/site/xdoc/navigation.xml 2006-12-30 06:22:37 UTC (rev 83) @@ -19,7 +19,8 @@ <!-- Documentation for mud4j project, cannot use common because this is not a real component --> <menu name="Developer Docs"> - <!-- Insert content here --> + <item name="Design Considerations" href="design-considerations.html"/> + <item name="Ideas" href="ideas.html"/> </menu> &activity; <!-- Project reports --> Modified: trunk/mud4j-core/doc/todo.txt =================================================================== --- trunk/mud4j-core/doc/todo.txt 2006-12-30 05:42:47 UTC (rev 82) +++ trunk/mud4j-core/doc/todo.txt 2006-12-30 06:22:37 UTC (rev 83) @@ -1,53 +1,4 @@ mud4j todo ---------- * Change Simian threshold to be below 10 lines in Maven. - -Features --------- -* Use aspects. Preferably AspectJ, but may use Spring AOP. - -* Implement usage of Spring. Define beans. - -* Implement objects using DAOs (POJOs). Example program areas and worlds as - DAOs. Anything with data attached to it should be a POJO with an - associated DAO. - -* Use maven with reports. Use hibernate 3 plugin when using hibernate. - -* Create Swing application for world building and administration. OR - what about a web application that accesses game directly or through SOAP? - -* Groovy scripting - -* Support of multiple databases through Spring/hibernate. - -* Usage of HSQLDB for embeddable database support. Will allow ability to - switch to MySQL/Postgres and other drivers supported by hibernate and spring. - -* For mud4j-web, embed Jetty container and build WAR for inclusion in external - containers. - -Game ----- -* Allow characters and objects to be interchangeable in certain instances. - Especially at the root level. This would allow certain spells to be castable - upon players and objects. - -* Allow a trackable map for the character to have. - -* Implement composite pattern for items. Treat a collection of items - the same as a single item. - -* Implement tile-based system for worlds/locations (aka rooms) -* Implement floating-based system for movement instead. This would - allow adoption of framework in different types of game systems - such as 3D or 2D isometric games. - -* Command pattern for mud4j commands issued to the core server - -* For views of core, implement using a two-stage view either using a - template view, or a transform view for web and telnet - -* Time (implementation of ticks with observer pattern) to allow runtime - configuration of listeners for when a tick happens all listeners should - be notified. \ No newline at end of file +* Use maven with reports. Use hibernate 3 plugin when using hibernate. \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-30 05:42:48
|
Revision: 82 http://mud4j.svn.sourceforge.net/mud4j/?rev=82&view=rev Author: mpurland Date: 2006-12-29 21:42:47 -0800 (Fri, 29 Dec 2006) Log Message: ----------- Fix xml file for validation. Modified Paths: -------------- trunk/mud4j/project-root.xml Modified: trunk/mud4j/project-root.xml =================================================================== --- trunk/mud4j/project-root.xml 2006-12-30 05:05:32 UTC (rev 81) +++ trunk/mud4j/project-root.xml 2006-12-30 05:42:47 UTC (rev 82) @@ -129,7 +129,7 @@ <report>maven-cobertura-plugin</report> <report>maven-simian-plugin</report> <report>maven-findbugs-plugin</report> - <report>maven-dashboard-plugin</;report> + <report>maven-dashboard-plugin</report> <!--<report>maven-java-plugin</report>--> </reports> <build> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-30 05:05:33
|
Revision: 81 http://mud4j.svn.sourceforge.net/mud4j/?rev=81&view=rev Author: mpurland Date: 2006-12-29 21:05:32 -0800 (Fri, 29 Dec 2006) Log Message: ----------- Update class and method javadoc comments. Modified Paths: -------------- trunk/mud4j-core/src/java/net/sf/mud4j/ability/Ability.java Modified: trunk/mud4j-core/src/java/net/sf/mud4j/ability/Ability.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/ability/Ability.java 2006-12-30 05:04:35 UTC (rev 80) +++ trunk/mud4j-core/src/java/net/sf/mud4j/ability/Ability.java 2006-12-30 05:05:32 UTC (rev 81) @@ -17,20 +17,18 @@ package net.sf.mud4j.ability; /** - * Ability interface to create basic interface for abilities that - * may be used by commands, or other abilities. + * Ability interface to create basic interface for abilities that may be used by + * commands, or other abilities. An ability is a runnable independent command + * that acts upon a target (Character, Location, Item, etc). * - * An ability is a runnable independent command that acts upon - * a target (Character, Location, Item, etc). - * * @author Matthew Purland */ public interface Ability { /** - * Run the ability. Will throw an exception {@link AbilityException} if - * the ability encounters a problem, or if it cannot continue. + * Run the ability. * - * @throws AbilityException + * @throws AbilityException in case the ability encounters a problem or + * cannot continue. */ public void run() throws AbilityException; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-30 05:04:36
|
Revision: 80 http://mud4j.svn.sourceforge.net/mud4j/?rev=80&view=rev Author: mpurland Date: 2006-12-29 21:04:35 -0800 (Fri, 29 Dec 2006) Log Message: ----------- Add comments to fields. Modified Paths: -------------- trunk/mud4j-core/src/java/net/sf/mud4j/world/item/WeaponItemType.java Modified: trunk/mud4j-core/src/java/net/sf/mud4j/world/item/WeaponItemType.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/world/item/WeaponItemType.java 2006-12-30 05:04:07 UTC (rev 79) +++ trunk/mud4j-core/src/java/net/sf/mud4j/world/item/WeaponItemType.java 2006-12-30 05:04:35 UTC (rev 80) @@ -24,7 +24,9 @@ */ public class WeaponItemType extends AbstractItemType implements ItemType { + // Minimum rating of the weapon private int minRating = 0; + // Maximum rating of the weapon private int maxRating = 0; /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-30 05:04:09
|
Revision: 79 http://mud4j.svn.sourceforge.net/mud4j/?rev=79&view=rev Author: mpurland Date: 2006-12-29 21:04:07 -0800 (Fri, 29 Dec 2006) Log Message: ----------- Update package description. Modified Paths: -------------- trunk/mud4j-core/src/java/net/sf/mud4j/world/item/package.html Modified: trunk/mud4j-core/src/java/net/sf/mud4j/world/item/package.html =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/world/item/package.html 2006-12-30 05:00:56 UTC (rev 78) +++ trunk/mud4j-core/src/java/net/sf/mud4j/world/item/package.html 2006-12-30 05:04:07 UTC (rev 79) @@ -19,7 +19,7 @@ </head> <body> <p> - Provides interfaces and classes for items, item types, attributes, and their behaviors. + Provides interfaces and classes for items, item types, and their behaviors. </p> </body> </html> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-30 05:00:57
|
Revision: 78 http://mud4j.svn.sourceforge.net/mud4j/?rev=78&view=rev Author: mpurland Date: 2006-12-29 21:00:56 -0800 (Fri, 29 Dec 2006) Log Message: ----------- Delete item attribute. Package will not support this. Removed Paths: ------------- trunk/mud4j-core/src/java/net/sf/mud4j/world/item/ItemAttribute.java Deleted: trunk/mud4j-core/src/java/net/sf/mud4j/world/item/ItemAttribute.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/world/item/ItemAttribute.java 2006-12-30 04:56:49 UTC (rev 77) +++ trunk/mud4j-core/src/java/net/sf/mud4j/world/item/ItemAttribute.java 2006-12-30 05:00:56 UTC (rev 78) @@ -1,25 +0,0 @@ -/** - * Copyright 2006 Matthew Purland (m.p...@gm...) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package net.sf.mud4j.world.item; - -/** - * Attribute associated with an item that adds special - * - * @author Matthew Purland - */ -public interface ItemAttribute { - public String getAttributeName(); -} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-30 04:56:51
|
Revision: 77 http://mud4j.svn.sourceforge.net/mud4j/?rev=77&view=rev Author: mpurland Date: 2006-12-29 20:56:49 -0800 (Fri, 29 Dec 2006) Log Message: ----------- Update javadoc comments. Modified Paths: -------------- trunk/mud4j-core/src/java/net/sf/mud4j/world/item/ContainerItemType.java Modified: trunk/mud4j-core/src/java/net/sf/mud4j/world/item/ContainerItemType.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/world/item/ContainerItemType.java 2006-12-30 04:55:10 UTC (rev 76) +++ trunk/mud4j-core/src/java/net/sf/mud4j/world/item/ContainerItemType.java 2006-12-30 04:56:49 UTC (rev 77) @@ -19,8 +19,7 @@ import java.util.List; /** - * Container item type for managing a collection of items within - * it. + * Item type for providing behavior to a container item to contain other items. * * @author Matthew Purland */ @@ -62,6 +61,11 @@ return initialCapacity; } + /** + * Get total size of the container. + * + * @return Return size of the container. + */ private int getSize() { return itemList.size(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-30 04:55:20
|
Revision: 76 http://mud4j.svn.sourceforge.net/mud4j/?rev=76&view=rev Author: mpurland Date: 2006-12-29 20:55:10 -0800 (Fri, 29 Dec 2006) Log Message: ----------- Add field comment. Modified Paths: -------------- trunk/mud4j-core/src/java/net/sf/mud4j/world/item/AbstractItem.java Modified: trunk/mud4j-core/src/java/net/sf/mud4j/world/item/AbstractItem.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/world/item/AbstractItem.java 2006-12-30 04:54:30 UTC (rev 75) +++ trunk/mud4j-core/src/java/net/sf/mud4j/world/item/AbstractItem.java 2006-12-30 04:55:10 UTC (rev 76) @@ -27,6 +27,7 @@ */ public class AbstractItem implements Item { + // Name of the item private String itemName; // List of item types This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-30 04:54:32
|
Revision: 75 http://mud4j.svn.sourceforge.net/mud4j/?rev=75&view=rev Author: mpurland Date: 2006-12-29 20:54:30 -0800 (Fri, 29 Dec 2006) Log Message: ----------- Provide class javadoc. Modified Paths: -------------- trunk/mud4j-core/src/java/net/sf/mud4j/account/Account.java Modified: trunk/mud4j-core/src/java/net/sf/mud4j/account/Account.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/account/Account.java 2006-12-30 04:47:59 UTC (rev 74) +++ trunk/mud4j-core/src/java/net/sf/mud4j/account/Account.java 2006-12-30 04:54:30 UTC (rev 75) @@ -16,7 +16,7 @@ package net.sf.mud4j.account; /** - * + * Account for providing username, and password for a system account. * * @author Matthew Purland */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-30 04:48:02
|
Revision: 74 http://mud4j.svn.sourceforge.net/mud4j/?rev=74&view=rev Author: mpurland Date: 2006-12-29 20:47:59 -0800 (Fri, 29 Dec 2006) Log Message: ----------- Add version file to project. Added Paths: ----------- trunk/mud4j-telnet/LICENSE.txt Added: trunk/mud4j-telnet/LICENSE.txt =================================================================== --- trunk/mud4j-telnet/LICENSE.txt (rev 0) +++ trunk/mud4j-telnet/LICENSE.txt 2006-12-30 04:47:59 UTC (rev 74) @@ -0,0 +1,15 @@ +/** + * Copyright 2006 Matthew Purland (m.p...@gm...) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ \ No newline at end of file Property changes on: trunk/mud4j-telnet/LICENSE.txt ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-27 18:03:46
|
Revision: 73 http://mud4j.svn.sourceforge.net/mud4j/?rev=73&view=rev Author: mpurland Date: 2006-12-27 10:03:43 -0800 (Wed, 27 Dec 2006) Log Message: ----------- Update project descriptions. Modified Paths: -------------- trunk/mud4j-telnet/project.xml trunk/mud4j-web/project.xml Modified: trunk/mud4j-telnet/project.xml =================================================================== --- trunk/mud4j-telnet/project.xml 2006-12-27 18:02:20 UTC (rev 72) +++ trunk/mud4j-telnet/project.xml 2006-12-27 18:03:43 UTC (rev 73) @@ -4,10 +4,12 @@ xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd"> <extend>${basedir}/../mud4j/project-root.xml</extend> <shortDescription> - mud4j telnet server. + A mud4j telnet server to provide telnet connectivity. </shortDescription> <description> - mud4j telnet server. + A mud4j telnet server to provide telnet connectivity for servers that + may want web connectivity through telnet and may want certain security + features. </description> <pomVersion>3</pomVersion> <name>mud4j telnet server</name> Modified: trunk/mud4j-web/project.xml =================================================================== --- trunk/mud4j-web/project.xml 2006-12-27 18:02:20 UTC (rev 72) +++ trunk/mud4j-web/project.xml 2006-12-27 18:03:43 UTC (rev 73) @@ -4,10 +4,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd"> <extend>${basedir}/../mud4j/project-root.xml</extend> <shortDescription> - mud4j web. + mud4j web framework for integrating core functions with web presence. </shortDescription> <description> - mud4j web. + An extension of the core framework to provide web presence such to various + view technologies through servlets and embedded solutions. </description> <pomVersion>3</pomVersion> <name>mud4j web</name> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-27 18:02:26
|
Revision: 72 http://mud4j.svn.sourceforge.net/mud4j/?rev=72&view=rev Author: mpurland Date: 2006-12-27 10:02:20 -0800 (Wed, 27 Dec 2006) Log Message: ----------- Update project description and mailing list archive information. Modified Paths: -------------- trunk/mud4j/project-root.xml trunk/mud4j/project.xml Modified: trunk/mud4j/project-root.xml =================================================================== --- trunk/mud4j/project-root.xml 2006-12-25 05:28:19 UTC (rev 71) +++ trunk/mud4j/project-root.xml 2006-12-27 18:02:20 UTC (rev 72) @@ -7,12 +7,6 @@ <name>mud4j</name> <groupId>net.sf</groupId> <package>net.sf.mud4j</package> - <shortDescription> A framework for MUD and game servers. - </shortDescription> - <description> A framework for MUD and game servers to separate the domain and select - business logic and features of creating a game server and let dependent projects - focus on game specific logic and content. - </description> <!-- Details about the organization --> <organization> @@ -135,7 +129,7 @@ <report>maven-cobertura-plugin</report> <report>maven-simian-plugin</report> <report>maven-findbugs-plugin</report> - <report>maven-dashboard-plugin</report> + <report>maven-dashboard-plugin</;report> <!--<report>maven-java-plugin</report>--> </reports> <build> Modified: trunk/mud4j/project.xml =================================================================== --- trunk/mud4j/project.xml 2006-12-25 05:28:19 UTC (rev 71) +++ trunk/mud4j/project.xml 2006-12-27 18:02:20 UTC (rev 72) @@ -10,7 +10,16 @@ <package>net.sf.mud4j</package> <artifactId>mud4j</artifactId> <currentVersion>1.0-SNAPSHOT</currentVersion> - + + <shortDescription> + A framework for MUD and game servers. + </shortDescription> + <description> + A framework for MUD and game servers to sedparate logic into domain tiers. This + will separate business logic and features of creating a game server and also let + dependent projects focus on game domain logic and content. + </description> + <!-- any mailing lists for the project --> <mailingLists> <mailingList> @@ -30,6 +39,7 @@ ${pom.artifactId}-de...@li...</unsubscribe> <post>${pom.artifactId}-de...@li...</post> + <archive>http://sourceforge.net/mailarchive/forum.php?forum_id=51227</archive> </mailingList> <mailingList> <name>Commit List</name> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-25 05:28:20
|
Revision: 71 http://mud4j.svn.sourceforge.net/mud4j/?rev=71&view=rev Author: mpurland Date: 2006-12-24 21:28:19 -0800 (Sun, 24 Dec 2006) Log Message: ----------- Update logout controller. Modified Paths: -------------- trunk/mud4j-web/src/java/net/sf/mud4j/web/LogoutController.java Property Changed: ---------------- trunk/mud4j-web/ Property changes on: trunk/mud4j-web ___________________________________________________________________ Name: svn:ignore + target Modified: trunk/mud4j-web/src/java/net/sf/mud4j/web/LogoutController.java =================================================================== --- trunk/mud4j-web/src/java/net/sf/mud4j/web/LogoutController.java 2006-12-25 05:27:00 UTC (rev 70) +++ trunk/mud4j-web/src/java/net/sf/mud4j/web/LogoutController.java 2006-12-25 05:28:19 UTC (rev 71) @@ -37,6 +37,8 @@ if (session != null) { } + + return null; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-25 05:27:02
|
Revision: 70 http://mud4j.svn.sourceforge.net/mud4j/?rev=70&view=rev Author: mpurland Date: 2006-12-24 21:27:00 -0800 (Sun, 24 Dec 2006) Log Message: ----------- Add license file. Added Paths: ----------- trunk/mud4j-web/LICENSE.txt Added: trunk/mud4j-web/LICENSE.txt =================================================================== --- trunk/mud4j-web/LICENSE.txt (rev 0) +++ trunk/mud4j-web/LICENSE.txt 2006-12-25 05:27:00 UTC (rev 70) @@ -0,0 +1,15 @@ +/** + * Copyright 2006 Matthew Purland (m.p...@gm...) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ \ No newline at end of file Property changes on: trunk/mud4j-web/LICENSE.txt ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-24 23:26:06
|
Revision: 69 http://mud4j.svn.sourceforge.net/mud4j/?rev=69&view=rev Author: mpurland Date: 2006-12-24 15:26:05 -0800 (Sun, 24 Dec 2006) Log Message: ----------- Update projects for new mud4j-telnet and mud4j-web Modified Paths: -------------- trunk/mud4j/src/site/xdoc/navigation-common-projects.xml Modified: trunk/mud4j/src/site/xdoc/navigation-common-projects.xml =================================================================== --- trunk/mud4j/src/site/xdoc/navigation-common-projects.xml 2006-12-24 23:25:45 UTC (rev 68) +++ trunk/mud4j/src/site/xdoc/navigation-common-projects.xml 2006-12-24 23:26:05 UTC (rev 69) @@ -2,5 +2,6 @@ <menu name="Projects"> <item name="mud4j Overview" href="http://mud4j.sf.net/index.html"/> <item name="mud4j-core" href="http://mud4j.sf.net/projects/mud4j-core/index.html"/> - <item name="mud4j-editor" href="http://mud4j.sf.net/projects/mud4j-editor/index.html"/> + <item name="mud4j-telnet" href="http://mud4j.sf.net/projects/mud4j-telnet/index.html"/> + <item name="mud4j-web" href="http://mud4j.sf.net/projects/mud4j-web/index.html"/> </menu> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-24 23:25:46
|
Revision: 68 http://mud4j.svn.sourceforge.net/mud4j/?rev=68&view=rev Author: mpurland Date: 2006-12-24 15:25:45 -0800 (Sun, 24 Dec 2006) Log Message: ----------- Add site xdoc for mud4j-web Added Paths: ----------- trunk/mud4j-web/src/site/ trunk/mud4j-web/src/site/xdoc/ trunk/mud4j-web/src/site/xdoc/index.xml trunk/mud4j-web/src/site/xdoc/navigation.xml Added: trunk/mud4j-web/src/site/xdoc/index.xml =================================================================== --- trunk/mud4j-web/src/site/xdoc/index.xml (rev 0) +++ trunk/mud4j-web/src/site/xdoc/index.xml 2006-12-24 23:25:45 UTC (rev 68) @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<document> + <properties> + <title>Home</title> + <author email="mpu...@us...">Matthew Purland</author> + </properties> + + <!-- An optional head, the description is used for the sitemap. --> + <head> + + <meta name="keywords" + content="mud4j mud4j-web web mud game framework"/> + <meta name="description" + content="mud and game framework"/> + </head> + + <body> + + <section name="Overview"> + <p> + mud4j-web + </p> + </section> + + <section name="Status"> + <p>Initial source is in SVN.</p> + <p>Any questions, please email the user or developer list, as appropriate.</p> + </section> + </body> +</document> \ No newline at end of file Added: trunk/mud4j-web/src/site/xdoc/navigation.xml =================================================================== --- trunk/mud4j-web/src/site/xdoc/navigation.xml (rev 0) +++ trunk/mud4j-web/src/site/xdoc/navigation.xml 2006-12-24 23:25:45 UTC (rev 68) @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!DOCTYPE document [ + <!ENTITY links SYSTEM "file:../mud4j/src/site/xdoc/navigation-common-links.xml" > + <!ENTITY projects SYSTEM "file:../mud4j/src/site/xdoc/navigation-common-projects.xml" > + <!ENTITY docs SYSTEM "file:../mud4j/src/site/xdoc/navigation-common-docs.xml" > + <!ENTITY project-info SYSTEM "file:../mud4j/src/site/xdoc/navigation-common-project-info.xml" > + <!ENTITY activity SYSTEM "file:../mud4j/src/site/xdoc/navigation-common-activity.xml" > + <!ENTITY reports SYSTEM "file:../mud4j/src/site/xdoc/navigation-common-reports.xml" > +]> + +<project name="mud4j-web" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://maven.apache.org/maven-navigation-1.0.xsd"> + <title>mud4j-web</title> + + <body> + &links; + + <sitemap/> + + &projects; + &docs; + &activity; + &reports; + &project-info; + + <!-- Google search --> + <search /> + </body> +</project> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-24 23:25:37
|
Revision: 67 http://mud4j.svn.sourceforge.net/mud4j/?rev=67&view=rev Author: mpurland Date: 2006-12-24 15:25:35 -0800 (Sun, 24 Dec 2006) Log Message: ----------- Add site xdoc for mud4j-telnet Added Paths: ----------- trunk/mud4j-telnet/src/site/ trunk/mud4j-telnet/src/site/xdoc/ trunk/mud4j-telnet/src/site/xdoc/index.xml trunk/mud4j-telnet/src/site/xdoc/navigation.xml Added: trunk/mud4j-telnet/src/site/xdoc/index.xml =================================================================== --- trunk/mud4j-telnet/src/site/xdoc/index.xml (rev 0) +++ trunk/mud4j-telnet/src/site/xdoc/index.xml 2006-12-24 23:25:35 UTC (rev 67) @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<document> + <properties> + <title>Home</title> + <author email="mpu...@us...">Matthew Purland</author> + </properties> + + <!-- An optional head, the description is used for the sitemap. --> + <head> + + <meta name="keywords" + content="mud4j mud4j-telnet telnet mud game framework"/> + <meta name="description" + content="mud and game framework"/> + </head> + + <body> + + <section name="Overview"> + <p> + mud4j-telnet + </p> + </section> + + <section name="Status"> + <p>Initial source is in SVN.</p> + <p>Any questions, please email the user or developer list, as appropriate.</p> + </section> + </body> +</document> \ No newline at end of file Added: trunk/mud4j-telnet/src/site/xdoc/navigation.xml =================================================================== --- trunk/mud4j-telnet/src/site/xdoc/navigation.xml (rev 0) +++ trunk/mud4j-telnet/src/site/xdoc/navigation.xml 2006-12-24 23:25:35 UTC (rev 67) @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!DOCTYPE document [ + <!ENTITY links SYSTEM "file:../mud4j/src/site/xdoc/navigation-common-links.xml" > + <!ENTITY projects SYSTEM "file:../mud4j/src/site/xdoc/navigation-common-projects.xml" > + <!ENTITY docs SYSTEM "file:../mud4j/src/site/xdoc/navigation-common-docs.xml" > + <!ENTITY project-info SYSTEM "file:../mud4j/src/site/xdoc/navigation-common-project-info.xml" > + <!ENTITY activity SYSTEM "file:../mud4j/src/site/xdoc/navigation-common-activity.xml" > + <!ENTITY reports SYSTEM "file:../mud4j/src/site/xdoc/navigation-common-reports.xml" > +]> + +<project name="mud4j-telnet" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://maven.apache.org/maven-navigation-1.0.xsd"> + <title>mud4j-telnet</title> + + <body> + &links; + + <sitemap/> + + &projects; + &docs; + &activity; + &reports; + &project-info; + + <!-- Google search --> + <search /> + </body> +</project> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-24 23:12:54
|
Revision: 66 http://mud4j.svn.sourceforge.net/mud4j/?rev=66&view=rev Author: mpurland Date: 2006-12-24 15:12:52 -0800 (Sun, 24 Dec 2006) Log Message: ----------- Update mud4j-telnet and add initial console and manager stub classes. Added Paths: ----------- trunk/mud4j-telnet/.classpath trunk/mud4j-telnet/.project trunk/mud4j-telnet/project.xml trunk/mud4j-telnet/src/ trunk/mud4j-telnet/src/java/ trunk/mud4j-telnet/src/java/net/ trunk/mud4j-telnet/src/java/net/sf/ trunk/mud4j-telnet/src/java/net/sf/mud4j/ trunk/mud4j-telnet/src/java/net/sf/mud4j/telnet/ trunk/mud4j-telnet/src/java/net/sf/mud4j/telnet/TelnetConsole.java trunk/mud4j-telnet/src/java/net/sf/mud4j/telnet/TelnetManager.java trunk/mud4j-telnet/src/test/ trunk/mud4j-telnet/src/test/unit/ Added: trunk/mud4j-telnet/.classpath =================================================================== --- trunk/mud4j-telnet/.classpath (rev 0) +++ trunk/mud4j-telnet/.classpath 2006-12-24 23:12:52 UTC (rev 66) @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src/java"/> + <classpathentry kind="src" path="src/test/unit"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="output" path="bin"/> +</classpath> Added: trunk/mud4j-telnet/.project =================================================================== --- trunk/mud4j-telnet/.project (rev 0) +++ trunk/mud4j-telnet/.project 2006-12-24 23:12:52 UTC (rev 66) @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>mud4j-telnet</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> Added: trunk/mud4j-telnet/project.xml =================================================================== --- trunk/mud4j-telnet/project.xml (rev 0) +++ trunk/mud4j-telnet/project.xml 2006-12-24 23:12:52 UTC (rev 66) @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd"> + <extend>${basedir}/../mud4j/project-root.xml</extend> + <shortDescription> + mud4j telnet server. + </shortDescription> + <description> + mud4j telnet server. + </description> + <pomVersion>3</pomVersion> + <name>mud4j telnet server</name> + <!--<groupId>net.sf</groupId>--> + <package>net.sf.mud4j</package> + <artifactId>mud4j-telnet</artifactId> + <currentVersion>1.0-SNAPSHOT</currentVersion> + + <!-- Dependencies --> + <dependencies> + <dependency> + <groupId>net.sf</groupId> + <artifactId>mud4j-core</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + </dependencies> + + <build> + <defaultGoal>jar</defaultGoal> + <sourceDirectory>src/java</sourceDirectory> + <unitTestSourceDirectory>src/test/unit</unitTestSourceDirectory> + <resources> + <resource> + <directory>src/resources</directory> + <filtering>false</filtering> + </resource> + <resource> + <directory>${basedir}/src/resources/logging</directory> + <includes> + <include>log4j.properties</include> + </includes> + <filtering>false</filtering> + </resource> + </resources> + <unitTest> + <includes> + <include>**/*Test.java</include> + </includes> + </unitTest> + </build> +</project> + Property changes on: trunk/mud4j-telnet/project.xml ___________________________________________________________________ Name: svn:executable + * Added: trunk/mud4j-telnet/src/java/net/sf/mud4j/telnet/TelnetConsole.java =================================================================== --- trunk/mud4j-telnet/src/java/net/sf/mud4j/telnet/TelnetConsole.java (rev 0) +++ trunk/mud4j-telnet/src/java/net/sf/mud4j/telnet/TelnetConsole.java 2006-12-24 23:12:52 UTC (rev 66) @@ -0,0 +1,27 @@ +/** + * Copyright 2006 Matthew Purland (m.p...@gm...) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package net.sf.mud4j.telnet; + +/** + * + * + * @todo Auto-generated doc stub for TelnetConsole. + * + * @author Matthew Purland + */ +public class TelnetConsole { + +} Added: trunk/mud4j-telnet/src/java/net/sf/mud4j/telnet/TelnetManager.java =================================================================== --- trunk/mud4j-telnet/src/java/net/sf/mud4j/telnet/TelnetManager.java (rev 0) +++ trunk/mud4j-telnet/src/java/net/sf/mud4j/telnet/TelnetManager.java 2006-12-24 23:12:52 UTC (rev 66) @@ -0,0 +1,27 @@ +/** + * Copyright 2006 Matthew Purland (m.p...@gm...) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package net.sf.mud4j.telnet; + +/** + * + * + * @todo Auto-generated doc stub for TelnetManager. + * + * @author Matthew Purland + */ +public class TelnetManager { + +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-24 23:12:18
|
Revision: 65 http://mud4j.svn.sourceforge.net/mud4j/?rev=65&view=rev Author: mpurland Date: 2006-12-24 15:12:17 -0800 (Sun, 24 Dec 2006) Log Message: ----------- Update mud4j-web project and add initial controllers. Modified Paths: -------------- trunk/mud4j-web/.classpath Added Paths: ----------- trunk/mud4j-web/project.xml trunk/mud4j-web/src/ trunk/mud4j-web/src/java/ trunk/mud4j-web/src/java/net/ trunk/mud4j-web/src/java/net/sf/ trunk/mud4j-web/src/java/net/sf/mud4j/ trunk/mud4j-web/src/java/net/sf/mud4j/web/ trunk/mud4j-web/src/java/net/sf/mud4j/web/LoginController.java trunk/mud4j-web/src/java/net/sf/mud4j/web/LogoutController.java trunk/mud4j-web/src/java/net/sf/mud4j/web/UserSession.java Modified: trunk/mud4j-web/.classpath =================================================================== --- trunk/mud4j-web/.classpath 2006-12-24 23:11:05 UTC (rev 64) +++ trunk/mud4j-web/.classpath 2006-12-24 23:12:17 UTC (rev 65) @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> - <classpathentry kind="src" path=""/> + <classpathentry kind="src" path="src/java"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry kind="output" path=""/> + <classpathentry combineaccessrules="false" kind="src" path="/mud4j-core"/> + <classpathentry kind="var" path="MAVEN_REPO/javax.servlet/jars/servlet-api-2.4.jar"/> + <classpathentry kind="output" path="bin"/> </classpath> Added: trunk/mud4j-web/project.xml =================================================================== --- trunk/mud4j-web/project.xml (rev 0) +++ trunk/mud4j-web/project.xml 2006-12-24 23:12:17 UTC (rev 65) @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd"> + <extend>${basedir}/../mud4j/project-root.xml</extend> + <shortDescription> + mud4j web. + </shortDescription> + <description> + mud4j web. + </description> + <pomVersion>3</pomVersion> + <name>mud4j web</name> + <!--<groupId>net.sf</groupId>--> + <package>net.sf.mud4j</package> + <artifactId>mud4j-web</artifactId> + <currentVersion>1.0-SNAPSHOT</currentVersion> + + <!-- Dependencies --> + <dependencies> + <dependency> + <groupId>net.sf</groupId> + <artifactId>mud4j-core</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>2.4</version> + </dependency> + + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring</artifactId> + <version>2.0</version> + </dependency> + <dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate</artifactId> + <version>3.2.0.cr5</version> + </dependency> + </dependencies> + + <build> + <defaultGoal>jar</defaultGoal> + <sourceDirectory>src/java</sourceDirectory> + <unitTestSourceDirectory>src/test/unit</unitTestSourceDirectory> + <resources> + <resource> + <directory>src/resources</directory> + <filtering>false</filtering> + </resource> + <resource> + <directory>${basedir}/src/resources/logging</directory> + <includes> + <include>log4j.properties</include> + </includes> + <filtering>false</filtering> + </resource> + </resources> + <unitTest> + <includes> + <include>**/*Test.java</include> + </includes> + </unitTest> + </build> +</project> + Property changes on: trunk/mud4j-web/project.xml ___________________________________________________________________ Name: svn:executable + * Added: trunk/mud4j-web/src/java/net/sf/mud4j/web/LoginController.java =================================================================== --- trunk/mud4j-web/src/java/net/sf/mud4j/web/LoginController.java (rev 0) +++ trunk/mud4j-web/src/java/net/sf/mud4j/web/LoginController.java 2006-12-24 23:12:17 UTC (rev 65) @@ -0,0 +1,55 @@ +/** + * Copyright 2006 Matthew Purland (m.p...@gm...) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package net.sf.mud4j.web; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import net.sf.mud4j.account.Account; + +import org.springframework.web.servlet.ModelAndView; +import org.springframework.web.servlet.mvc.Controller; + +/** + * Login controller to handle incoming login requests. + * + * @author Matthew Purland + */ +public class LoginController implements Controller { + + /** + * {@inheritDoc} + */ + public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { + String username = request.getParameter("username"); + String password = request.getParameter("password"); + + Account account = null; + + if (account == null) { + return new ModelAndView("Error", "message", + "Invalid username or password. Login failed." ); + } + else { + UserSession session = new UserSession(account); + + request.getSession().setAttribute("userSession", session); + + return new ModelAndView("index"); + } + } + +} Added: trunk/mud4j-web/src/java/net/sf/mud4j/web/LogoutController.java =================================================================== --- trunk/mud4j-web/src/java/net/sf/mud4j/web/LogoutController.java (rev 0) +++ trunk/mud4j-web/src/java/net/sf/mud4j/web/LogoutController.java 2006-12-24 23:12:17 UTC (rev 65) @@ -0,0 +1,42 @@ +/** + * Copyright 2006 Matthew Purland (m.p...@gm...) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package net.sf.mud4j.web; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import org.springframework.web.servlet.ModelAndView; +import org.springframework.web.servlet.mvc.Controller; + +/** + * Controller to control logging out and ending a user session. + * + * @author Matthew Purland + */ +public class LogoutController implements Controller { + + /** + * {@inheritDoc} + */ + public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { + UserSession session = (UserSession) request.getAttribute("userSession"); + + if (session != null) { + + } + } + +} Added: trunk/mud4j-web/src/java/net/sf/mud4j/web/UserSession.java =================================================================== --- trunk/mud4j-web/src/java/net/sf/mud4j/web/UserSession.java (rev 0) +++ trunk/mud4j-web/src/java/net/sf/mud4j/web/UserSession.java 2006-12-24 23:12:17 UTC (rev 65) @@ -0,0 +1,49 @@ +/** + * Copyright 2006 Matthew Purland (m.p...@gm...) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package net.sf.mud4j.web; + +import java.io.Serializable; + +import net.sf.mud4j.account.Account; + +/** + * User session for storing session. + * + * @author Matthew Purland + */ +public class UserSession implements Serializable { + + private Account account; + + /** + * Create a user session and associate it with an account. + * + * @param account Account to associate the session with. + */ + public UserSession(Account account) { + this.account = account; + } + + /** + * Get the account. + * + * @return the account. + */ + public Account getAccount() { + return this.account; + } + +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-24 23:11:07
|
Revision: 64 http://mud4j.svn.sourceforge.net/mud4j/?rev=64&view=rev Author: mpurland Date: 2006-12-24 15:11:05 -0800 (Sun, 24 Dec 2006) Log Message: ----------- Update room for tile location. Modified Paths: -------------- trunk/mud4j-core/src/java/net/sf/mud4j/world/Room.java Modified: trunk/mud4j-core/src/java/net/sf/mud4j/world/Room.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/world/Room.java 2006-12-24 23:10:40 UTC (rev 63) +++ trunk/mud4j-core/src/java/net/sf/mud4j/world/Room.java 2006-12-24 23:11:05 UTC (rev 64) @@ -30,33 +30,46 @@ * * @author Matthew Purland */ -public class Room implements Location { +public class Room implements TileLocation { // List of directions private List<Direction> directionList = new ArrayList<Direction>(); private EffectBehavior effectBehavior; + private String roomName; public Room() { } /** - * Add a direction to the location. - * @param direction Direction to add to the room. + * Get the name of the location. */ + public String getName() { + return roomName; + } + + /** + * Set the name of the location; + */ + public void setName(String name) { + this.roomName = name; + } + + /** + * {@inheritDoc} + */ public void addDirection(Direction direction) { directionList.add(direction); } /** - * Remove a direction from the location. + * {@inheritDoc} */ public void removeDirection(Direction direction) { directionList.remove(direction); } /** - * Get list of directions for the location. - * @return Returns the list implementation for the location. + * {@inheritDoc} */ public List<Direction> getDirections() { return directionList; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-24 23:10:41
|
Revision: 63 http://mud4j.svn.sourceforge.net/mud4j/?rev=63&view=rev Author: mpurland Date: 2006-12-24 15:10:40 -0800 (Sun, 24 Dec 2006) Log Message: ----------- Add exception for effects that do not exist. Added Paths: ----------- trunk/mud4j-core/src/java/net/sf/mud4j/effect/NoSuchEffectException.java Added: trunk/mud4j-core/src/java/net/sf/mud4j/effect/NoSuchEffectException.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/effect/NoSuchEffectException.java (rev 0) +++ trunk/mud4j-core/src/java/net/sf/mud4j/effect/NoSuchEffectException.java 2006-12-24 23:10:40 UTC (rev 63) @@ -0,0 +1,30 @@ +/** + * Copyright 2006 Matthew Purland (m.p...@gm...) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package net.sf.mud4j.effect; + +/** + * Exception that occurs when there is no such effect. + * + * @author Matthew Purland + */ +public class NoSuchEffectException extends EffectException { + public NoSuchEffectException(String mesg) { + super(mesg); + } + public NoSuchEffectException(String mesg, Throwable obj) { + super(mesg, obj); + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpu...@us...> - 2006-12-24 23:10:23
|
Revision: 62 http://mud4j.svn.sourceforge.net/mud4j/?rev=62&view=rev Author: mpurland Date: 2006-12-24 15:10:20 -0800 (Sun, 24 Dec 2006) Log Message: ----------- Add start of dao implementations. Added Paths: ----------- trunk/mud4j-core/src/java/net/sf/mud4j/account/ trunk/mud4j-core/src/java/net/sf/mud4j/account/Account.java trunk/mud4j-core/src/java/net/sf/mud4j/dao/ trunk/mud4j-core/src/java/net/sf/mud4j/dao/AccountDao.java trunk/mud4j-core/src/java/net/sf/mud4j/dao/CharacterDao.java trunk/mud4j-core/src/java/net/sf/mud4j/dao/hibernate/ trunk/mud4j-core/src/java/net/sf/mud4j/dao/hibernate/AccountDaoHibernate.java trunk/mud4j-core/src/java/net/sf/mud4j/dao/hibernate/CharacterDaoHibernate.java Added: trunk/mud4j-core/src/java/net/sf/mud4j/account/Account.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/account/Account.java (rev 0) +++ trunk/mud4j-core/src/java/net/sf/mud4j/account/Account.java 2006-12-24 23:10:20 UTC (rev 62) @@ -0,0 +1,60 @@ +/** + * Copyright 2006 Matthew Purland (m.p...@gm...) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package net.sf.mud4j.account; + +/** + * + * + * @author Matthew Purland + */ +public class Account { + // Username of the account + private String username; + // Password of the account + private String password; + /** + * Get the password. + * + * @return the password. + */ + public String getPassword() { + return this.password; + } + /** + * Set the password. + * + * @param password the password to set. + */ + public void setPassword(String password) { + this.password = password; + } + /** + * Get the username. + * + * @return the username. + */ + public String getUsername() { + return this.username; + } + /** + * Set the username. + * + * @param username the username to set. + */ + public void setUsername(String username) { + this.username = username; + } +} Added: trunk/mud4j-core/src/java/net/sf/mud4j/dao/AccountDao.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/dao/AccountDao.java (rev 0) +++ trunk/mud4j-core/src/java/net/sf/mud4j/dao/AccountDao.java 2006-12-24 23:10:20 UTC (rev 62) @@ -0,0 +1,57 @@ +/** + * Copyright 2006 Matthew Purland (m.p...@gm...) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package net.sf.mud4j.dao; + +import java.util.List; + +import net.sf.mud4j.account.Account; + +import org.springframework.dao.DataAccessException; +import org.springframework.dao.PermissionDeniedDataAccessException; + +/** + * Account dao interface. + * + * @author Matthew Purland + */ +public interface AccountDao { + /** + * Get list of accounts. + * @return Returns a list of accounts. + * @throws DataAccessException in case of data access I/O problems + */ + List getAccounts() throws DataAccessException; + + /** + * Load an account from the username. + * + * @param username Username of the account to load. + * @return Returns an account from the username. + * @throws DataAccessException in case of data access I/O problems + */ + Account loadAccount(String username) throws DataAccessException; + + /** + * Load an account from the username accessed by a password. + * + * @param username Username of the account. + * @param password Password of the account to verify. + * @return Returns an account if verified. + * @throws DataAccessException in case of data access I/O + * @throws PermissionDeniedDataAccessException if password is incorrect + */ + Account loadAccount(String username, String password) throws DataAccessException, PermissionDeniedDataAccessException; +} Added: trunk/mud4j-core/src/java/net/sf/mud4j/dao/CharacterDao.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/dao/CharacterDao.java (rev 0) +++ trunk/mud4j-core/src/java/net/sf/mud4j/dao/CharacterDao.java 2006-12-24 23:10:20 UTC (rev 62) @@ -0,0 +1,63 @@ +/** + * Copyright 2006 Matthew Purland (m.p...@gm...) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package net.sf.mud4j.dao; + +import java.util.List; + +import org.springframework.dao.DataAccessException; + +/** + * Character dao interface. + * + * @author Matthew Purland + */ +public interface CharacterDao { + /** + * Get a character that matches the characterId. + * + * @param characterId Character id to find character. + * @return Returns character from characterId + * + * @throws DataAccessException in case of data I/O problems + */ + public Character getCharacter(String characterId) throws DataAccessException; + + /** + * Get list of characters. + * + * @return Returns a list of characters. + * + * @throws DataAccessException in case of data I/O problems + */ + public List getCharacters() throws DataAccessException; + + /** + * Save and persist a character. + * @param character Character instance to save. + * + * @throws DataAccessException in case of data I/O problems + */ + public void saveCharacter(Character character) throws DataAccessException; + + /** + * Remove a character. + * + * @param character Character to remove. + * + * @throws DataAccessException in case of data I/O problems + */ + public void removeCharacter(String characterId) throws DataAccessException; +} Added: trunk/mud4j-core/src/java/net/sf/mud4j/dao/hibernate/AccountDaoHibernate.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/dao/hibernate/AccountDaoHibernate.java (rev 0) +++ trunk/mud4j-core/src/java/net/sf/mud4j/dao/hibernate/AccountDaoHibernate.java 2006-12-24 23:10:20 UTC (rev 62) @@ -0,0 +1,65 @@ +/** + * Copyright 2006 Matthew Purland (m.p...@gm...) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package net.sf.mud4j.dao.hibernate; + +import java.util.List; + +import org.springframework.dao.DataAccessException; +import org.springframework.dao.PermissionDeniedDataAccessException; +import org.springframework.orm.hibernate3.support.HibernateDaoSupport; + +import net.sf.mud4j.account.Account; +import net.sf.mud4j.dao.AccountDao; + +/** + * Account dao implementation for hibernate. + * + * @author Matthew Purland + */ +public class AccountDaoHibernate extends HibernateDaoSupport implements AccountDao { + + /** + * {@inheritDoc} + */ + public List getAccounts() throws DataAccessException { + return getHibernateTemplate().find("from Account"); + } + + /** + * {@inheritDoc} + */ + public Account loadAccount(String username) throws DataAccessException { + Object account = getHibernateTemplate().load(Account.class, username); + + return (Account) account; + } + + /** + * {@inheritDoc} + */ + public Account loadAccount(String username, String password) throws DataAccessException, PermissionDeniedDataAccessException { + Account account = (Account) getHibernateTemplate().load(Account.class, username); + + if (!account.getPassword().equals(password)) { + throw new RuntimeException("Password is incorrect"); + //throw new DataAccessException("Password is incorrect."); + } + + return account; + } + + +} Added: trunk/mud4j-core/src/java/net/sf/mud4j/dao/hibernate/CharacterDaoHibernate.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/dao/hibernate/CharacterDaoHibernate.java (rev 0) +++ trunk/mud4j-core/src/java/net/sf/mud4j/dao/hibernate/CharacterDaoHibernate.java 2006-12-24 23:10:20 UTC (rev 62) @@ -0,0 +1,60 @@ +/** + * Copyright 2006 Matthew Purland (m.p...@gm...) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package net.sf.mud4j.dao.hibernate; + +import java.util.List; + +import net.sf.mud4j.dao.CharacterDao; + +import org.springframework.dao.DataAccessException; +import org.springframework.orm.hibernate3.support.HibernateDaoSupport; + +/** + * Character dao for hibernate support. + * + * @author Matthew Purland + */ +public class CharacterDaoHibernate extends HibernateDaoSupport implements CharacterDao { + + /** + * {@inheritDoc} + */ + public Character getCharacter(String characterId) throws DataAccessException { + return (Character) getHibernateTemplate().get(Character.class, characterId); + } + + /** + * {@inheritDoc} + */ + public List getCharacters() throws DataAccessException { + return getHibernateTemplate().find("from Character"); + } + + /** + * {@inheritDoc} + */ + public void removeCharacter(String characterId) throws DataAccessException { + Object character = getHibernateTemplate().load(Character.class, characterId); + getHibernateTemplate().delete(character); + } + + /** + * {@inheritDoc} + */ + public void saveCharacter(Character character) throws DataAccessException { + getHibernateTemplate().save(character); + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |