Share

WebRCP

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Settings

You are viewing a single message from this topic. View all messages.

  1. 2006-01-25 18:35:02 UTC
    Hello, I'm learning WebRCP and try to use it with Elcipse RCP Hyperbola app. Here is my jnlp.jsp file:

    <%@ page contentType="application/x-java-jnlp-file" %>
    <%--
    Dynamically generated JNLP-File
    Author: Daniel Mendler
    --%>
    <%
    StringBuffer codeBase = new StringBuffer();
    codeBase.append(request.getScheme()).append("://").append(request.getServerName());
    if (request.getServerPort() != (request.isSecure() ? 443 : 80))
    codeBase.append(':').append(request.getServerPort());
    codeBase.append(request.getContextPath()).append("/hyperbola/");
    %>
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp
    spec="1.0+"
    codebase="<%= codeBase %>"
    href="<%= request.getRequestURL() %>">
    <information>
    <title>Application loaded over WebRCP</title>
    <vendor>Daniel Mendler</vendor>
    <description>Application loaded over WebRCP</description>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4+"/>
    <%-- Launcher --%>
    <jar href="webrcp.jar"/>
    <%-- OSGi configuration --%>
    <%--<property name="osgi.instance.area" value="@user.home/paperdog"/>--%>
    <property name="osgi.instance.area" value=""/>
    <%-- <property name="osgi.debug" value="true"/> --%>
    <%-- <property name="osgi.bundles" value="org.eclipse.core.runtime@2:start, org.eclipse.update.configurator@3:start"/>--%>
    <property name="eclipse.product" value="org.eclipsercp.hyperbola"/>
    <%--<property name="eclipse.application" value="org.eclipsercp.hyperbola"/>--%>
    <%-- WebRCP --%>
    <property name="webrcp.archives" value="archives/chat"/>
    <property name="webrcp.appName" value="Chat Editor"/>
    <property name="webrcp.appVersion" value="@buildId@"/>
    <%--<property name="webrcp.sysArchives" value="archives/swt"/>--%>
    <property name="webrcp.location" value="<%= request.getRequestURL() %>"/>
    </resources>
    <application-desc/>
    </jnlp>


    I'm using WebRCP v. 04 with Eclipse 3.2M4 on XP Professional OS.

    When I start the app I get this message/exception
    ClassNotFoundException: org.eclipse.core.launcher.Main.

    Here are the question:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.