-
Notifications
You must be signed in to change notification settings - Fork 2
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
Complete bin.zip distribution for download #7
Comments
Thanks for the suggestions, @gordthompson. |
I've added an assembly to create the binary distribution and script files. |
I think I understand what it is doing, although it's all new to me. Will it include loader/ucanload.jar ? |
Unpacking zip:
Currently looking like this:
Not yet at least. What's this for and still needed? Can't remember seeing those at time of fork. |
Does the package no longer depend on commons-lang3 and commons-logging?
It's for configuring other apps, e.g., https://askubuntu.com/a/519571 |
Correct, they're out. UCanAccess now utilizes Java Platform/System Logger, which is part of the JDK since Java 9. Can you tell whether UcanloadDriver in ucanload.jar is still required today? |
It looks like Jackcess still depends on commons-lang3 and commons-logging, though
It would still be useful for the cases I cited above. It discovers the specific versions of the dependencies so a version change for one of those dependencies won't break the configuration of the consuming app (e.g., LibreOffice Base). |
Hi Gord,
Not for much longer. I've forked jackcess - it has no dependencies other than Apache POI I'll see whether I can play with LibreOffice and UCanAcces. |
Hi @gordthompson, good news, I am able to read/write Microsoft Access databases from LibreOffice Base using the latest UCanAccess snapshot. To make this a little more straight-forward I have added a fat-jar assembly to the project, a single jar with all dependencies unpacked i.e.
|
Link to Sonatype snapshot repo Look for |
If the new fat jar were also shaded it would make my life slightly easier 😉 (We currently build a shaded version of ucanaccess in order to eliminate the possibility of jar conflicts.) |
Hi @ravenAtSafe, |
Hi there! I have implemented changes to create a shaded executable uber jar. The intention is to have this one jar that fulfills all requirements from requests #7 and #8. The jar is included in the binary distrib. Everything except UCanAccess itself is shaded (prefix Usage instructions
To enter the UCanAccess console
LibreOffice MS Access database accessLibreOffice
LibreOffice Base
|
Hi @gordthompson, could you review the solution whether it covers your requirements? Thx |
Hi @spannm . I just tested Python/JayDeBeApi using code adapted from here and it works. I did get a couple of warnings
but they are probably just a JayDeBeApi thing, so I'm satisfied. Thanks! |
Hi @gordthompson, thanks for testing. These warnings are issued whenever client code calls You could then investigate where JayDeBeApi issues the calls in question and send them a patch. The distrib zip and shaded fat jar will be part of the upcoming release. cheers! |
Someone did that over 7 years ago, but nothing came of it. :( I'm not too concerned since it's just a warning. (And personally I no longer officially support Access, anyway.) |
- Return primary keys JDBCDatabaseMetaData.getPrimaryKeys ordered by column name - Order hsqldb primary keys by KEY_SEQ
Hello, I am interested in trying UCanAccess with Libreoffice base. Are you still planning to release a binary distribution? |
This seems to be the latest build available: but I am not sure whether this what we are after. Also, I don't find a fat jar. An oficial github release would be excellent :-) |
@ghomem - Did you notice the instructions here? #7 (comment) @spannm - I agree that an official release would be helpful. I have a number of old SO posts that could be updated to include a new official download location. |
Yes I did, but the mentioned file does not exist anymore. And the file I managed to cherry pick (two comments above) does not work.
I can test on Ubuntu 24.04 + Libreoffice Base. |
I just downloaded and I can see "ucanaccess-5.1.2-SNAPSHOT-uber.jar" in there. |
With that particular file you linked and adding "ucanaccess-5.1.2-SNAPSHOT-uber.jar" to the classpath I was able to load the tables on Libreoffice. |
It seems to work, at lest for this use case. Would you consider oficializing a release to assign a more formal nature to this file? Thank you for the support. |
Drop jackcess-encrypt and its transitive dependencies from binary distrib assembly. com.healthmarketscience.jackcess:jackcess-encrypt is not compatible with io.github.spannm:jackcess (the fork of com.healthmarketscience.jackcess:jackcess) due to changed package names and therefore will not add value in the lib/ folder.
Hi @ghomem, hi @gordthompson a release is overdue, I've been wanting to release the software for weeks but didn't get around to it yet. You know how it is :- |
Thank you for your work! |
Fixed in release 5.1.2 |
Hi @spannm , I don't find in https://github.com/spannm/ucanaccess/releases/tag/ucanaccess-5.1.2 a link to the distribution binary. What am I missing? |
Hi @ghomem,
You can now find the release artifacts in Maven Central. cheers & happy halloween |
Thank you for the efforts. Now I see the files in the release page, which is very convinient. Best regards and happy halloween |
Suggestion:
Earlier versions of UCanAccess made a complete bin.zip file available for download from SourceForge, e.g.,
UCanAccess-5.0.1.bin.zip
containedThis was very convenient for people who wanted to use UCanAccess without necessarily having a Java project that could take advantage of Maven. One example would be a Python project that could use UCanAccess along with JayDeBeApi as described here. The
console.bat
andconsole.sh
utilities were also very useful for troubleshooting.The text was updated successfully, but these errors were encountered: