Menu

Get Product Branding Plugin to work

Help
Ken
2004-10-06
2013-03-22
  • Ken

    Ken - 2004-10-06

    What I am working on, is a plugin that uses a Product Braniding Plugin.  Then we redirect over to the meat and potatoes of the plugin.

    What I am seeing is that the class for the meat and potatoes plugin is not found.  It is included in a jar, but it is not found.

    Any ideas?

     
    • Ken

      Ken - 2004-10-08

      Got it working.  This may help people out there.  The default setup for tutorial is to run an application.  If you are not running an application, but running a product, make sure that you make the change in the JNLP file.  Below is an example of the JNLP file to run a product.

      <?xml version="1.0" encoding="utf-8"?>
      <jnlp
        spec="1.0+"
        codebase="http://localhost/wpartsinv"
        href="ken.jnlp">
        <information>
          <title>Parts Inventory</title>
          <vendor>Ken</vendor>
          <description>New Parts Inventory Manager</description>
        </information>
        <security>
          <all-permissions/>
        </security>
        <resources>
          <j2se version="1.4+"/>
          <jar href="webrcp.jar"/>
          <!-- WebRCP configuration -->
          <property name="webrcp.appName" value="Parts_Inv"/>  
          <property name="webrcp.appVersion" value="1.0.0"/>
          <property name="webrcp.archives" value="ken"/>
          <property name="webrcp.sysArchives" value="arc"/>    
          <property name="webrcp.singleInstance" value="true"/>
          <property name="webrcp.splashScreen" value="splash.jpg"/>
          <!-- Eclipse configuration -->
          <property name="eclipse.product" value="com.ken.parts"/>
          <!--
          <property name="eclipse.application" value="com.ken.parts.ui.KenApplication"/>
          -->
        </resources>
        <application-desc>
        -console
        </application-desc>
      </jnlp>

      Notice that the eclipse.application line is commented out.  We are using eclipse.product instead.

      Hope this helps somebody.

       
    • dolyp

      dolyp - 2005-10-14

      I created a eclipse  RCP product(including a splash screen),and write JNLP file just like above,when I run it throuth JWS,the product can run well,but the problem is that it can not show splash screen,what's the problem? Thanks for anyone who can help me.

       

Log in to post a comment.

MongoDB Logo MongoDB