Hello Tycho community
I'm having problems trying to test the client side of my eclipse
scout project. It has basically the same test structure that in the
Autotest project: https://github.com/innovad/scout.autotest.demo.
I've already went through a lot of projects and documentation but
don't hesitate to recommend any sources.
The error I get is:
WARNING org.eclipse.scout.commons.serialization.SerializationUtility.getBundleOrderPrefixes(SerializationUtility.java:127) bundle order prefixes are neither defined in config.ini nor as a system property. Using default value: org.eclipse.scout.commons.serialization.bundleOrderPrefixes=org.eclipse.scout
I believe this error means that the product in the eclipse plugin
'my.project.client.test' cannot find the line
"org.eclipse.scout.commons.serialization.bundleOrderPrefixes=org.eclipse.scout,my.project.name"
in its corresponding config.ini file. Nevertheless the config.ini
file has this property.
If I run the this product in eclipse, this works fine, but when I
run the maven build, it simply doesn't read the config.ini This
makes my maven build crash.
The problem is that tycho surefire is generating a config.ini and I
don’t know what does it contain since the target/work directory is
created and destroyed in every build. I can see that when the test
phase is executed the directory target/work is generated and it
seems that there is a config.ini but I'm not sure if this is the
config.ini file that the plugin should use.
I've even tried to copy the config.ini in the test phase to the
target/work directory but it didn’t work.
I've changed the product configuration in eclipse to generate the
config.ini with the parameters that I wanted and I had the same
problem as in maven. So this means that generating is not working
and since tycho doesn’t read the file I simply don't know what to
do... is there any workaround?
Well thanks in advance..
|