In my web application, I am using 3td party jar files. To make an Attributions Document I need to group the jar files specifying its library name. My question is about how can I found the library name of used jars or any tool that I can upload jars and it will group jars by library? I looked at them in a maven repository but there is no information about library name.
Here is the list of jar files:
serializer.jar
ant-1.10.3.jar
avalon-framework-api-4.3.1.jar
barcode4j-2.1.jar
batik.jar
batik-awt-util-1.9.1.jar
batik-xml-1.9.1.jar
bcel-6.2.jar
common-core.jar
commons-beanutils-1.9.3.jar
commons-dbcp-1.4.jar
commons-vfs2-2.2.jar
derby-10.14.2.0.jar
eigenbase-properties.jar
eigenbase-resgen.jar
eigenbase-xom.jar
fluent-hc-4.3.3.jar
fop-2.2.jar
freemarker.jar
groovy-all-2.4.13.jar
gson-2.2.2.jar
httpclient-4.5.5.jar
httpclient-cache-4.5.5.jar
httpcore-4.4.9.jar
httpmime-4.5.5.jar
jboss-logging-3.1.3.GA.jar
jkeylockmanager-1.0.0.jar
joda-time-2.2.jar
jsonassert-1.2.0.jar
log4j-1.2.17.jar
olap4j-1.2.0.jar
poi-3.17.jar
poi-ooxml-3.17.jar
poi-ooxml-schemas-3.17.jar
spring-web-4.3.16.RELEASE.jar
spring-webmvc-4.3.16.RELEASE.jar
velocity-1.7-dep.jar
xalan-2.7.2.jar
xbean.jar
xercesImpl-2.11.0.SP5.jar
xml-apis-1.3.03.jar
xml-apis-ext.jar
xmlbeans-2.3.0.jar
xmlgraphics-commons-1.4.jar
xpp3.jar
olap4j-jdk14.jar
dom4j-1.6.1.jar
jsch-0.1.51.jar
retroweaver-rt.jar
xmlunit.jar
jstl-1.2.jar
mail.jar
jboss-transaction-api_1.2_spec-1.0.0.Final.jar
activation.jar
jmxremote_optional.jar
jaxb-api.jar
saaj-api.jar
saaj-ri.jar
jsf-api.jar
junit-4.10.jar
pivot4j-core-0.9.jar
jrcerom.jar
keycodeDecoder.jar
pfjgraphics.jar
QueryBuilder.jar
webreporting.jar
webreporting-jsf.jar
XMLConnector.jar
mondrian-3.14.0.0-12.jar
hibernate-jpa-2.1-api-1.0.0.Final.jar
aspectjrt-1.8.9.jar
aspectjweaver-1.8.9.jar
jdt-compiler-3.1.1.jar
jflex-1.4.3.jar
rhino-1.7R3.jar
mysql-connector-java-5.1.25-bin.jar
icu4j.jar
jasperreports-5.5.0.jar
javadbf-0.4.0.jar
jcommon-1.0.15.jar
jxl-2.6.10.jar
png-encoder-1.5.jar
hibernate-commons-annotations-4.0.5.Final.jar
hibernate-core-4.3.8.Final.jar
jcifs-1.3.17.jar
slf4j-api-1.7.1.jar
slf4j-log4j12-1.7.1.jar
stax-api-1.0.1.jar
jsoup-1.9.1.jar
iText-2.1.7.js2.jar
itext-rtf-2.1.7.jar
javassist-3.18.1-GA.jar
Access_JDBC30.jar
Excel_JDBC30.jar
jpa.jar
jpivot.jar
Related
Crash happens in runtime on vtkSmartVolumeMapper::New() step.
And it goes deep to vtkFixedPointVolumeRayCastMapper constructor. Don't understand how to tackle such an issue, please help
Exception thrown at 0x00007FF73A60735A in smop-ptqt.exe: 0xC0000005: Access violation reading location 0x0000000000000000.
Qt 5.15.6, VTK 9.1.0, ITK 5.2.1
Finally fixed crash on vtkSmartVolumeMapper::New() by using VTK9's new module approach in cmakelists.
So previously, while project used some vtk7.1 version.
CmakeLists treated VTK like this
find_package(VTK CONFIG REQUIRED PATHS "<some_path>/3rd_party/VTK/build/install_dir/lib/cmake/vtk-9.1" )
then used and so on.
target_link_libraries( ...${VTK_LIBRARIES} )
Now I applied module way
find_package(VTK CONFIG REQUIRED
COMPONENTS
GUISupportQt
CommonCore
ViewsCore
ViewsInfovis
DICOM
RenderingCore
RenderingLabel
CommonExecutionModel
RenderingOpenGL2
InteractionWidgets
IOPLY
IOGeometry
RenderingQt
RenderingVolumeOpenGL2
IOImport )
...
target_link_libraries(${PROJECT_NAME} ...
VTK::GUISupportQt
VTK::CommonCore
VTK::ViewsCore
VTK::ViewsInfovis
VTK::DICOM
VTK::RenderingCore
VTK::RenderingLabel
VTK::CommonExecutionModel
VTK::RenderingOpenGL2
VTK::InteractionWidgets
VTK::IOCore
VTK::IOPLY
VTK::IOGeometry
VTK::RenderingQt
VTK::RenderingVolumeOpenGL2
VTK::IOImport
)
...
vtk_module_autoinit(
TARGETS ${PROJECT_NAME}
MODULES VTK::GUISupportQt
VTK::CommonCore
VTK::ViewsCore
VTK::ViewsInfovis
VTK::DICOM
VTK::RenderingCore
VTK::RenderingLabel
VTK::CommonExecutionModel
VTK::RenderingOpenGL2
VTK::InteractionWidgets
VTK::IOCore
VTK::IOPLY
VTK::IOGeometry
VTK::RenderingQt
VTK::RenderingVolumeOpenGL2
VTK::IOImport
)
( was inspired by this script, thank you Qt-VTK-viewer developer(s) who worked on that script https://github.com/martijnkoopman/Qt-VTK-viewer/blob/master/CMakeLists.txt )
When I try to publish my Uno Platform WASM solution from within Visual Studio 2019 Version 16.9.0 either to an App Service in Azure or to a local publish folder I get the following error.
CSC(0,0): Error CS2012: Cannot open 'C:\Users...\obj\Release\netstandard2.0\FileName.Wasm.dll' for writing -- 'The process cannot access the file 'C:\Users...\obj\Release\netstandard2.0\FileName.Wasm.dll' because it is being used by another process.'
I have had this problem before and then I have moved the entire solution to another folder (with shorter filepath) and been able to publish from there. This time that doesn't work either.
I have tried rebooting and only starting Visual Studio and trying to publish directly, cleaning the solution and adding the following in the Wasm.csproj file
<PropertyGroup>
<WasmShellEnableLongPathSupport>false</WasmShellEnableLongPathSupport>
</PropertyGroup>
But still no go.
I am using Uno... v3.5.1 and Uno.Wasm... v1.3.6
An update: I noticed that it starts to run Roslyn\csc.exe after the publish has started. Could this explain it?
1>------ Build started: Project: Client.Wasm, Configuration: Release Any CPU ------
1>Client.Wasm -> C:\...\bin\Release\netstandard2.0\Client.Wasm.dll
1>Done building project "Client.Wasm.csproj".
2>------ Publish started: Project: Client.Wasm, Configuration: Release Any CPU ------
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Roslyn\csc.exe /noconfig /unsafe- /checked- /nowarn:NU1701,1701,1702,2008 /fullpaths /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE;RELEASE;NETSTANDARD;NETSTANDARD2_0;UNO_REFERENCE_API;HAS_UNO_WASM;__WASM__;UNO_REFERENCE_API;HAS_UNO_WASM;__WASM__;HAS_UNO;UNO_HAS_FRAMEWORKELEMENT_MEASUREOVERRIDE;UNO_HAS_NO_IDEPENDENCYOBJECT;UNO_REFERENCE_API /errorendlocation /preferreduilang:en-US /highentropyva+ /reference:C:\Users\nivu\.nuget\packages\commonservicelocator\2.0.5\lib\netstandard2.0\CommonServiceLocator.dll /reference:C:\Users\nivu\.nuget\packages\microsoft.extensions.configuration.abstractions\1.1.1\lib\netstandard1.0\Microsoft.Extensions.Configuration.Abstractions.dll /reference:C:\Users\nivu\.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\1.1.0\lib\netstandard1.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll /reference:C:\Users\nivu\.nuget\packages\microsoft.extensions.logging.abstractions\1.1.1\lib\netstandard1.1\Microsoft.Extensions.Logging.Abstractions.dll /reference:C:\Users\nivu\.nuget\packages\microsoft.extensions.logging.console\1.1.1\lib\netstandard1.3\Microsoft.Extensions.Logging.Console.dll /reference:C:\Users\nivu\.nuget\packages\microsoft.extensions.logging\1.1.1\lib\netstandard1.1\Microsoft.Extensions.Logging.dll /reference:C:\Users\nivu\.nuget\packages\microsoft.extensions.logging.filter\1.1.1\lib\netstandard1.1\Microsoft.Extensions.Logging.Filter.dll /reference:C:\Users\nivu\.nuget\packages\microsoft.extensions.primitives\1.1.0\lib\netstandard1.0\Microsoft.Extensions.Primitives.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\Microsoft.Win32.Primitives.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\mscorlib.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\netstandard.dll /reference:C:\Users\nivu\.nuget\packages\newtonsoft.json\12.0.3\lib\netstandard2.0\Newtonsoft.Json.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.AppContext.dll /reference:C:\Users\nivu\.nuget\packages\system.buffers\4.5.1\ref\netstandard2.0\System.Buffers.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Collections.Concurrent.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Collections.dll /reference:C:\Users\nivu\.nuget\packages\system.collections.immutable\1.3.1\lib\netstandard1.0\System.Collections.Immutable.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Collections.NonGeneric.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Collections.Specialized.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.ComponentModel.Composition.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.ComponentModel.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.ComponentModel.EventBasedAsync.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.ComponentModel.Primitives.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.ComponentModel.TypeConverter.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Console.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Core.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Data.Common.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Data.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Diagnostics.Contracts.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Diagnostics.Debug.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Diagnostics.FileVersionInfo.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Diagnostics.Process.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Diagnostics.StackTrace.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Diagnostics.TextWriterTraceListener.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Diagnostics.Tools.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Diagnostics.TraceSource.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Diagnostics.Tracing.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Drawing.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Drawing.Primitives.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Dynamic.Runtime.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Globalization.Calendars.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Globalization.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Globalization.Extensions.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.IO.Compression.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.IO.Compression.FileSystem.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.IO.Compression.ZipFile.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.IO.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.IO.FileSystem.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.IO.FileSystem.DriveInfo.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.IO.FileSystem.Primitives.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.IO.FileSystem.Watcher.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.IO.IsolatedStorage.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.IO.MemoryMappedFiles.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.IO.Pipes.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.IO.UnmanagedMemoryStream.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Linq.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Linq.Expressions.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Linq.Parallel.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Linq.Queryable.dll /reference:C:\Users\nivu\.nuget\packages\system.memory\4.5.4\lib\netstandard2.0\System.Memory.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Net.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Net.Http.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Net.NameResolution.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Net.NetworkInformation.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Net.Ping.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Net.Primitives.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Net.Requests.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Net.Security.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Net.Sockets.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Net.WebHeaderCollection.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Net.WebSockets.Client.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Net.WebSockets.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Numerics.dll /reference:C:\Users\nivu\.nuget\packages\system.numerics.vectors\4.5.0\ref\netstandard2.0\System.Numerics.Vectors.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.ObjectModel.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Reflection.dll /reference:C:\Users\nivu\.nuget\packages\system.reflection.emit.ilgeneration\4.3.0\ref\netstandard1.0\System.Reflection.Emit.ILGeneration.dll /reference:C:\Users\nivu\.nuget\packages\system.reflection.emit.lightweight\4.3.0\ref\netstandard1.0\System.Reflection.Emit.Lightweight.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Reflection.Extensions.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Reflection.Primitives.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Resources.Reader.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Resources.ResourceManager.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Resources.Writer.dll /reference:C:\Users\nivu\.nuget\packages\system.runtime.compilerservices.unsafe\4.5.3\ref\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Runtime.CompilerServices.VisualC.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Runtime.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Runtime.Extensions.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Runtime.Handles.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Runtime.InteropServices.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Runtime.InteropServices.RuntimeInformation.dll /reference:C:\Users\nivu\.nuget\packages\system.runtime.interopservices.windowsruntime\4.3.0\ref\netstandard1.0\System.Runtime.InteropServices.WindowsRuntime.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Runtime.Numerics.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Runtime.Serialization.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Runtime.Serialization.Formatters.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Runtime.Serialization.Json.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Runtime.Serialization.Primitives.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Runtime.Serialization.Xml.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Security.Claims.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Security.Cryptography.Algorithms.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Security.Cryptography.Csp.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Security.Cryptography.Encoding.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Security.Cryptography.Primitives.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Security.Cryptography.X509Certificates.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Security.Principal.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Security.SecureString.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.ServiceModel.Web.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Text.Encoding.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Text.Encoding.Extensions.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Text.RegularExpressions.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Threading.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Threading.Overlapped.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Threading.Tasks.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Threading.Tasks.Parallel.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Threading.Thread.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Threading.ThreadPool.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Threading.Timer.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Transactions.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.ValueTuple.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Web.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Windows.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Xml.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Xml.Linq.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Xml.ReaderWriter.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Xml.Serialization.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Xml.XDocument.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Xml.XmlDocument.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Xml.XmlSerializer.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Xml.XPath.dll /reference:C:\Users\nivu\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\System.Xml.XPath.XDocument.dll /reference:C:\Users\nivu\.nuget\packages\uno.core\2.2.0\lib\netstandard2.0\Uno.Core.dll /reference:C:\Users\nivu\.nuget\packages\uno.diagnostics.eventing\1.0.4\lib\netstandard2.0\Uno.Diagnostics.Eventing.dll /reference:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\lib\netstandard2.0\Uno.dll /reference:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\lib\netstandard2.0\Uno.Foundation.dll /reference:C:\Users\nivu\.nuget\packages\uno.foundation.runtime.webassembly\3.5.1\lib\netstandard2.0\Uno.Foundation.Runtime.WebAssembly.dll /reference:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\lib\netstandard2.0\Uno.UI.dll /reference:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\lib\netstandard2.0\Uno.UI.FluentTheme.dll /reference:C:\Users\nivu\.nuget\packages\uno.ui.runtime.webassembly\3.5.1\lib\netstandard2.0\Uno.UI.Runtime.WebAssembly.dll /reference:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\lib\netstandard2.0\Uno.UI.Toolkit.dll /reference:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\lib\netstandard2.0\Uno.Xaml.dll /debug+ /debug:portable /filealign:512 /optimize+ /out:obj\Release\netstandard2.0\Client.Wasm.dll /resource:WasmCSS\Fonts.css,Client.Wasm.WasmCSS.Fonts.css /resource:WasmScripts\AppManifest.js,Client.Wasm.WasmScripts.AppManifest.js /resource:LinkerConfig.xml,Client.Wasm.xml /resource:C:\source\Admin\Client\Client\Client.Wasm\obj\Release\netstandard2.0\g\ResourcesGenerator\Strings\en\Resources.resw\Resources.upri,Strings.en.Resources.resw.Resources.upri /target:exe /warnaserror- /utf8output /deterministic+ /langversion:7.3 /analyzer:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\Uno.Analyzers.dll /analyzer:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\CommonServiceLocator.dll /analyzer:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Microsoft.ApplicationInsights.dll /analyzer:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Microsoft.DotNet.PlatformAbstractions.dll /analyzer:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Microsoft.Extensions.Logging.Abstractions.dll /analyzer:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Microsoft.Extensions.Logging.dll /analyzer:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Mono.Cecil.Mdb.dll /analyzer:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Mono.Cecil.Pdb.dll /analyzer:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Mono.Cecil.Rocks.dll /analyzer:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Mono.Cecil.dll /analyzer:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\System.Diagnostics.DiagnosticSource.dll /analyzer:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Uno.Core.dll /analyzer:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Uno.Xaml.dll /additionalfile:C:\source\Admin\Client\Client\Client.Shared\MainPage.xaml /additionalfile:C:\source\Admin\Client\Client\Client.Shared\Pages\BaseData.xaml /additionalfile:C:\source\Admin\Client\Client\Client.Shared\Pages\BlankPage.xaml /additionalfile:C:\source\Admin\Client\Client\Client.Shared\Pages\CustomerPage.xaml /additionalfile:C:\source\Admin\Client\Client\Client.Shared\Pages\HomePage.xaml /additionalfile:C:\source\Admin\Client\Client\Client.Shared\Pages\InspectionPage.xaml /additionalfile:C:\source\Admin\Client\Client\Client.Shared\Pages\InspectionTemplatePage.xaml /additionalfile:C:\source\Admin\Client\Client\Client.Shared\Pages\MachinesPage.xaml /additionalfile:C:\source\Admin\Client\Client\Client.Shared\Pages\SettingsPages\CommentsPage.xaml /additionalfile:C:\source\Admin\Client\Client\Client.Shared\Pages\SettingsPages\InspectionSummariesPage.xaml /additionalfile:C:\source\Admin\Client\Client\Client.Shared\Pages\SettingsPages\StatusPage.xaml /additionalfile:C:\source\Admin\Client\Client\Client.Shared\App.xaml /additionalfile:C:\source\Admin\Client\Client\Client.Shared\Strings\en\Resources.resw /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\Uno.Analyzers.dll /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\CommonServiceLocator.dll /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Microsoft.ApplicationInsights.dll /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Microsoft.DotNet.PlatformAbstractions.dll /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Microsoft.Extensions.Logging.Abstractions.dll /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Microsoft.Extensions.Logging.dll /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Mono.Cecil.Mdb.dll /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Mono.Cecil.Pdb.dll /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Mono.Cecil.Rocks.dll /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Mono.Cecil.dll /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\System.Diagnostics.DiagnosticSource.dll /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Uno.Core.dll /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Uno.UI.SourceGenerators.dll /additionalfile:C:\Users\nivu\.nuget\packages\uno.ui\3.5.1\analyzers\dotnet\cs\Uno.Xaml.dll Program.cs C:\source\Admin\Client\Client\Client.Shared\App.xaml.cs C:\source\Admin\Client\Client\Client.Shared\Helpers\Authenticator.cs C:\source\Admin\Client\Client\Client.Shared\Helpers\DsipachedBindableBase.cs C:\source\Admin\Client\Client\Client.Shared\Helpers\IdHolders\SavedTemplateIds.cs C:\source\Admin\Client\Client\Client.Shared\Helpers\IdHolders\StaticTypes.cs C:\source\Admin\Client\Client\Client.Shared\Helpers\IdHolders\UriItem.cs C:\source\Admin\Client\Client\Client.Shared\Helpers\RelayCommand.cs C:\source\Admin\Client\Client\Client.Shared\Helpers\RESTMessage.cs C:\source\Admin\Client\Client\Client.Shared\Helpers\UnoHttpClientHandler.cs C:\source\Admin\Client\Client\Client.Shared\MainPage.xaml.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\Addresses.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\AddressTypes.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\AllTypes.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\CheckTypes.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\ClientSettings.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\Comments.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\CommentsForCreation.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\ContactForCreationDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\ContactForUpdateDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\Contacts.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\Customers.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\GUIBase.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\IInspection.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\InspectionCommentsDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\InspectionComponentDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\InspectionItemDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\InspectionItemsForUpdateDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\InspectionResourceDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\InspectionSegmentDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\InspectionTableRowDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\InspectionTemplateDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\InspectionTemplateForCreationDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\InspectionTemplates.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\Machines.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\MachinesForCreationDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\MachineTypes.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\Parts.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\PredefinedSummary.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\TemplateComponents.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\TemplateItemComments.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\TemplateItems.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\Templates.cs C:\source\Admin\Client\Client\Client.Shared\Models\DataModels\TemplateSegments.cs C:\source\Admin\Client\Client\Client.Shared\Models\ForCreation\ClientSettingsForCreationDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\ForCreation\CloneForCreationDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\ForCreation\InspectionItemCommentsForCreationDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\ForCreation\PredifinedSummaryForCreationDto.cs C:\source\Admin\Client\Client\Client.Shared\Models\ForCreation\TemplateItemCommentsForCreationDto.cs C:\source\Admin\Client\Client\Client.Shared\Pages\BaseData.xaml.cs C:\source\Admin\Client\Client\Client.Shared\Pages\BlankPage.xaml.cs C:\source\Admin\Client\Client\Client.Shared\Pages\CustomerPage.xaml.cs C:\source\Admin\Client\Client\Client.Shared\Pages\HomePage.xaml.cs C:\source\Admin\Client\Client\Client.Shared\Pages\InspectionPage.xaml.cs C:\source\Admin\Client\Client\Client.Shared\Pages\InspectionTemplatePage.xaml.cs C:\source\Admin\Client\Client\Client.Shared\Pages\MachinesPage.xaml.cs C:\source\Admin\Client\Client\Client.Shared\Pages\SettingsPages\CommentsPage.xaml.cs C:\source\Admin\Client\Client\Client.Shared\Pages\SettingsPages\InspectionSummariesPage.xaml.cs C:\source\Admin\Client\Client\Client.Shared\Pages\SettingsPages\StatusPage.xaml.cs C:\source\Admin\Client\Client\Client.Shared\ValueConverters\AddressTypeToString.cs C:\source\Admin\Client\Client\Client.Shared\ValueConverters\BoolToInvertedBool.cs C:\source\Admin\Client\Client\Client.Shared\ValueConverters\BoolTrueToColor.cs C:\source\Admin\Client\Client\Client.Shared\ValueConverters\CheckTypeIdToString.cs C:\source\Admin\Client\Client\Client.Shared\ValueConverters\IntegerToString.cs ---
I have an SBT project which pulls in dependencies. I only want to pull in the direct dependencies - not any transitive dependencies. I'd like to find the filename of the dependency that's pulled in, so that I can copy it somewhere.
e.g. given a build.sbt file with the following contents:
libraryDependencies += "org.eclipse.jetty" % "jetty-server" % "9.4.28.v20200408"
I would like to know where is the jetty-server jar on the file system.
I have tried adding the following to my build.sbt file:
lazy val mytaskKey: TaskKey[Unit] = TaskKey[Unit]("mytask")
def mytask: Def.Setting[Task[Unit]] = mytaskKey := {
val updateReport = update.value
updateReport.allFiles foreach { f =>
println(f)
}
}
mytask
When I run this, I get a full list of dependencies:
/Users/dylan/.sbt/boot/scala-2.12.10/lib/scala-library.jar
/Users/dylan/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/jetty/jetty-server/9.4.28.v20200408/jetty-server-9.4.28.v20200408.jar
/Users/dylan/.sbt/boot/scala-2.12.10/lib/scala-compiler.jar
/Users/dylan/.sbt/boot/scala-2.12.10/lib/scala-reflect.jar
/Users/dylan/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-xml_2.12/1.0.6/scala-xml_2.12-1.0.6.jar
/Users/dylan/.coursier/cache/v1/https/repo1.maven.org/maven2/jline/jline/2.14.6/jline-2.14.6.jar
/Users/dylan/.coursier/cache/v1/https/repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.12/jansi-1.12.jar
I don't want that full list - I just want the jetty jar. i.e.
/Users/dylan/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/jetty/jetty-server/9.4.28.v20200408/jetty-server-9.4.28.v20200408.jar
How might I get this list?
Yes, there is with either intransitive() or notTransitive() classifiers. It's documented here.
I have mentioned a jar(belonging to my org's artifactory) in my build.sbt file
lazy val core =
module("core", deps = Seq(
"io.swagger" % "swagger-annotations" % "1.5.8"
)).settings(
libraryDependencies ++= Seq(
"com.quantcast" % "quantserve_shared" % "latest.integration"
))
When i compile the code, i see these files getting downloaded in my ~/.ivy2 directory but not the jars folder or any jar.
ls ./cache/com.quantcast/quantserve_shared/
ivy-3.5.3132.xml ivy-3.5.3132.xml.original ivydata-3.5.3132.properties ivydata-latest.integration.properties
I checked my resolution-cache/reports/audience-link-core-audience-link-core_2.11-compile-internal.xml file and see this :
<module organisation="com.quantcast" name="quantserve_shared">
<revision name="3.5.3132" status="release" pubdate="20170315145341" resolver="sbt-chain" artresolver="sbt-chain" downloaded="false" searched="true" default="false" conf="compile, default(compile)" position="74">
<metadata-artifact status="no" details="" size="7161" time="0" location="/Users/pkhurana/.ivy2/cache/com.quantcast/quantserve_shared/ivy-3.5.3132.xml" searched="true" origin-is-local="false" origin-location="http://<My org artifactory>/libs-bmr-releases-local/com/quantcast/quantserve_shared/3.5.3132/ivy-3.5.3132.xml"/>
<caller organisation="audience-link-core" name="audience-link-core_2.11" conf="compile-internal, compile, provided, optional" rev="latest.integration" rev-constraint-default="latest.integration" rev-constraint-dynamic="latest.integration" callerrev="0.9999999.17.76.111418"/>
<artifacts>
</artifacts>
</revision>
</module>
So nothing comes in artifactory tag, but i do see other jars which are dependencies of quantserve_shared jar gets downloaded and their entry in the resolution cache also fine.
<module organisation="com.twitter.util-core" name="util-core">
<revision name="1.12.13" status="release" pubdate="20131024042503" resolver="sbt-chain" artresolver="sbt-chain" homepage="" downloaded="false" searched="false" default="false" conf="default, compile, runtime, master" position="127">
<metadata-artifact status="no" details="" size="2240" time="0" location="/Users/pkhurana/.ivy2/cache/com.twitter.util-core/util-core/ivy-1.12.13.xml" searched="false" origin-is-local="true" origin-location="/Users/pkhurana/.ivy2/quantcast-bmr/com.twitter.util-core/util-core/ivy-1.12.13.xml"/>
<caller organisation="com.quantcast" name="quantserve_shared" conf="compile" rev="1.12.13" rev-constraint-default="1.12.13" rev-constraint-dynamic="1.12.13" callerrev="3.5.3132"/>
<artifacts>
<artifact name="util-core" type="jar" ext="jar" status="no" details="" size="632306" time="0" location="/Users/pkhurana/.ivy2/quantcast-bmr/com.twitter.util-core/util-core/jars/util-core-1.12.13.jar">
<origin-location is-local="true" location="/Users/pkhurana/.ivy2/quantcast-bmr/com.twitter.util-core/util-core/jars/util-core-1.12.13.jar"/>
</artifact>
</artifacts>
</revision>
</module>
Not sure why but the latest sbt (0.13.15) does download everything
This happened because the dependency jar did not have the configuration 'compile' specified in its ivy file. It has 'master' specified with visibility public. Now sbt tries to find 'compile' by default but fails.
This got solved by changing it to
"com.quantcast" % "quantserve_shared" % "3.5.3166" % "compile->master"
I'm building a Docker image with a fat jar. I use the sbt-assembly plugin to build the jar, and the sbt-native-packager to build the Docker image. I'm not very familiar with SBT and am running into the following issues.
I'd like to declare a dependency on the assembly task from the docker:publish task, such that the fat jar is created before it's added to the image. I did as instructed in the doc, but it's not working. assembly doesn't run until I invoke it.
publish := (publish dependsOn assembly).value
One of the steps in building the image is copying the fat jar. Since assembly plugin creates the jar in target/scala_whatever/projectname-assembly-X.X.X.jar, I need to know the exact scala_whatever and the jar name. assembly seems to have a key assemblyJarName but I'm not sure how to access it. I tried the following which fails.
Cmd("COPY", "target/scala*/*.jar /app.jar")
Help!
Answering my own questions, the following works:
enablePlugins(JavaAppPackaging, DockerPlugin)
assemblyMergeStrategy in assembly := {
case x => {
val oldStrategy = (assemblyMergeStrategy in assembly).value
val strategy = oldStrategy(x)
if (strategy == MergeStrategy.deduplicate)
MergeStrategy.first
else strategy
}
}
// Remove all jar mappings in universal and append the fat jar
mappings in Universal := {
val universalMappings = (mappings in Universal).value
val fatJar = (assembly in Compile).value
val filtered = universalMappings.filter {
case (file, name) => !name.endsWith(".jar")
}
filtered :+ (fatJar -> ("lib/" + fatJar.getName))
}
dockerRepository := Some("username")
import com.typesafe.sbt.packager.docker.{Cmd, ExecCmd}
dockerCommands := Seq(
Cmd("FROM", "username/spark:2.1.0"),
Cmd("WORKDIR", "/"),
Cmd("COPY", "opt/docker/lib/*.jar", "/app.jar"),
ExecCmd("ENTRYPOINT", "/opt/spark/bin/spark-submit", "/app.jar")
)
I completely overwrite the docker commands because the defaults add couple of scripts that I don't need because I overwrite the entrypoint as well. Also, the default workdir is /opt/docker which is not where I want to put the fat jar.
Note that the default commands are shown by show dockerCommands in sbt console.