I am able to compile and produce an executable for 
`Org.Apache.REEF.Bridge.Core.HelloREEF`; the problem is that we seem to fail to 
package the jar file with it. That is, when I run HelloREEF .NET on Linux, I 
get the following:
```text
Org.Apache.REEF.Bridge.Core.Grpc.Client.ClientLauncher Information: 0 : 
2018-10-05T00:52:18.6706286+00:00 0001 : INFO: Server port any True
Org.Apache.REEF.Bridge.Core.Grpc.Client.ClientLauncher Information: 0 : 
2018-10-05T00:52:18.6753025+00:00 0001 : INFO: Server port 43569
Org.Apache.REEF.Bridge.Core.Grpc.Client.ClientLauncher Information: 0 : 
2018-10-05T00:52:18.6916485+00:00 0001 : INFO: Job folder 
fa736b96-c84e-4eb9-99f0-6d986e14a0c2

Unhandled Exception: System.AggregateException: One or more errors occurred. 
(Unable to assemble classpath. Make sure the REEF Jar is in the current working 
directory.) ---> Org.Apache.REEF.Tang.Exceptions.IllegalStateException: Unable 
to assemble classpath. Make sure the REEF Jar is in the current working 
directory.
   at 
Org.Apache.REEF.Bridge.Core.Common.Client.JavaClientLauncher.GetClientClasspath()
 in 
/home/sergiym/devel/reef/lang/cs/Org.Apache.REEF.Bridge.Core.Common/Client/JavaClientLauncher.cs:line
 182
   at 
Org.Apache.REEF.Bridge.Core.Common.Client.JavaClientLauncher.AssembleArguments(JavaLoggingSetting
 javaLogLevel, String javaClassName, String[] parameters) in 
/home/sergiym/devel/reef/lang/cs/Org.Apache.REEF.Bridge.Core.Common/Client/JavaClientLauncher.cs:line
 125
   at 
Org.Apache.REEF.Bridge.Core.Common.Client.JavaClientLauncher.LaunchAsync(JavaLoggingSetting
 javaLogLevel, String javaClassName, String[] parameters, CancellationToken 
cancellationToken) in 
/home/sergiym/devel/reef/lang/cs/Org.Apache.REEF.Bridge.Core.Common/Client/JavaClientLauncher.cs:line
 62
   at 
Org.Apache.REEF.Bridge.Core.Grpc.Client.ClientLauncher.<SubmitAsync>d__20.MoveNext()
 in 
/home/sergiym/devel/reef/lang/cs/Org.Apache.REEF.Bridge.Core.Grpc/Client/ClientLauncher.cs:line
 155
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean 
waitCompletionNotification)
   at Org.Apache.REEF.Bridge.Core.HelloREEF.HelloREEF.Run(String runtime) in 
/home/sergiym/devel/reef/lang/cs/Org.Apache.REEF.Bridge.Core.HelloREEF/HelloREEF.cs:line
 79
   at Org.Apache.REEF.Bridge.Core.HelloREEF.HelloREEF.MainSimple(String[] args) 
in 
/home/sergiym/devel/reef/lang/cs/Org.Apache.REEF.Bridge.Core.HelloREEF/HelloREEF.cs:line
 142
   at Org.Apache.REEF.Bridge.Core.HelloREEF.Run.Main(String[] args) in 
/home/sergiym/devel/reef/lang/cs/Org.Apache.REEF.Bridge.Core.HelloREEF/Run.cs:line
 28
```
There is no JAR file anywhere in the `./netcoreapp2.0/linux-x64/publish/` 
directory, and it doesn't look like it is bundled as a resource in any of the 
dlls there.

@tcondie do you have any ideas what's going on there and how we can fix that in 
our build?

[ Full content available at: https://github.com/apache/reef/pull/1477 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to