]> source.dussan.org Git - vaadin-framework.git/commitdiff
Build special OOPHM version of hosted mode launch -file for Linux. Fixes #2403
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Mon, 22 Dec 2008 09:49:03 +0000 (09:49 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Mon, 22 Dec 2008 09:49:03 +0000 (09:49 +0000)
svn changeset:6325/svn branch:trunk

build/build.xml
build/package/eclipse-IT Mill Toolkit Hosted Mode-launch

index 2af01b88061da7279bf5799ec56ed3c8425c42a9..131f73a56df8d2a4e2c941a90848e87f81a252ce 100644 (file)
                                </replacetokens>
                        </filterchain>
                </copy>
+               <if> <!-- use oophm for hosted mode in Linux only -->
+                       <equals arg1="${package-platform}" arg2="linux" />
+                       <then> 
+                               <var name="hostedmode-platform" value="oophm" />
+                       </then>
+                       <else>
+                               <var name="hostedmode-platform" value="${hostedmode-platform}" />
+                       </else>
+               </if>
                <copy todir="${output-dir}">
                        <filterchain>
                                <expandproperties />
                                        <token key="platform-specific-entries" value="&lt;classpathentry kind=&quot;lib&quot; path=&quot;gwt/gwt-dev-${package-platform}.jar&quot; /&gt;" />
                                        <token key="/platform-specific-entries" value="" />
                                </replacetokens>
-                               <!-- .classpath, HostedMode.launch, build-widgetset.xml -->
+                               <!-- .classpath, build-widgetset.xml -->
                                <replacetokens begintoken="&lt;" endtoken=">">
                                        <token key="platform" value="${package-platform}" />
                                        <token key="/platform" value="" />
                                </replacetokens>
+                               <!-- HostedMode.launch -->
+                               <replacetokens begintoken="&lt;" endtoken=">">
+                                       <token key="hostedmode-platform" value="${hostedmode-platform}" />
+                                       <token key="/hostedmode-platform" value="" />
+                               </replacetokens>
                                <!-- .project, *.launch -->
                                <replacetokens begintoken="&lt;" endtoken=">">
                                        <token key="eclipse-workspace-name" value="${eclipse-workspace-name}" />
index 3ae558420a82d6da9b2b8cc0f51d68cc7a348def..a4cb659f4cb481f1a8dfcc0f6785bac4819edeb8 100644 (file)
@@ -2,7 +2,7 @@
 <launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
 <stringAttribute key="bad_container_name" value="/<eclipse-workspace-name></eclipse-workspace-name>/IT Mill Toolkit Hosted Mode.launch"/>
 <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="/<eclipse-workspace-name></eclipse-workspace-name>/gwt/gwt-dev-<platform></platform>.jar"/>
+<listEntry value="/<eclipse-workspace-name></eclipse-workspace-name>/gwt/gwt-dev-<hostedmode-platform></hostedmode-platform>.jar"/>
 </listAttribute>
 <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
 <listEntry value="1"/>