[ https://issues.apache.org/jira/browse/DL-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15732693#comment-15732693 ]
Xi Liu commented on DL-28: -------------------------- it seems like this issue is on windows platform, [~JoshuaAndrew]? > generate java code failed using scrooge > --------------------------------------- > > Key: DL-28 > URL: https://issues.apache.org/jira/browse/DL-28 > Project: DistributedLog > Issue Type: Bug > Components: distributedlog-protocol > Affects Versions: 0.4.0 > Environment: Apache Maven 3.2.5 > Maven home: C:\apache-maven-3.2.5 > Java version: 1.8.0_60, vendor: Oracle Corporation > Java home: C:\Java\jdk1.8.0_60\jre > Default locale: zh_CN, platform encoding: UTF-8 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos" > Reporter: weiwei > Priority: Blocker > Labels: build > Fix For: 0.4.0 > > Original Estimate: 4h > Remaining Estimate: 4h > > [INFO] Reactor Summary: > [INFO] > [INFO] distributedlog ..................................... SUCCESS [ 0.002 > s] > [INFO] DistributedLog Protocol ............................ FAILURE [ 1.081 > s] > [INFO] DistributedLog Core Library ........................ SKIPPED > [INFO] DistributedLog Client .............................. SKIPPED > [INFO] DistributedLog Service ............................. SKIPPED > [INFO] DistributedLog Benchmark ........................... SKIPPED > [INFO] DistributedLog Example ............................. SKIPPED > [INFO] DistributedLog Basics .............................. SKIPPED > [INFO] DistributedLog Messaging Tutorial .................. SKIPPED > [INFO] DistributedLog Kafka Tutorial ...................... SKIPPED > [INFO] DistributedLog MapReduce ........................... SKIPPED > [INFO] DistributedLog Tutorials ........................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1.321 s > [INFO] Finished at: 2016-08-02T13:26:31+08:00 > [INFO] Final Memory: 12M/150M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Exception parsing: > E:\incubator-distributedlog\distributedlog-protocol\src\main\thrift\service.thrift: > [3.1] failure: string matching regex `\z' expected but `/' found > [ERROR] > [ERROR] // Response stats codes > [ERROR] > [ERROR] ^ > [ERROR] -> [Help 1] > com.twitter.scrooge.frontend.FileParseException: Exception parsing: > E:\isoftstone\workspacedeis\incubator-distributedlog\distributedlog-protocol\src\main\thrift\service.thrift > at > com.twitter.scrooge.frontend.ThriftParser$$anonfun$parse$1.apply(ThriftParser.scala:427) > at > com.twitter.scrooge.frontend.ThriftParser$$anonfun$parse$1.apply(ThriftParser.scala:427) > at scala.Option.map(Option.scala:145) > at > com.twitter.scrooge.frontend.ThriftParser.parse(ThriftParser.scala:420) > at > com.twitter.scrooge.frontend.ThriftParser.parseFile(ThriftParser.scala:448) > at com.twitter.scrooge.Compiler$$anonfun$run$2.apply(Compiler.scala:66) > at com.twitter.scrooge.Compiler$$anonfun$run$2.apply(Compiler.scala:64) > at scala.collection.immutable.List.foreach(List.scala:318) > at > scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32) > at scala.collection.mutable.ListBuffer.foreach(ListBuffer.scala:45) > at com.twitter.scrooge.Compiler.run(Compiler.scala:64) > at com.twitter.ScroogeRunner.compile(ScroogeRunner.scala:45) > at > com.twitter.AbstractMavenScroogeMojo.execute(AbstractMavenScroogeMojo.java:239) > at > com.twitter.MavenScroogeCompileMojo.execute(MavenScroogeCompileMojo.java:22) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > 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:120) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) > 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: com.twitter.scrooge.frontend.ParseException: [3.1] failure: string > matching regex `\z' expected but `/' found > // Response stats codes > ^ > at > com.twitter.scrooge.frontend.ThriftParser.parse(ThriftParser.scala:423) > ... 31 more -- This message was sent by Atlassian JIRA (v6.3.4#6332)