1. Sebastian Sebastian
  2. scm-manager
  3. Issues


Issue #5 resolved

Deployment from source not fully documented

Stanisław Pitucha
created an issue

I followed the instruction for building the package from source on a debian machine. The build succeeded and after adding appropriate wrapper scripts (issue#4), the application seems to be happy - apart from the config files. I couldn't find any information on what should I do with them.

The first error is: {{{ jvm 1 | could not find /app-info.xml in classpath wrapper | <-- Wrapper Stopped }}}

If I use the app-info.xml from the src directory, I get this:

{{{ jvm 1 | WrapperSimpleApp: Encountered an error running main: sonia.scm.server.ServerException: could not find server-config.xml jvm 1 | sonia.scm.server.ServerException: could not find server-config.xml jvm 1 | at sonia.scm.server.jetty.JettyServer.start(JettyServer.java:113) jvm 1 | at sonia.scm.server.ServerApplication.main(ServerApplication.java:102) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | at java.lang.reflect.Method.invoke(Method.java:616) jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) jvm 1 | at java.lang.Thread.run(Thread.java:636) }}}

Is there a way to generate those configs automatically? Or should I do something myself? (Could https://bitbucket.org/sdorra/scm-manager/wiki/build-from-source be updated ?) :)

Comments (3)

  1. Log in to comment