Skip to content

Commit

Permalink
upgraded to 0.7.6.1; added eclipse project files; updated devmode lau…
Browse files Browse the repository at this point in the history
…ncher; added debugging section to README
  • Loading branch information
bsiegal committed Jun 29, 2011
1 parent 1171896 commit 558cb8c
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="con" path="com.google.gwt.eclipse.core.GWT_CONTAINER"/>
<classpathentry kind="lib" path="build/lib/spiffyui-0.7.6.1.jar"/>
<classpathentry kind="output" path="eclipseout"/>
</classpath>
29 changes: 29 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>HelloSpiffyPHP</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.google.gwt.eclipse.core.gwtProjectValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>com.google.gwt.eclipse.core.gwtNature</nature>
</natures>
</projectDescription>
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ To make our application support the name as part of the URL we're using the <a h
This rule will take requests to hellospiffyphp/John and send them to hellospiffyphp.php?name=John. If your server doesn't support mod_rewrite you can just change the client to pass the name as an URL parameter.

Debugging through Eclipse
--------------------------------------

Depending on your web server's configuration, you will probably need to modify your devmode launch configuration file to use the port of your web server. See [Spiffy UI's GWT Dev Mode page](http://www.spiffyui.org/#!b=hostedMode) for more information.

License
--------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions hellospiffyphp_devmode.launch
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<booleanAttribute key="com.google.gdt.eclipse.core.RUN_SERVER" value="false"/>
<stringAttribute key="com.google.gdt.eclipse.suiteMainTypeProcessor.PREVIOUSLY_SET_MAIN_TYPE_NAME" value="com.google.gwt.dev.DevMode"/>
<booleanAttribute key="com.google.gdt.eclipse.suiteWarArgumentProcessor.IS_WAR_FROM_PROJECT_PROPERTIES" value="true"/>
<stringAttribute key="com.google.gwt.eclipse.core.URL" value="http://localhost:8181"/>
<stringAttribute key="com.google.gwt.eclipse.core.URL" value="http://localhost:8080"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/HelloSpiffyPHP"/>
</listAttribute>
Expand All @@ -12,7 +12,7 @@
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="com.google.gdt.eclipse.maven.mavenClasspathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.google.gwt.dev.GWTShell"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-noserver -remoteUI &quot;${gwt_remote_ui_server_port}:${unique_id}&quot; -logLevel INFO -codeServerPort 9997 -bindAddress 0.0.0.0 http://localhost:8181"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-noserver -remoteUI &quot;${gwt_remote_ui_server_port}:${unique_id}&quot; -logLevel INFO -codeServerPort 9997 -bindAddress 0.0.0.0 http://localhost:8080"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="HelloSpiffyPHP"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m"/>
</launchConfiguration>
2 changes: 1 addition & 1 deletion ivy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<info organisation="org.spiffyui" module="hellospiffy-ivy"/>
<dependencies>
<!-- Spiffy UI JARs -->
<dependency org="org.spiffyui" name="spiffyui" changing="true" rev="0.7.5"/>
<dependency org="org.spiffyui" name="spiffyui" changing="true" rev="0.7.6.1"/>

<!-- These are the JARs we need for building GWT. -->
<dependency org="javax.validation" name="validation-api" rev="1.0.0.GA">
Expand Down

0 comments on commit 558cb8c

Please sign in to comment.