Skip to content

Commit

Permalink
version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mwitte committed Mar 22, 2014
1 parent ec2b647 commit 29f11b3
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 49 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emberchatappserver",
"version": "0.0.1",
"version": "0.1.0",
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.1",
Expand Down
Binary file added src/WEB-INF/app-thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/WEB-INF/classes/EmberChat/Service/ServiceLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function __construct(Application $application)
// this hole service locator will get removed in future
$this->application = $application;

$connection = Factory::createContextConnection();
$connection = Factory::createContextConnection($application->getName());
$session = $connection->createContextSession();
$initialContext = $session->createInitialContext();

Expand Down
23 changes: 0 additions & 23 deletions src/WEB-INF/classes/EmberChat/Servlets/AppServlet.php

This file was deleted.

24 changes: 0 additions & 24 deletions src/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,4 @@
<display-name>EmberChat AppServer</display-name>
<description>The backend for the EmberChat Project</description>

<servlet>
<description><![CDATA[Serves static content]]></description>
<display-name>StaticResourceServlet</display-name>
<servlet-name>StaticResourceServlet</servlet-name>
<servlet-class>\TechDivision\ServletContainer\Servlets\StaticResourceServlet</servlet-class>
</servlet>

<servlet>
<description><![CDATA[Serves EmberChat app]]></description>
<display-name>AppServlet</display-name>
<servlet-name>AppServlet</servlet-name>
<servlet-class>\EmberChat\Servlets\AppServlet</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>AppServlet</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>StaticResourceServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>

</web-app>

0 comments on commit 29f11b3

Please sign in to comment.