[INFO]
[INFO] --- sculptor-maven-plugin:3.1.0:generate (code-generation) @ connect ---
[ERROR] Error executing EValidator
[ERROR] Error executing EValidator
[ERROR] Error executing EValidator
[ERROR] Error executing EValidator
[ERROR] Error executing EValidator
[ERROR] Resource validation error "Error executing EValidator" in line null
[ERROR] Executing generator workflow failed
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.376 s
[INFO] Finished at: 2015-10-28T20:20:49+00:00
[INFO] Final Memory: 36M/398M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sculptorgenerator:sculptor-maven-plugin:3.1.0:generate (code-generation) on project connect: Sculptor code generator failed -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sculptorgenerator:sculptor-maven-plugin:3.1.0:generate (code-generation) on project connect: Sculptor code generator failed
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Sculptor code generator failed
at org.sculptor.maven.plugin.GeneratorMojo.execute(GeneratorMojo.java:224)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
[ERROR] Resource validation error "Error executing EValidator" in line null
The output from the error is also not helpful so might be an idea to update.
[DEBUG] Executing workflow failed
[ERROR] Resource validation error "Error executing EValidator" in line null
[ERROR] Executing generator workflow failed
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.449 s
[INFO] Finished at: 2015-10-29T13:07:07+00:00
[INFO] Final Memory: 33M/397M
--You received this message because you are subscribed to a topic in the Google Groups "Sculptor Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sculptorgenerator/suqbsL9xtqs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sculptorgenera...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
abstract DataTransferObject EntityDto {
}
It was defined in one BTDESIGN file but I had missed defining it in another.
Once I copied it into the other file the error went away. I have no idea why either the Editor or the compilation process did not pick up on this.
This cost me about a few hours in total to resolve through trial and error. However.
I am now seeing that sculptor does not like objects of the same name defined even if they are in different modules, different btdesign files and are going to be in different packages.
[ERROR] Model validation error "Duplicate name. There is already an existing Domain Object named 'EntityDto'." at DslModel.app->DslApplication'Taskize'.modules[7]->DslModule'bubble_dto'.domainObjects[0]->DslDataTransferObject'EntityDto'
[ERROR] Model validation error "Duplicate name. There is already an existing Domain Object named 'EntityDto'." at DslModel.app->DslApplication'Taskize'.modules[9]->DslModule'tenant_dto'.domainObjects[0]->DslDataTransferObject'EntityDto'
Is this the case?
I can work around this but thought I would ask.
Suggest improving the error messages around the issue I was seeing for others.
Thanks,
Richie
To unsubscribe from this group and all its topics, send an email to sculptorgenerator+unsubscribe@googlegroups.com.
[ERROR] Error executing EValidator
[ERROR] Resource validation error "Error executing EValidator" in line null
Thanks,
Richie.
To unsubscribe from this group and all its topics, send an email to sculptorgenera...@googlegroups.com.
Taskize Limited - Innovative solutions for Financial Services Technology.Registered address: 33 Cannon Street, London, EC4M 5SB. Registered in England No. 7921239. This message may contain information that is privileged or confidential. If you are not the intended recipient please delete it and inform the sender immediately.
Taskize Limited - Innovative solutions for Financial Services Technology.Registered address: 33 Cannon Street, London, EC4M 5SB. Registered in England No. 7921239. This message may contain information that is privileged or confidential. If you are not the intended recipient please delete it and inform the sender immediately.
--
You received this message because you are subscribed to a topic in the Google Groups "Sculptor Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sculptorgenerator/suqbsL9xtqs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sculptorgenera...@googlegroups.com.
generate.module.shareddto=false - where shareddto is the module for all shared dto types and this didnt work either.
I finally found the issue. It was a needle in a heystack as we have quite a few btdesign files.
I am now seeing that sculptor does not like objects of the same name defined even if they are in different modules, different btdesign files and are going to be in different packages.
Is this the case?
Suggest improving the error messages around the issue I was seeing for others.
generate.module.shareddto=false - where shareddto is the module for all shared dto types and this didnt work either.
I also read up the docs on sharing and tried thegenerate.module.shareddto=false - where shareddto is the module for all shared dto types and this didnt work either.
On 29 October 2015 at 16:00, Richard Walsh wrote:
My question on this then is this.Is it possible to reference a DTO from another file when the DTO being references in abstract?As thats what I want to do?
--
You received this message because you are subscribed to a topic in the Google Groups "Sculptor Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sculptorgenerator/suqbsL9xtqs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sculptorgenera...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks. Again excellent tool and its free so appreciate the effort. There are very few areas of any weakness I can find, well done.
Thanks. Again excellent tool and its free so appreciate the effort. There are very few areas of any weakness I can find, well done.
On 30 October 2015 at 09:14, Richard Walsh richard.walsh wrote:
Ah good to know for the future.
--
You received this message because you are subscribed to a topic in the Google Groups "Sculptor Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sculptorgenerator/suqbsL9xtqs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sculptorgenera...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Excellent thanks.
To unsubscribe from this group and all its topics, send an email to sculptorgenerator+unsubscribe@googlegroups.com.
Would it be possible to easily add recognition of namespaces in generator during code generation?
On Friday, 30 October 2015 13:51:20 UTC, Richard Walsh wrote:
Excellent thanks.