Skip to content

Commit

Permalink
Various updates to Eclipse project files.
Browse files Browse the repository at this point in the history
Bring Eclipse project files up to date
with all our samples and changes to Eclipse
plugin for Scala.

Also, added project specific preferences for
Scala plug-in so users need to configure less of
things.

Change-Id: I7db1871c8be01d53833a6cc68754790f472b759b
Signed-off-by: Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com>
  • Loading branch information
gkossakowski committed Oct 31, 2011
1 parent 6eb338a commit 38ab8a8
Show file tree
Hide file tree
Showing 7 changed files with 189 additions and 34 deletions.
11 changes: 6 additions & 5 deletions .classpath
Expand Up @@ -2,10 +2,11 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry exported="true" kind="lib" path="lib/gwt/gwt-dev.jar"/>
<classpathentry exported="true" kind="lib" path="lib/gwt/gwt-servlet-deps.jar"/>
<classpathentry exported="true" kind="lib" path="lib/gwt/gwt-user.jar"/>
<classpathentry exported="true" kind="lib" path="lib/gwt/validation-api-1.0.0.GA-sources.jar"/>
<classpathentry exported="true" kind="lib" path="lib/scala/scala-library-gwt.jar"/>
<classpathentry kind="lib" path="lib/gwt/gwt-dev.jar"/>
<classpathentry kind="lib" path="lib/gwt/gwt-servlet-deps.jar"/>
<classpathentry kind="lib" path="lib/gwt/gwt-servlet.jar"/>
<classpathentry kind="lib" path="lib/gwt/gwt-user.jar"/>
<classpathentry kind="lib" path="lib/gwt/validation-api-1.0.0.GA-sources.jar"/>
<classpathentry kind="lib" path="lib/scala/scala-library-gwt.jar"/>
<classpathentry kind="output" path="war/WEB-INF/classes"/>
</classpath>
16 changes: 13 additions & 3 deletions .project
Expand Up @@ -6,17 +6,27 @@
</projects>
<buildSpec>
<buildCommand>
<name>org.scala-ide.sdt.core.scalabuilder</name>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/com.google.gdt.eclipse.core.webAppProjectValidator (1).launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>com.google.gdt.eclipse.core.webAppProjectValidator</name>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/com.google.gwt.eclipse.core.gwtProjectValidator (1).launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>com.google.gwt.eclipse.core.gwtProjectValidator</name>
<name>org.scala-ide.sdt.core.scalabuilder</name>
<arguments>
</arguments>
</buildCommand>
Expand Down
128 changes: 128 additions & 0 deletions .settings/org.scala-ide.sdt.core.prefs
@@ -0,0 +1,128 @@
#Mon Oct 31 23:24:12 CET 2011
P=continuations\:enable
Xcheck-null=false
Xcheckinit=false
Xdisable-assertions=false
Xelide-below=-2147483648
Xexperimental=false
Xfatal-warnings=false
Xfuture=false
Xlog-implicits=false
Xmigration=false
Xno-uescape=false
Xplugin-require=continuations
Xpluginsdir=misc/scala-devel/plugins
Ybuild-manager-debug=true
Yno-generic-signatures=false
Yno-imports=false
Ypresentation-debug=false
Ypresentation-delay=0
Ypresentation-verbose=false
Yrecursion=0
Yself-in-annots=false
Ystruct-dispatch=poly-cache
Ywarn-dead-code=false
buildmanager=refined
compileorder=Mixed
deprecation=false
eclipse.preferences.version=1
explaintypes=false
formatter.alignParameters=false
formatter.alignSingleLineCaseStatements=false
formatter.alignSingleLineCaseStatements.maxArrowIndent=40
formatter.compactControlReadability=false
formatter.compactStringConcatenation=false
formatter.doubleIndentClassDeclaration=false
formatter.formatXml=true
formatter.indentLocalDefs=false
formatter.indentPackageBlocks=true
formatter.indentSpaces=2
formatter.indentWithTabs=false
formatter.multilineScaladocCommentsStartOnFirstLine=false
formatter.placeScaladocAsterisksBeneathSecondAsterisk=false
formatter.preserveDanglingCloseParenthesis=false
formatter.preserveSpaceBeforeArguments=false
formatter.rewriteArrowSymbols=false
formatter.spaceBeforeColon=false
formatter.spaceInsideBrackets=false
formatter.spaceInsideParentheses=false
formatter.spacesWithinPatternBinders=true
g=notailcalls
no-specialization=false
nowarn=false
optimise=false
scala.compiler.additionalParams=-Yjribble-text
scala.compiler.useProjectSettings=true
syntaxColouring.bracket.bold=false
syntaxColouring.bracket.colour=0,0,0
syntaxColouring.bracket.italic=false
syntaxColouring.bracket.strikethrough=false
syntaxColouring.bracket.underline=false
syntaxColouring.default.bold=false
syntaxColouring.default.colour=0,0,0
syntaxColouring.default.italic=false
syntaxColouring.default.strikethrough=false
syntaxColouring.default.underline=false
syntaxColouring.keyword.bold=true
syntaxColouring.keyword.colour=127,0,85
syntaxColouring.keyword.italic=false
syntaxColouring.keyword.strikethrough=false
syntaxColouring.keyword.underline=false
syntaxColouring.operator.bold=false
syntaxColouring.operator.colour=0,0,0
syntaxColouring.operator.italic=false
syntaxColouring.operator.strikethrough=false
syntaxColouring.operator.underline=false
syntaxColouring.scaladoc.bold=false
syntaxColouring.scaladoc.colour=63,95,191
syntaxColouring.scaladoc.italic=false
syntaxColouring.scaladoc.strikethrough=false
syntaxColouring.scaladoc.underline=false
syntaxColouring.singleLineComment.bold=false
syntaxColouring.singleLineComment.colour=63,127,95
syntaxColouring.singleLineComment.italic=false
syntaxColouring.singleLineComment.strikethrough=false
syntaxColouring.singleLineComment.underline=false
syntaxColouring.string.bold=false
syntaxColouring.string.colour=42,0,255
syntaxColouring.string.italic=false
syntaxColouring.string.strikethrough=false
syntaxColouring.string.underline=false
syntaxColouring.xml.attributeName.bold=false
syntaxColouring.xml.attributeName.colour=127,0,127
syntaxColouring.xml.attributeName.italic=false
syntaxColouring.xml.attributeName.strikethrough=false
syntaxColouring.xml.attributeName.underline=false
syntaxColouring.xml.attributeValue.bold=false
syntaxColouring.xml.attributeValue.colour=42,0,255
syntaxColouring.xml.attributeValue.italic=true
syntaxColouring.xml.attributeValue.strikethrough=false
syntaxColouring.xml.attributeValue.underline=false
syntaxColouring.xml.comment.bold=false
syntaxColouring.xml.comment.colour=63,85,191
syntaxColouring.xml.comment.italic=false
syntaxColouring.xml.comment.strikethrough=false
syntaxColouring.xml.comment.underline=false
syntaxColouring.xml.equals.bold=false
syntaxColouring.xml.equals.colour=0,0,0
syntaxColouring.xml.equals.italic=false
syntaxColouring.xml.equals.strikethrough=false
syntaxColouring.xml.equals.underline=false
syntaxColouring.xml.processingInstruction.bold=false
syntaxColouring.xml.processingInstruction.colour=0,128,128
syntaxColouring.xml.processingInstruction.italic=false
syntaxColouring.xml.processingInstruction.strikethrough=false
syntaxColouring.xml.processingInstruction.underline=false
syntaxColouring.xml.tagDelimiter.bold=false
syntaxColouring.xml.tagDelimiter.colour=0,128,128
syntaxColouring.xml.tagDelimiter.italic=false
syntaxColouring.xml.tagDelimiter.strikethrough=false
syntaxColouring.xml.tagDelimiter.underline=false
syntaxColouring.xml.tagName.bold=false
syntaxColouring.xml.tagName.colour=63,127,127
syntaxColouring.xml.tagName.italic=false
syntaxColouring.xml.tagName.strikethrough=false
syntaxColouring.xml.tagName.underline=false
target=jribble
unchecked=false
verbose=true
20 changes: 20 additions & 0 deletions Gwtdlx.html.launch
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="com.google.gdt.eclipse.suite.webapp">
<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="false"/>
<listAttribute key="com.google.gwt.eclipse.core.ENTRY_POINT_MODULES">
<listEntry value="com.google.gwt.sample.gwtdlx.gwtdlx"/>
</listAttribute>
<stringAttribute key="com.google.gwt.eclipse.core.URL" value="GwtDlx.html"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/scalagwt-sample"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="com.google.gwt.eclipse.core.moduleClasspathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.google.gwt.dev.DevMode"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-remoteUI &quot;${gwt_remote_ui_server_port}:${unique_id}&quot; -startupUrl GwtDlx.html -logLevel INFO -codeServerPort 9997 -port 8888 -war &quot;${resource_loc:/scalagwt-sample/war}&quot; com.google.gwt.sample.gwtdlx.gwtdlx"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="scalagwt-sample"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-XstartOnFirstThread -Xmx512m -Dx.gwt.astBuilder=true -ea"/>
</launchConfiguration>
14 changes: 1 addition & 13 deletions Hello.html.launch
Expand Up @@ -12,21 +12,9 @@
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.scala-ide.sdt.launching.SCALA_CONTAINER&quot; javaProject=&quot;scalagwt-sample&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER&quot; javaProject=&quot;scalagwt-sample&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/scalagwt-sample/war/WEB-INF/jribble&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/scalagwt-sample/src&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/scalagwt-sample/lib/scala/scala-library-jribble.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;gwt-dev&quot; type=&quot;1&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/gwt-dev/scalagwt-lib/scala-library.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/gwt-dev/scalagwt-lib/jribble_2.9.0-1-0.1-SNAPSHOT.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;scalagwt-sample&quot;/&gt;&#10;&lt;/runtimeClasspathEntry&gt;&#10;"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="com.google.gwt.eclipse.core.moduleClasspathProvider"/>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.google.gwt.dev.DevMode"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-remoteUI &quot;${gwt_remote_ui_server_port}:${unique_id}&quot; -startupUrl Hello.html -logLevel INFO -codeServerPort 9997 -port 8888 -war &quot;${resource_loc:/scalagwt-sample/war}&quot; com.google.gwt.sample.jribble.Hello"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="scalagwt-sample"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m -Dx.gwt.astBuilder=true -ea"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-XstartOnFirstThread -Xmx512m -Dx.gwt.astBuilder=true -ea"/>
</launchConfiguration>
20 changes: 20 additions & 0 deletions Mnemonics.html.launch
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="com.google.gdt.eclipse.suite.webapp">
<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="false"/>
<listAttribute key="com.google.gwt.eclipse.core.ENTRY_POINT_MODULES">
<listEntry value="com.google.gwt.sample.mnemonics.Mnemonics"/>
</listAttribute>
<stringAttribute key="com.google.gwt.eclipse.core.URL" value="Mnemonics.html"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/scalagwt-sample"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="com.google.gwt.eclipse.core.moduleClasspathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.google.gwt.dev.DevMode"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-remoteUI &quot;${gwt_remote_ui_server_port}:${unique_id}&quot; -startupUrl Mnemonics.html -logLevel INFO -codeServerPort 9997 -port 8888 -war &quot;${resource_loc:/scalagwt-sample/war}&quot; com.google.gwt.sample.mnemonics.Mnemonics"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="scalagwt-sample"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-XstartOnFirstThread -Xmx512m -Dx.gwt.astBuilder=true -ea"/>
</launchConfiguration>
14 changes: 1 addition & 13 deletions Showcase.html.launch
Expand Up @@ -12,21 +12,9 @@
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.scala-ide.sdt.launching.SCALA_CONTAINER&quot; javaProject=&quot;scalagwt-sample&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER&quot; javaProject=&quot;scalagwt-sample&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/scalagwt-sample/war/WEB-INF/jribble&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/scalagwt-sample/src&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/scalagwt-sample/lib/scala/scala-library-jribble.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;gwt-dev&quot; type=&quot;1&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/gwt-dev/scalagwt-lib/scala-library.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/gwt-dev/scalagwt-lib/jribble_2.9.0-1-0.1-SNAPSHOT.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;scalagwt-sample&quot;/&gt;&#10;&lt;/runtimeClasspathEntry&gt;&#10;"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="com.google.gwt.eclipse.core.moduleClasspathProvider"/>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.google.gwt.dev.DevMode"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-remoteUI &quot;${gwt_remote_ui_server_port}:${unique_id}&quot; -startupUrl Showcase.html -logLevel INFO -codeServerPort 9997 -port 8888 -war &quot;${resource_loc:/scalagwt-sample/war}&quot; com.google.gwt.sample.showcase.Showcase"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="scalagwt-sample"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m -Dx.gwt.astBuilder=true -ea"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-XstartOnFirstThread -Xmx512m -Dx.gwt.astBuilder=true -ea"/>
</launchConfiguration>

0 comments on commit 38ab8a8

Please sign in to comment.