Unable to build 16.2 on a mac

45 views
Skip to first unread message

rlr...@umich.edu

unread,
Oct 30, 2017, 1:13:51 PM10/30/17
to transmart-discuss

Hi-


I am new to tranSMART and am trying to get my development machine set up so that I can build tranSMART 16.2.  Our group has a few instances of tranSMART running 16.1 and we have a few customizations we have made to the code.  We want to upgrade to 16.2, but I cannot build the application on my local machine.  My coworker, who is using a Windows machine (and has been working on tranSMART for years) is able to build without an issue.


It appears it is unable to find REngine.  I looked in the dependencies in BuildConfig.groovy and found no mention of REngine (either in tranSMARTApp, in Rmodules or in tranSMART-core-db).  Though I do see a reference to Rserve.  I can add a dependency to REngine to the build script, and I get further (though still have some compilation issues), but this doesn't feel like the right move since I know it can and has been built without this change.


Any help would be appreciated!


The following is a snippet of the stacktrace I get when I build...


Warning |

No plugin [rdc-rmodules-16.2] installed, cannot uninstall

Warning |

No plugin [transmart-core-16.2] installed, cannot uninstall

....

|Compiling 549 source files

.Error 

|

Fatal error during compilation org.apache.tools.ant.BuildException: java.lang.NoClassDefFoundError: org/rosuda/REngine/REngine (Use --stacktrace to see the full trace)

Error |

org.codehaus.groovy.grails.cli.ScriptExitException

Error |

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

Error |

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

Error |

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

Error |

at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

rlr...@umich.edu

unread,
Oct 30, 2017, 1:58:05 PM10/30/17
to transmart-discuss
Update:  
I can now build the entire project IF I include REngine in the BuildConfig.groovy.  Without it, I still get the errors above.  (I had a minor issue with the Rmodules plugin that I had not noticed).

I am still confused why I need to add this dependency when I know that it builds in other environments without it.

rlr...@umich.edu

unread,
Dec 5, 2017, 3:59:00 PM12/5/17
to transmart-discuss
Update 2:

It appears that a war file built this way DOES NOT WORK.  Please, any advice would be helpful.  I am stuck.

Thanks!
Reply all
Reply to author
Forward
0 new messages