Castor library JAR - jar

I have a serious problem, I need the JAR version 1.3.3 or 1.4.1 of :
castor (mainly),
castor ddlgen,
castor codegen and
castor anttasks
I as looking for these but I just found version 1.2 and. lower.
It would be great if some of you can help me.
Thanks in advance.

Havent used that lib but the general workflow is
option 1
In docs for that lib https://github.com/castor-data-binding/castor
it says you can download jar files from Sonatype's OSS snapshot
so go to that link
https://oss.sonatype.org/content/groups/public/org/codehaus/castor/castor-core/
https://oss.sonatype.org/content/groups/public/org/codehaus/castor/castor-anttasks/
and browse around. Here you can find those versions
I guess you are not using maven. You have to use ant or something. In that case you can still to this
option 2
Go to maven repo
https://mvnrepository.com/artifact/org.codehaus.castor
Pick what lib you need for example
https://mvnrepository.com/artifact/org.codehaus.castor/castor-xml/1.4.1
and in table you can find links to jars to download
option 3
If you cant find on maven repo that lib. You can still clone that maven project, and run maven install and it will build jar files locally for you. After that just copy them

Related

How to get the nuget cache folder location

I am writing a dotnet core tool and need to find a sibling nuget package from my tool. If i was on full .net framework i could have found it with
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),".nuget...");
Anyone have a sugestion to find the package folder when not having the Environment stuff avaible? (If nothing exists, i can live with it not working on unix)
the dotnet core tools can be used in project.json tools section.
In Nuget 3-3.5 you may use the following to get cache folder location
nuget locals packages-cache -list
After Nuget 3.5 this is currently not supported, but accordingly to this opened issue, Nuget team will consider those feature in future.

Build and Install clRNG

For a project i need Random Numbers in an OpenCL Kernel. I found the clRNG library which is exactly what i need.
https://github.com/clMathLibraries/clRNG
But i have some trouble with installing it. I follows the Installation intructions on Github for the install with VisualStudio. I comiled the files with Cmake and got a clRNG.sln File. I can open this file with visual studio but i dont know whats the next step.
It would be great if someone could give me a detaild step-by-step guide for installing the library.
Thanks a lot.
Maybe you figured this out by yourself already, but here is the guide anyhow:
Build the ALL_BUILD project, either by going to Build -> Build Solution or right-clicking ALL_BUILD in the Solution Explorer and selecting Build.
Build the INSTALL project under CMakePredefinedTargets in the Solution Explorer by right-clicking on it and selecting Build.
Now all the needed files should be in the package folder inside the solution folder.
To use the library in a VS project, you need to the project properties and adding the clRNG include folder in the project Include Directories and the lib/import folder in the project Library Directories. You can find the settings by going to the project properties and selecting Configuration Properties -> VC++ Directories.

JemmyFx jar location

I would like to test my JavaFX applications and i heard that JemmyFX is the right tool to do this. However, i couldn't find the Jar to download.
I tried searching online for it but i was only able to find this page which shows that the last commit on this project was over a year ago.
I have two questions:
1- is JemmyFX released and official or not yet?
2- Where can i download the Jar of JemmyFX?
Can anyone help?
JemmyFX is open-sourced, to get latest version you need to download repository and build it:
hg clone http://hg.openjdk.java.net/openjfx/8/master/tests/
cd tests/tools/Jemmy/JemmyFX
ant
To use JemmyFx you need to add next jars (they all will be in Jemmy subfolders after build):
JemmyFX.jar
JemmyAWTInput.jar
JemmyCore.jar
GlassRobot.jar
GlassImage.jar

Unable to find Lucene contrib jar in maven repository

This is probably a very basic question, but I am unable to find Lucene contrib jar in Apache's Maven repository. For e.g. I looked here, but there's only a .pom, there's no jar file, same with repositories mentioned here.
Am I missing anything obvious?
You can download the jars for maven repositories in here: http://mvnrepository.com/artifact/org.apache.lucene/lucene-core/4.4.0
For the contrib package there is a .jar only for the 3.0.2 and not 3.0.3 (don't know why):
http://mvnrepository.com/artifact/org.apache.lucene/lucene-contrib
Also, you can still download de source code and generate the .jar yourself. Should be as easy as running mvn package.
I found out the answer. Except for couple of versions mentioned by Felipe Hummel, there is not single contrib jar. Contrib contains multiple components such as analyzers, highlighters, etc. and each of them have a JAR.

Including a non-Mavenized dependency so it works with maven-shade-plugin

I want to include GData Client, which doesn't use Maven, as a dependency into my Maven project. It ships as a bunch of JAR files.
Additionaly, I use Maven Shade Plugin to build an executable JAR without any external dependencies (with the default configuration, no renaming/including/excluding/transforming of dependencies).
How can I do that?
(Just adding the JARs as resources wouldn't work, since the Shade plugin must extract them).
you want to check the maven docs on installing 3rd party jars
Once installed into your local maven repository, shade should be able to use them like any other dependency.
See this answer if you don't want to install the JARs in your repository for whatever reason: Add a dependency in Maven

Resources