Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Create a new entrypoint in an other plug-in
Create a new entrypoint in an other plug-in [message #73577] Tue, 12 February 2008 10:23 Go to next message
Emmanuel Marchal is currently offline Emmanuel MarchalFriend
Messages: 59
Registered: July 2009
Member
Hi all,

When we worked with W4T, we used to use different "layers of projects".
More precisely we developped a "framework project" containing all the
classes of the data model and of the graphical interface. All of our
applications used this framework (required project in java build path) so
that the "entrypoint" of the project (a WebForm) extended a WebForm of our
framework. By this way, all of our applications were a different project
using their own configuration files and data storage. Moreover, we did not
need to export our framework after some modifications : all our projects
used always the latest version of our framework !

Now, with RAP, we hope to do this in the same way. I suppose that it means
that we have to create one plug-in for our framework with an entrypoint
{class=FWApplication.java; paramter=framework}. And then one project for
each application with an entrypoint {class Application.java extends
FWApplication.java; parameter=myApplication}. I don't know if I have to do
the same with the activator class...

To permit extension, I add all the src package of my framework to
"Exported Packages" and I add the framework plug-in to the "Required
Plug-ins" of my application.


But... it does not seem to work ! I have the following error when running
the application (entrypoint = myApplication)

SEVERE: /rap;jsessionid=31pu5fccq9tub?nocache=1202810933374:
java.lang.IllegalArgumentException: An entry point named 'myApplication'
does not exist.
at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(Unknown
Source)

I need some help to tackle this problem... thanks !

Emmanuel
Re: Create a new entrypoint in an other plug-in [message #73596 is a reply to message #73577] Tue, 12 February 2008 12:42 Go to previous message
Emmanuel Marchal is currently offline Emmanuel MarchalFriend
Messages: 59
Registered: July 2009
Member
I have added required bundles in the run configuration of the application
and now it works ! Great !
Previous Topic:line numbers in library code
Next Topic:Javascript error when displaying a contextual menu
Goto Forum:
  


Current Time: Fri Apr 26 07:40:14 GMT 2024

Powered by FUDForum. Page generated in 0.03780 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top