Build Failure on rdbms migration

58 views
Skip to first unread message

Gilles Koffmann

unread,
Nov 10, 2014, 9:11:43 AM11/10/14
to mayoca...@googlegroups.com
Hello, 

With the latest source I have the following issue

mvn install

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:04 min
[INFO] Finished at: 2014-11-10T11:03:12-03:00
[INFO] Final Memory: 49M/182M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (test-compile-groovy) on project mayocat-platform-store-rdbms-migrations: An Ant BuildException has occured: srcdir "C:\hidden_dir\mayocat-shop\platform\store\rdbms\migrations\src\test\groovy" does not exist! -> [Help 1]

Really, the directory test does not exist
Gilles

Jérôme Velociter

unread,
Nov 10, 2014, 10:19:07 AM11/10/14
to mayoca...@googlegroups.com
My bad. This is fixed in https://github.com/mayocat/mayocat-shop/commit/9506938dc06484aaa0d8731460d1b1f7d689b0d5

Hopefully now everything is alright.

Jerome

Gilles Koffmann

unread,
Nov 10, 2014, 2:37:30 PM11/10/14
to mayoca...@googlegroups.com

Yess I could build and run this time.

So I could run with startup_development.sh I had to :
- modify in script JAR_NAME=`ls target | grep "^mayocat-shop" | grep -v postgre | grep -v shaded`
- create manually data and tmp directories because of the following error

Exception in thread "main" org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [role = [interface org.mayocat.rest.Resource] hint = [/marketplace/images/]]
        at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:187)
        at org.mayocat.application.AbstractService.registerResources(AbstractService.java:260)
        at org.mayocat.application.AbstractService.run(AbstractService.java:116)
        at org.mayocat.application.AbstractService.run(AbstractService.java:73)
        at com.yammer.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:38)
        at com.yammer.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:58)
        at com.yammer.dropwizard.cli.Cli.run(Cli.java:53)
        at com.yammer.dropwizard.Service.run(Service.java:61)
        at org.mayocat.shop.application.MayocatShopService.main(MayocatShopService.java:51)
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.mayocat.image.DefaultImageService] identifier by [role = [interface org.mayocat.image.ImageService] hint = [default]]
        at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:348)
        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:161)
        at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
        at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
        at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:185)
        ... 8 more
Caused by: org.xwiki.component.phase.InitializationException: Failed to initialize image cache. Is the data directory writable ?
        at org.mayocat.image.DefaultImageService.initialize(DefaultImageService.java:66)
        at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
        at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:323)
        at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
        at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346)
        ... 12 more
Reply all
Reply to author
Forward
0 new messages