Create a new entrypoint in an other plug-in [message #73577] |
Tue, 12 February 2008 05:23  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.24673 seconds