Git Product home page Git Product logo

gwt-mvn-helper's People

Contributors

pandurangpatil avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gwt-mvn-helper's Issues

One need to keep all classes inside one maven artifact module

One need to keep all classes inside one maven artifact module. Which means I cannot keep few classes ( for which proxy interfaces need to be generated ) in one module. Generate proxy for those classes in respective module and keep other classes on another module which inturn refer to first on modules.

If we add pattern annotation on entity RequestFactory generator fails to translate it.

pattern(regexp = "^http[s]?[:][/][/][A-Za-z0-9]+(.[A-Za-z0-9]+)(.[A-Za-z]{2,})[:]?[\d][/]?(.?)", message = "invalidURL")
or

pattern(regexp = "\S+", message = "noWhiteSpace")

RequestFactory generator fails to generate respective Px interface as Thoughtworks library fails to parse the respective .java file with following error

[ERROR] Failed to generate Request Factory interface/s com.thoughtworks.qdox.parser.ParseException: Illegal escape character 'S' @[169,25] in file:/media/work/projects/3a4users/code/user-admin/user-persistence/src/main/java/open/pandurang/useradmin/persistance/server/entity/Application.java at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:1018) at com.thoughtworks.qdox.parser.impl.Parser.convertString(Parser.java:1126) at com.thoughtworks.qdox.parser.impl.Parser.toString(Parser.java:1233) at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:1800) at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:999) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:353) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:381) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:377) at com.thoughtworks.qdox.JavaDocBuilder.createSourceClass(JavaDocBuilder.java:152) at com.thoughtworks.qdox.JavaClassContext.getClassByName(JavaClassContext.java:59) at com.thoughtworks.qdox.model.Type.getJavaClass(Type.java:290) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.getFinalTypeString(RequestFactoryMojo.java:744) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.getMappedType(RequestFactoryMojo.java:655) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.generateEntityProxy(RequestFactoryMojo.java:588) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.scanAndGenerateRequestFactory(RequestFactoryMojo.java:303) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.execute(RequestFactoryMojo.java:241) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

Build error inside mvn-helper-test module

mvn-helper-plugin:1.0-SNAPSHOT:requestFactory (default) @ mvn-helper-test --- [ERROR] Failed to generate Request Factory interface/s org.apache.maven.plugin.MojoExecutionException: Type "open.pandurang.gwt.requestfactory.helper.Enum.UserStatus" is nigther of supported type nor request factory proxy type at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.getFinalTypeString(RequestFactoryMojo.java:759) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.getMappedType(RequestFactoryMojo.java:630) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.generateEntityProxy(RequestFactoryMojo.java:578) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.scanAndGenerateRequestFactory(RequestFactoryMojo.java:300) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.execute(RequestFactoryMojo.java:240) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.