</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="<classpathentry kind="lib" path="gwt/gwt-dev-${package-platform}.jar" />" />
<token key="/platform-specific-entries" value="" />
</replacetokens>
- <!-- .classpath, build-widgetset.xml -->
+ <!-- .classpath, HostedMode.launch, build-widgetset.xml -->
<replacetokens begintoken="<" endtoken=">">
<token key="platform" value="${package-platform}" />
<token key="/platform" value="" />
</replacetokens>
- <!-- HostedMode.launch -->
- <replacetokens begintoken="<" endtoken=">">
- <token key="hostedmode-platform" value="${hostedmode-platform}" />
- <token key="/hostedmode-platform" value="" />
- </replacetokens>
<!-- .project, *.launch -->
<replacetokens begintoken="<" endtoken=">">
<token key="eclipse-workspace-name" value="${eclipse-workspace-name}" />
<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-<hostedmode-platform></hostedmode-platform>.jar"/>
+<listEntry value="/<eclipse-workspace-name></eclipse-workspace-name>/gwt/gwt-dev-<platform></platform>.jar"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.google.gwt.dev.GWTShell"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-noserver -out WebContent/ITMILL/widgetsets http://localhost:8888/"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-noserver -whitelist "1localhost ^http[:][/][/]localhost[:]8888" -out WebContent/ITMILL/widgetsets http://localhost:8888/"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="<eclipse-workspace-name></eclipse-workspace-name>"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="<eclipse-launch-vmargs></eclipse-launch-vmargs>"/>
</launchConfiguration>