-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests fail with FileNotFoundException #268
Comments
Currently the missing JAR is not a direct problem for KEFCore, however the latest version of JNet introduced, with masesgroup/JNet#479, a check on needed JARs and the issue is raised. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<jnet_jars Include="$(MSBuildThisFileDirectory)\jars\*.*" />
</ItemGroup>
<Target Name="CopyFilesNative" BeforeTargets="Build">
<Copy SourceFiles="@(jnet_jars)" DestinationFolder="$(TargetDir)\jars" />
</Target>
<Target Name="CopyFilesNativePublish" BeforeTargets="Publish">
<Copy SourceFiles="@(jnet_jars)" DestinationFolder="$(PublishDir)\jars" />
</Target>
</Project> and KNet defines a <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<knet_jars Include="$(MSBuildThisFileDirectory)\jars\*.*" />
<knet_config Include="$(MSBuildThisFileDirectory)\config\*.*" />
<knet_configKraft Include="$(MSBuildThisFileDirectory)\config\kraft\*.*" />
</ItemGroup>
<Target Name="CopyFilesNative" BeforeTargets="Build">
<Copy SourceFiles="@(knet_jars)" DestinationFolder="$(TargetDir)/jars" />
<Copy SourceFiles="@(knet_config)" DestinationFolder="$(TargetDir)/config" />
<Copy SourceFiles="@(knet_configKraft)" DestinationFolder="$(TargetDir)/config/kraft" />
</Target>
<Target Name="CopyFilesNativePublish" BeforeTargets="Publish">
<Copy SourceFiles="@(knet_jars)" DestinationFolder="$(PublishDir)/jars" />
<Copy SourceFiles="@(knet_config)" DestinationFolder="$(PublishDir)/config" />
<Copy SourceFiles="@(knet_configKraft)" DestinationFolder="$(PublishDir)/config/kraft" />
</Target>
</Project> From both files it is possible to highlight that |
Solved with #270 |
Originally posted by @masesdevelopers in #266 (comment)
The text was updated successfully, but these errors were encountered: