Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » OCL validation does not work in RCP application
OCL validation does not work in RCP application [message #558545] Mon, 13 September 2010 12:23 Go to next message
Eclipse UserFriend
Originally posted by: david.skogan.gmail.com

Hi,

I am using the EMF Validation Framework to add OCL constraints to an Ecore
model and an model.editor to show the data. This works like a dream when I
run it as an eclipse application. The OCL files are parsed and run in a
batch validator from the model.editor. The validation error event are
catched and the markers (errors and warnings) are shown in the problemView.

However, when I export the product and run it as an RCP application on the
same model file OCL validation is ignored. The OCL files are parsed, my
validation adapter are used, but no validation events (warnings) are
reported. Only basic Ecore validator errors are shown.

I'm running Eclipse Gallileo, with
org.eclipse.emf.validation_1.3.0.v200901271722.jar.

This behaviour is very frustrating as it is near to impossible to debug.

Any ideas?

Regards
David Skogan
Re: OCL validation does not work in RCP application [message #558565 is a reply to message #558545] Mon, 13 September 2010 14:03 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
David,

It depends on support for resources, i.e., the workspace. Have you
included that?


David Skogan wrote:
> Hi,
>
> I am using the EMF Validation Framework to add OCL constraints to an Ecore
> model and an model.editor to show the data. This works like a dream when I
> run it as an eclipse application. The OCL files are parsed and run in a
> batch validator from the model.editor. The validation error event are
> catched and the markers (errors and warnings) are shown in the problemView.
>
> However, when I export the product and run it as an RCP application on the
> same model file OCL validation is ignored. The OCL files are parsed, my
> validation adapter are used, but no validation events (warnings) are
> reported. Only basic Ecore validator errors are shown.
>
> I'm running Eclipse Gallileo, with
> org.eclipse.emf.validation_1.3.0.v200901271722.jar.
>
> This behaviour is very frustrating as it is near to impossible to debug.
>
> Any ideas?
>
> Regards
> David Skogan
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: OCL validation does not work in RCP application [message #558704 is a reply to message #558565] Tue, 14 September 2010 06:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: david.skogan.gmail.com

I guess support for resources are in org.eclipse.core.resources which is
included in my target platform.

Here is the list of plugins in my target platform.

javax.xml.rpc_1.1.0.v200905122109
javax.xml.soap_1.3.0.v200904281458
org.apache.ant_1.7.1.v20090120-1145
org.apache.axis_1.4.0.v200905122109
org.apache.commons.discovery_0.2.0.v200905122109
org.eclipse.core.runtime.compatibility.registry_3.2.200.v200 90429-1800
org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v200905 19
org.junit_3.8.2.v20090203-1005
org.junit4_4.5.0.v20090423
com.ibm.icu_4.0.1.v20090415.jar
javax.activation_1.1.0.v200806101325.jar
javax.mail_1.4.0.v200804091730.jar
javax.servlet_2.5.0.v200806031605.jar
javax.servlet.jsp_2.0.0.v200806031607.jar
javax.transaction_1.1.1.v201002111330.jar
javax.wsdl_1.6.2.v200806030405.jar
javax.xml_1.3.4.v200902170245.jar
net.sourceforge.lpg.lpgjavaruntime_1.1.0.v200803061910.jar
org.apache.commons.el_1.0.0.v200806031608.jar
org.apache.commons.logging_1.1.1.v200904062255.jar
org.apache.jasper_5.5.17.v200903231320.jar
org.apache.log4j_1.2.13.v200903072027.jar
org.apache.lucene_1.9.1.v20080530-1600.jar
org.apache.lucene.analysis_1.9.1.v20080530-1600.jar
org.apache.xerces_2.9.0.v200909240008.jar
org.apache.xml.resolver_1.2.0.v200902170519.jar
org.apache.xml.serializer_2.7.1.v200902170519.jar
org.eclipse.ant.core_3.2.100.v20090520.jar
org.eclipse.ant.core.nl_no_3.5.0.v20091121043401.jar
org.eclipse.compare.core_3.5.0.I20090430-0408.jar
org.eclipse.compare.core.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.commands_3.5.0.I20090525-2000.jar
org.eclipse.core.commands.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.contenttype_3.4.0.v20090429-1800.jar
org.eclipse.core.contenttype.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.databinding_1.2.0.I20090604-2000.jar
org.eclipse.core.databinding.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.databinding.observable_1.2.0.I20090604-2000 .jar
org.eclipse.core.databinding.observable.nl_no_3.5.0.v2009112 1043401.jar
org.eclipse.core.databinding.property_1.2.0.I20090526-2000.j ar
org.eclipse.core.databinding.property.nl_no_3.5.0.v200911210 43401.jar
org.eclipse.core.expressions_3.4.100.v20090429-1800.jar
org.eclipse.core.expressions.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.filesystem_1.2.0.v20090507.jar
org.eclipse.core.filesystem.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.filesystem.win32.x86_1.1.0.v20080604-1400.j ar
org.eclipse.core.jobs_3.4.100.v20090429-1800.jar
org.eclipse.core.jobs.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.net_1.2.0.I20090522-1010.jar
org.eclipse.core.net.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.net.win32.x86_1.0.0.I20080909.jar
org.eclipse.core.resources_3.5.0.v20090512.jar
org.eclipse.core.resources.compatibility_3.4.0.v20090505.jar
org.eclipse.core.resources.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.resources.win32.x86_3.5.0.v20081020.jar
org.eclipse.core.runtime_3.5.0.v20090525.jar
org.eclipse.core.runtime.compatibility.auth_3.2.100.v2009041 3.jar
org.eclipse.core.runtime.compatibility.auth.nl_no_3.5.0.v200 91121043401.jar
org.eclipse.core.runtime.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.variables_3.2.200.v20090521.jar
org.eclipse.core.variables.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ecf_3.0.0.v20090604-1131.jar
org.eclipse.ecf.filetransfer_3.0.0.v20090604-1131.jar
org.eclipse.ecf.identity_3.0.0.v20090604-1131.jar
org.eclipse.ecf.provider.filetransfer_3.0.0.v20090604-1131.j ar
org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20090604-11 31.jar
org.eclipse.ecf.ssl_1.0.0.v20090604-1131.jar
org.eclipse.emf.common_2.5.0.v200906151043.jar
org.eclipse.emf.common.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.common.ui_2.5.0.v200906151043.jar
org.eclipse.emf.common.ui.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.ecore_2.5.0.v200906151043.jar
org.eclipse.emf.ecore.change_2.5.0.v200906151043.jar
org.eclipse.emf.ecore.change.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.ecore.edit_2.5.0.v200906151043.jar
org.eclipse.emf.ecore.edit.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.ecore.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.ecore.xmi_2.5.0.v200906151043.jar
org.eclipse.emf.ecore.xmi.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.edit_2.5.0.v200906151043.jar
org.eclipse.emf.edit.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.edit.ui_2.5.0.v200906151043.jar
org.eclipse.emf.edit.ui.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.ocl_1.1.101.v200901271800.jar
org.eclipse.emf.validation_1.3.0.v200901271722.jar
org.eclipse.emf.validation.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.validation.ocl_1.3.0.v200901271722.jar
org.eclipse.emf.validation.ocl.nl_no_3.5.0.v20091121043401.j ar
org.eclipse.emf.validation.ui_1.3.0.v200901271722.jar
org.eclipse.emf.validation.ui.nl_no_3.5.0.v20091121043401.ja r
org.eclipse.equinox.app_1.2.0.v20090520-1800.jar
org.eclipse.equinox.app.nl_no_3.5.0.v20091121043401.jar
org.eclipse.equinox.common_3.5.0.v20090520-1800.jar
org.eclipse.equinox.common.nl_no_3.5.0.v20091121043401.jar
org.eclipse.equinox.concurrent_1.0.1.R35x_v20100209.jar
org.eclipse.equinox.concurrent.nl_no_3.5.0.v20091121043401.j ar
org.eclipse.equinox.http.jetty_2.0.0.v20090520-1800.jar
org.eclipse.equinox.http.registry_1.0.200.v20090520-1800.jar
org.eclipse.equinox.http.registry.nl_no_3.5.0.v2009112104340 1.jar
org.eclipse.equinox.http.servlet_1.0.200.v20090520-1800.jar
org.eclipse.equinox.http.servlet.nl_no_3.5.0.v20091121043401 .jar
org.eclipse.equinox.jsp.jasper_1.0.200.v20090520-1800.jar
org.eclipse.equinox.jsp.jasper.nl_no_3.5.0.v20091121043401.j ar
org.eclipse.equinox.jsp.jasper.registry_1.0.100.v20090520-18 00.jar
org.eclipse.equinox.jsp.jasper.registry.nl_no_3.5.0.v2009112 1043401.jar
org.eclipse.equinox.launcher_1.0.200.v20090520.jar
org.eclipse.equinox.launcher.nl_no_3.5.0.v20091121043401.jar
org.eclipse.equinox.p2.artifact.repository_1.0.100.v20090527 -1812.jar
org.eclipse.equinox.p2.core_1.0.100.v20090520-1905.jar
org.eclipse.equinox.p2.engine_1.0.100.v20090525.jar
org.eclipse.equinox.p2.jarprocessor_1.0.100.v20090520-1905.j ar
org.eclipse.equinox.p2.metadata_1.0.100.v20090525.jar
org.eclipse.equinox.p2.metadata.repository_1.0.100.v20090525 .jar
org.eclipse.equinox.p2.repository_1.0.0.v20090601-1921.jar
org.eclipse.equinox.preferences_3.2.300.v20090520-1800.jar
org.eclipse.equinox.preferences.nl_no_3.5.0.v20091121043401. jar
org.eclipse.equinox.registry_3.4.100.v20090520-1800.jar
org.eclipse.equinox.registry.nl_no_3.5.0.v20091121043401.jar
org.eclipse.equinox.security_1.0.100.v20090520-1800.jar
org.eclipse.equinox.security.nl_no_3.5.0.v20091121043401.jar
org.eclipse.equinox.security.win32.x86_1.0.100.v20090520-180 0.jar
org.eclipse.help_3.4.0.v20090526.jar
org.eclipse.help.appserver_3.1.400.v20090429_1800.jar
org.eclipse.help.appserver.nl_no_3.5.0.v20091121043401.jar
org.eclipse.help.base_3.4.0.v200906111540.jar
org.eclipse.help.base.nl_no_3.5.0.v20091121043401.jar
org.eclipse.help.nl_no_3.5.0.v20091121043401.jar
org.eclipse.help.ui_3.4.0.v20090528.jar
org.eclipse.help.ui.nl_no_3.5.0.v20091121043401.jar
org.eclipse.help.webapp_3.4.0.v20090429_1800.jar
org.eclipse.help.webapp.nl_no_3.5.0.v20091121043401.jar
org.eclipse.jface_3.5.0.I20090525-2000.jar
org.eclipse.jface.databinding_1.3.0.I20090525-2000.jar
org.eclipse.jface.databinding.nl_no_3.5.0.v20091121043401.ja r
org.eclipse.jface.nl_no_3.5.0.v20091121043401.jar
org.eclipse.jface.text_3.5.0.v20090602.jar
org.eclipse.jface.text.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ocl_1.3.0.v200905271400.jar
org.eclipse.ocl.ecore_1.3.0.v200905271400.jar
org.eclipse.osgi_3.5.0.v20090520.jar
org.eclipse.osgi.nl_no_3.5.0.v20091121043401.jar
org.eclipse.osgi.services_3.2.0.v20090520-1800.jar
org.eclipse.osgi.services.nl_no_3.5.0.v20091121043401.jar
org.eclipse.persistence.jpa.equinox.weaving_1.1.3.v20091002- r5404.jar
org.eclipse.swt_3.5.0.v3550b.jar
org.eclipse.swt.nl_no_3.5.0.v20091121043401.jar
org.eclipse.swt.win32.win32.x86_3.5.0.v3550b.jar
org.eclipse.text_3.5.0.v20090513-2000.jar
org.eclipse.text.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui_3.5.0.I20090604-2000.jar
org.eclipse.ui.console_3.4.0.v20090513.jar
org.eclipse.ui.console.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui.forms_3.4.0.v20090526.jar
org.eclipse.ui.forms.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui.ide_3.5.0.I20090525-2000.jar
org.eclipse.ui.ide.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui.views_3.4.0.I20090525-2000.jar
org.eclipse.ui.views.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui.win32_3.2.100.v20090429-1800.jar
org.eclipse.ui.workbench_3.5.0.I20090603-2000.jar
org.eclipse.ui.workbench.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui.workbench.texteditor_3.5.0.v20090603.jar
org.eclipse.ui.workbench.texteditor.nl_no_3.5.0.v20091121043 401.jar
org.eclipse.uml2.common_1.5.0.v200905041045.jar
org.eclipse.uml2.common.edit_1.5.0.v200905041045.jar
org.eclipse.wst.xsl.saxon_1.0.0.v200904240436.jar
org.hamcrest.core_1.1.0.v20090501071000.jar
org.junit4.nl_no_3.5.0.v20091121043401.jar
org.mortbay.jetty.server_6.1.15.v200905151201.jar
org.mortbay.jetty.util_6.1.15.v200905182336.jar

"Ed Merks" <Ed.Merks@gmail.com> wrote in message
news:i6lb0g$iba$1@build.eclipse.org...
> David,
>
> It depends on support for resources, i.e., the workspace. Have you
> included that?
>
>
> David Skogan wrote:
>> Hi,
>>
>> I am using the EMF Validation Framework to add OCL constraints to an
>> Ecore model and an model.editor to show the data. This works like a dream
>> when I run it as an eclipse application. The OCL files are parsed and run
>> in a batch validator from the model.editor. The validation error event
>> are catched and the markers (errors and warnings) are shown in the
>> problemView.
>>
>> However, when I export the product and run it as an RCP application on
>> the same model file OCL validation is ignored. The OCL files are parsed,
>> my validation adapter are used, but no validation events (warnings) are
>> reported. Only basic Ecore validator errors are shown.
>>
>> I'm running Eclipse Gallileo, with
>> org.eclipse.emf.validation_1.3.0.v200901271722.jar.
>>
>> This behaviour is very frustrating as it is near to impossible to debug.
>>
>> Any ideas?
>>
>> Regards
>> David Skogan
>>
>>
Re: OCL validation does not work in RCP application [message #623188 is a reply to message #558545] Mon, 13 September 2010 14:03 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
David,

It depends on support for resources, i.e., the workspace. Have you
included that?


David Skogan wrote:
> Hi,
>
> I am using the EMF Validation Framework to add OCL constraints to an Ecore
> model and an model.editor to show the data. This works like a dream when I
> run it as an eclipse application. The OCL files are parsed and run in a
> batch validator from the model.editor. The validation error event are
> catched and the markers (errors and warnings) are shown in the problemView.
>
> However, when I export the product and run it as an RCP application on the
> same model file OCL validation is ignored. The OCL files are parsed, my
> validation adapter are used, but no validation events (warnings) are
> reported. Only basic Ecore validator errors are shown.
>
> I'm running Eclipse Gallileo, with
> org.eclipse.emf.validation_1.3.0.v200901271722.jar.
>
> This behaviour is very frustrating as it is near to impossible to debug.
>
> Any ideas?
>
> Regards
> David Skogan
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: OCL validation does not work in RCP application [message #623197 is a reply to message #558565] Tue, 14 September 2010 06:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: david.skogan.gmail.com

I guess support for resources are in org.eclipse.core.resources which is
included in my target platform.

Here is the list of plugins in my target platform.

javax.xml.rpc_1.1.0.v200905122109
javax.xml.soap_1.3.0.v200904281458
org.apache.ant_1.7.1.v20090120-1145
org.apache.axis_1.4.0.v200905122109
org.apache.commons.discovery_0.2.0.v200905122109
org.eclipse.core.runtime.compatibility.registry_3.2.200.v200 90429-1800
org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v200905 19
org.junit_3.8.2.v20090203-1005
org.junit4_4.5.0.v20090423
com.ibm.icu_4.0.1.v20090415.jar
javax.activation_1.1.0.v200806101325.jar
javax.mail_1.4.0.v200804091730.jar
javax.servlet_2.5.0.v200806031605.jar
javax.servlet.jsp_2.0.0.v200806031607.jar
javax.transaction_1.1.1.v201002111330.jar
javax.wsdl_1.6.2.v200806030405.jar
javax.xml_1.3.4.v200902170245.jar
net.sourceforge.lpg.lpgjavaruntime_1.1.0.v200803061910.jar
org.apache.commons.el_1.0.0.v200806031608.jar
org.apache.commons.logging_1.1.1.v200904062255.jar
org.apache.jasper_5.5.17.v200903231320.jar
org.apache.log4j_1.2.13.v200903072027.jar
org.apache.lucene_1.9.1.v20080530-1600.jar
org.apache.lucene.analysis_1.9.1.v20080530-1600.jar
org.apache.xerces_2.9.0.v200909240008.jar
org.apache.xml.resolver_1.2.0.v200902170519.jar
org.apache.xml.serializer_2.7.1.v200902170519.jar
org.eclipse.ant.core_3.2.100.v20090520.jar
org.eclipse.ant.core.nl_no_3.5.0.v20091121043401.jar
org.eclipse.compare.core_3.5.0.I20090430-0408.jar
org.eclipse.compare.core.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.commands_3.5.0.I20090525-2000.jar
org.eclipse.core.commands.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.contenttype_3.4.0.v20090429-1800.jar
org.eclipse.core.contenttype.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.databinding_1.2.0.I20090604-2000.jar
org.eclipse.core.databinding.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.databinding.observable_1.2.0.I20090604-2000 .jar
org.eclipse.core.databinding.observable.nl_no_3.5.0.v2009112 1043401.jar
org.eclipse.core.databinding.property_1.2.0.I20090526-2000.j ar
org.eclipse.core.databinding.property.nl_no_3.5.0.v200911210 43401.jar
org.eclipse.core.expressions_3.4.100.v20090429-1800.jar
org.eclipse.core.expressions.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.filesystem_1.2.0.v20090507.jar
org.eclipse.core.filesystem.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.filesystem.win32.x86_1.1.0.v20080604-1400.j ar
org.eclipse.core.jobs_3.4.100.v20090429-1800.jar
org.eclipse.core.jobs.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.net_1.2.0.I20090522-1010.jar
org.eclipse.core.net.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.net.win32.x86_1.0.0.I20080909.jar
org.eclipse.core.resources_3.5.0.v20090512.jar
org.eclipse.core.resources.compatibility_3.4.0.v20090505.jar
org.eclipse.core.resources.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.resources.win32.x86_3.5.0.v20081020.jar
org.eclipse.core.runtime_3.5.0.v20090525.jar
org.eclipse.core.runtime.compatibility.auth_3.2.100.v2009041 3.jar
org.eclipse.core.runtime.compatibility.auth.nl_no_3.5.0.v200 91121043401.jar
org.eclipse.core.runtime.nl_no_3.5.0.v20091121043401.jar
org.eclipse.core.variables_3.2.200.v20090521.jar
org.eclipse.core.variables.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ecf_3.0.0.v20090604-1131.jar
org.eclipse.ecf.filetransfer_3.0.0.v20090604-1131.jar
org.eclipse.ecf.identity_3.0.0.v20090604-1131.jar
org.eclipse.ecf.provider.filetransfer_3.0.0.v20090604-1131.j ar
org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20090604-11 31.jar
org.eclipse.ecf.ssl_1.0.0.v20090604-1131.jar
org.eclipse.emf.common_2.5.0.v200906151043.jar
org.eclipse.emf.common.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.common.ui_2.5.0.v200906151043.jar
org.eclipse.emf.common.ui.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.ecore_2.5.0.v200906151043.jar
org.eclipse.emf.ecore.change_2.5.0.v200906151043.jar
org.eclipse.emf.ecore.change.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.ecore.edit_2.5.0.v200906151043.jar
org.eclipse.emf.ecore.edit.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.ecore.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.ecore.xmi_2.5.0.v200906151043.jar
org.eclipse.emf.ecore.xmi.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.edit_2.5.0.v200906151043.jar
org.eclipse.emf.edit.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.edit.ui_2.5.0.v200906151043.jar
org.eclipse.emf.edit.ui.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.ocl_1.1.101.v200901271800.jar
org.eclipse.emf.validation_1.3.0.v200901271722.jar
org.eclipse.emf.validation.nl_no_3.5.0.v20091121043401.jar
org.eclipse.emf.validation.ocl_1.3.0.v200901271722.jar
org.eclipse.emf.validation.ocl.nl_no_3.5.0.v20091121043401.j ar
org.eclipse.emf.validation.ui_1.3.0.v200901271722.jar
org.eclipse.emf.validation.ui.nl_no_3.5.0.v20091121043401.ja r
org.eclipse.equinox.app_1.2.0.v20090520-1800.jar
org.eclipse.equinox.app.nl_no_3.5.0.v20091121043401.jar
org.eclipse.equinox.common_3.5.0.v20090520-1800.jar
org.eclipse.equinox.common.nl_no_3.5.0.v20091121043401.jar
org.eclipse.equinox.concurrent_1.0.1.R35x_v20100209.jar
org.eclipse.equinox.concurrent.nl_no_3.5.0.v20091121043401.j ar
org.eclipse.equinox.http.jetty_2.0.0.v20090520-1800.jar
org.eclipse.equinox.http.registry_1.0.200.v20090520-1800.jar
org.eclipse.equinox.http.registry.nl_no_3.5.0.v2009112104340 1.jar
org.eclipse.equinox.http.servlet_1.0.200.v20090520-1800.jar
org.eclipse.equinox.http.servlet.nl_no_3.5.0.v20091121043401 .jar
org.eclipse.equinox.jsp.jasper_1.0.200.v20090520-1800.jar
org.eclipse.equinox.jsp.jasper.nl_no_3.5.0.v20091121043401.j ar
org.eclipse.equinox.jsp.jasper.registry_1.0.100.v20090520-18 00.jar
org.eclipse.equinox.jsp.jasper.registry.nl_no_3.5.0.v2009112 1043401.jar
org.eclipse.equinox.launcher_1.0.200.v20090520.jar
org.eclipse.equinox.launcher.nl_no_3.5.0.v20091121043401.jar
org.eclipse.equinox.p2.artifact.repository_1.0.100.v20090527 -1812.jar
org.eclipse.equinox.p2.core_1.0.100.v20090520-1905.jar
org.eclipse.equinox.p2.engine_1.0.100.v20090525.jar
org.eclipse.equinox.p2.jarprocessor_1.0.100.v20090520-1905.j ar
org.eclipse.equinox.p2.metadata_1.0.100.v20090525.jar
org.eclipse.equinox.p2.metadata.repository_1.0.100.v20090525 .jar
org.eclipse.equinox.p2.repository_1.0.0.v20090601-1921.jar
org.eclipse.equinox.preferences_3.2.300.v20090520-1800.jar
org.eclipse.equinox.preferences.nl_no_3.5.0.v20091121043401. jar
org.eclipse.equinox.registry_3.4.100.v20090520-1800.jar
org.eclipse.equinox.registry.nl_no_3.5.0.v20091121043401.jar
org.eclipse.equinox.security_1.0.100.v20090520-1800.jar
org.eclipse.equinox.security.nl_no_3.5.0.v20091121043401.jar
org.eclipse.equinox.security.win32.x86_1.0.100.v20090520-180 0.jar
org.eclipse.help_3.4.0.v20090526.jar
org.eclipse.help.appserver_3.1.400.v20090429_1800.jar
org.eclipse.help.appserver.nl_no_3.5.0.v20091121043401.jar
org.eclipse.help.base_3.4.0.v200906111540.jar
org.eclipse.help.base.nl_no_3.5.0.v20091121043401.jar
org.eclipse.help.nl_no_3.5.0.v20091121043401.jar
org.eclipse.help.ui_3.4.0.v20090528.jar
org.eclipse.help.ui.nl_no_3.5.0.v20091121043401.jar
org.eclipse.help.webapp_3.4.0.v20090429_1800.jar
org.eclipse.help.webapp.nl_no_3.5.0.v20091121043401.jar
org.eclipse.jface_3.5.0.I20090525-2000.jar
org.eclipse.jface.databinding_1.3.0.I20090525-2000.jar
org.eclipse.jface.databinding.nl_no_3.5.0.v20091121043401.ja r
org.eclipse.jface.nl_no_3.5.0.v20091121043401.jar
org.eclipse.jface.text_3.5.0.v20090602.jar
org.eclipse.jface.text.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ocl_1.3.0.v200905271400.jar
org.eclipse.ocl.ecore_1.3.0.v200905271400.jar
org.eclipse.osgi_3.5.0.v20090520.jar
org.eclipse.osgi.nl_no_3.5.0.v20091121043401.jar
org.eclipse.osgi.services_3.2.0.v20090520-1800.jar
org.eclipse.osgi.services.nl_no_3.5.0.v20091121043401.jar
org.eclipse.persistence.jpa.equinox.weaving_1.1.3.v20091002- r5404.jar
org.eclipse.swt_3.5.0.v3550b.jar
org.eclipse.swt.nl_no_3.5.0.v20091121043401.jar
org.eclipse.swt.win32.win32.x86_3.5.0.v3550b.jar
org.eclipse.text_3.5.0.v20090513-2000.jar
org.eclipse.text.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui_3.5.0.I20090604-2000.jar
org.eclipse.ui.console_3.4.0.v20090513.jar
org.eclipse.ui.console.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui.forms_3.4.0.v20090526.jar
org.eclipse.ui.forms.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui.ide_3.5.0.I20090525-2000.jar
org.eclipse.ui.ide.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui.views_3.4.0.I20090525-2000.jar
org.eclipse.ui.views.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui.win32_3.2.100.v20090429-1800.jar
org.eclipse.ui.workbench_3.5.0.I20090603-2000.jar
org.eclipse.ui.workbench.nl_no_3.5.0.v20091121043401.jar
org.eclipse.ui.workbench.texteditor_3.5.0.v20090603.jar
org.eclipse.ui.workbench.texteditor.nl_no_3.5.0.v20091121043 401.jar
org.eclipse.uml2.common_1.5.0.v200905041045.jar
org.eclipse.uml2.common.edit_1.5.0.v200905041045.jar
org.eclipse.wst.xsl.saxon_1.0.0.v200904240436.jar
org.hamcrest.core_1.1.0.v20090501071000.jar
org.junit4.nl_no_3.5.0.v20091121043401.jar
org.mortbay.jetty.server_6.1.15.v200905151201.jar
org.mortbay.jetty.util_6.1.15.v200905182336.jar

"Ed Merks" <Ed.Merks@gmail.com> wrote in message
news:i6lb0g$iba$1@build.eclipse.org...
> David,
>
> It depends on support for resources, i.e., the workspace. Have you
> included that?
>
>
> David Skogan wrote:
>> Hi,
>>
>> I am using the EMF Validation Framework to add OCL constraints to an
>> Ecore model and an model.editor to show the data. This works like a dream
>> when I run it as an eclipse application. The OCL files are parsed and run
>> in a batch validator from the model.editor. The validation error event
>> are catched and the markers (errors and warnings) are shown in the
>> problemView.
>>
>> However, when I export the product and run it as an RCP application on
>> the same model file OCL validation is ignored. The OCL files are parsed,
>> my validation adapter are used, but no validation events (warnings) are
>> reported. Only basic Ecore validator errors are shown.
>>
>> I'm running Eclipse Gallileo, with
>> org.eclipse.emf.validation_1.3.0.v200901271722.jar.
>>
>> This behaviour is very frustrating as it is near to impossible to debug.
>>
>> Any ideas?
>>
>> Regards
>> David Skogan
>>
>>
Re: OCL validation does not work in RCP application [message #629412 is a reply to message #558704] Tue, 28 September 2010 07:48 Go to previous message
Eclipse UserFriend
Originally posted by: david.skogan.gmail.com

Hi,

The problem was solved. I had forgot to add the directory with ocl files to
the binary build.

Regards
David
Previous Topic:[Announce] Demonstrations at ESE's Modeling Symposium
Next Topic:Edapt - Status?
Goto Forum:
  


Current Time: Tue Apr 16 05:45:29 GMT 2024

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

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

Back to the top