Skip to content
Browse files

Merge pull request #1 from SpiffyUITeam/master

upgraded to 0.7.6.1; added eclipse project files; updated devmode launcher; added debugging section to README
  • Loading branch information...
2 parents 1171896 + 558cb8c commit 7a82d5add33481386931c895f33c0cd35f9629b4 @spiffyui spiffyui committed Jun 29, 2011
Showing with 46 additions and 3 deletions.
  1. +9 −0 .classpath
  2. +29 −0 .project
  3. +5 −0 README.md
  4. +2 −2 hellospiffyphp_devmode.launch
  5. +1 −1 ivy.xml
View
9 .classpath
@@ -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>
View
29 .project
@@ -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>
View
5 README.md
@@ -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
--------------------------------------
View
4 hellospiffyphp_devmode.launch
@@ -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>
@@ -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>
View
2 ivy.xml
@@ -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">

0 comments on commit 7a82d5a

Please sign in to comment.
Something went wrong with that request. Please try again.