Equinox Bridge Setup
https://sourceforge.net/tracker/?func=detail&aid=2700937&group_id=176962&atid=879334
This commit is contained in:
parent
32a4ea2167
commit
c7e6ddefa1
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<classpath>
|
||||||
|
<classpathentry kind="src" path="src"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/JVM 1.6.0 (MacOS X Default)">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="owner.project.facets" value="jst.java"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
|
||||||
|
<classpathentry kind="output" path="build/classes"/>
|
||||||
|
</classpath>
|
|
@ -0,0 +1,36 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>equinox-bridge</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.wst.common.project.facet.core.builder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||||
|
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||||
|
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||||
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<classpath>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="hide" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
|
||||||
|
<classpathentry kind="output" path=""/>
|
||||||
|
</classpath>
|
|
@ -0,0 +1,7 @@
|
||||||
|
#Wed Feb 03 16:04:44 CET 2010
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
|
||||||
|
org.eclipse.jdt.core.compiler.compliance=1.5
|
||||||
|
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||||
|
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||||
|
org.eclipse.jdt.core.compiler.source=1.5
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project-modules id="moduleCoreId" project-version="1.5.0">
|
||||||
|
<wb-module deploy-name="equinox-bridge">
|
||||||
|
<wb-resource deploy-path="/" source-path="/WebContent"/>
|
||||||
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
|
||||||
|
<property name="context-root" value="equinox-bridge"/>
|
||||||
|
<property name="java-output-path"/>
|
||||||
|
</wb-module>
|
||||||
|
</project-modules>
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<faceted-project>
|
||||||
|
<fixed facet="jst.java"/>
|
||||||
|
<fixed facet="jst.web"/>
|
||||||
|
<installed facet="jst.java" version="5.0"/>
|
||||||
|
<installed facet="jst.web" version="2.4"/>
|
||||||
|
</faceted-project>
|
|
@ -0,0 +1 @@
|
||||||
|
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
|
|
@ -0,0 +1 @@
|
||||||
|
Window
|
|
@ -0,0 +1,3 @@
|
||||||
|
Manifest-Version: 1.0
|
||||||
|
Class-Path:
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#Eclipse Runtime Configuration File
|
||||||
|
osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@start, org.eclipse.equinox.http.servletbridge@start, org.eclipse.equinox.http.registry@start, org.adempiere.zkwebui@start
|
||||||
|
osgi.bundles.defaultStartLevel=4
|
|
@ -0,0 +1,76 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<feature
|
||||||
|
id="org.eclipse.equinox.servletbridge.feature"
|
||||||
|
label="Servletbridge Feature"
|
||||||
|
version="1.0.0"
|
||||||
|
provider-name="eclipse.org">
|
||||||
|
|
||||||
|
<description>
|
||||||
|
The Servletbridge feature is used to hold the default plugins and dependencies used to build the bridge WebARchive.
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<copyright>
|
||||||
|
2006 Cognos Inc.
|
||||||
|
</copyright>
|
||||||
|
|
||||||
|
<license url="http://www.eclipse.org/legal/epl-v10.html">
|
||||||
|
ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT
|
||||||
|
</license>
|
||||||
|
|
||||||
|
<plugin
|
||||||
|
id="org.eclipse.osgi"
|
||||||
|
download-size="0"
|
||||||
|
install-size="0"
|
||||||
|
version="3.3.0.200704022148"
|
||||||
|
unpack="false"/>
|
||||||
|
|
||||||
|
<plugin
|
||||||
|
id="org.eclipse.osgi.services"
|
||||||
|
download-size="0"
|
||||||
|
install-size="0"
|
||||||
|
version="3.1.100.200704022148"
|
||||||
|
unpack="false"/>
|
||||||
|
|
||||||
|
<plugin
|
||||||
|
id="org.eclipse.equinox.common"
|
||||||
|
download-size="0"
|
||||||
|
install-size="0"
|
||||||
|
version="3.3.0.200704022148"
|
||||||
|
unpack="false"/>
|
||||||
|
|
||||||
|
<plugin
|
||||||
|
id="org.eclipse.equinox.registry"
|
||||||
|
download-size="0"
|
||||||
|
install-size="0"
|
||||||
|
version="3.3.0.v20070318"
|
||||||
|
unpack="false"/>
|
||||||
|
|
||||||
|
<plugin
|
||||||
|
id="org.eclipse.update.configurator"
|
||||||
|
download-size="0"
|
||||||
|
install-size="0"
|
||||||
|
version="3.2.100.v20070322"
|
||||||
|
unpack="false"/>
|
||||||
|
|
||||||
|
<plugin
|
||||||
|
id="org.eclipse.equinox.http.registry"
|
||||||
|
download-size="0"
|
||||||
|
install-size="0"
|
||||||
|
version="1.0.0.200704022148"
|
||||||
|
unpack="false"/>
|
||||||
|
|
||||||
|
<plugin
|
||||||
|
id="org.eclipse.equinox.http.servlet"
|
||||||
|
download-size="0"
|
||||||
|
install-size="0"
|
||||||
|
version="1.0.0.200704022148"
|
||||||
|
unpack="false"/>
|
||||||
|
|
||||||
|
<plugin
|
||||||
|
id="org.eclipse.equinox.http.servletbridge"
|
||||||
|
download-size="0"
|
||||||
|
install-size="0"
|
||||||
|
version="1.0.0.200704022148"
|
||||||
|
unpack="false"/>
|
||||||
|
|
||||||
|
</feature>
|
|
@ -0,0 +1,11 @@
|
||||||
|
# Eclipse Runtime Configuration Overrides
|
||||||
|
# These properties are loaded prior to starting the framework and can also be used to override System Properties
|
||||||
|
# @null is a special value used to override and clear the framework's copy of a System Property prior to starting the framework
|
||||||
|
# "*" can be used together with @null to clear System Properties that match a prefix name.
|
||||||
|
|
||||||
|
osgi.*=@null
|
||||||
|
org.osgi.*=@null
|
||||||
|
eclipse.*=@null
|
||||||
|
|
||||||
|
osgi.parentClassloader=ext
|
||||||
|
osgi.contextClassLoaderParent=ext
|
|
@ -0,0 +1,49 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
|
||||||
|
<web-app id="WebApp">
|
||||||
|
<servlet id="bridge">
|
||||||
|
<servlet-name>equinoxbridgeservlet</servlet-name>
|
||||||
|
<display-name>Equinox Bridge Servlet</display-name>
|
||||||
|
<description>Equinox Bridge Servlet</description>
|
||||||
|
<servlet-class>org.eclipse.equinox.servletbridge.BridgeServlet</servlet-class>
|
||||||
|
<init-param>
|
||||||
|
<param-name>commandline</param-name>
|
||||||
|
<param-value>-console -clean</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>enableFrameworkControls</param-name>
|
||||||
|
<param-value>true</param-value>
|
||||||
|
</init-param>
|
||||||
|
<!--
|
||||||
|
org.eclipse.equinox.servletbridge and the Servlet API are exported automatically to the underlying OSGi framework.
|
||||||
|
The extendedFrameworkExports parameter allows the specification of additional java package exports.
|
||||||
|
The format is a comma separated list of exports as specified by the "Export-Package" bundle manifest header.
|
||||||
|
For example: com.mycompany.exports; version=1.0.0, com.mycompany.otherexports; version=1.0.0
|
||||||
|
-->
|
||||||
|
<init-param>
|
||||||
|
<param-name>extendedFrameworkExports</param-name>
|
||||||
|
<param-value></param-value>
|
||||||
|
</init-param>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
You can specify your own framework launcher here.
|
||||||
|
The default is: org.eclipse.equinox.servletbridge.FrameworkLauncher
|
||||||
|
<init-param>
|
||||||
|
<param-name>frameworkLauncherClass</param-name>
|
||||||
|
<param-value>org.eclipse.equinox.servletbridge.FrameworkLauncher</param-value>
|
||||||
|
</init-param>
|
||||||
|
-->
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>equinoxbridgeservlet</servlet-name>
|
||||||
|
<url-pattern>/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<!--
|
||||||
|
This is required if your application bundles expose JSPs.
|
||||||
|
-->
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>equinoxbridgeservlet</servlet-name>
|
||||||
|
<url-pattern>*.jsp</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
</web-app>
|
|
@ -0,0 +1 @@
|
||||||
|
hello
|
Loading…
Reference in New Issue