-
Notifications
You must be signed in to change notification settings - Fork 38
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
Issue with radicale server #195
Comments
I use third party software for all caldav communications: https://github.com/ical4j/ical4j-connector Unfortunately, the software is very out of date and I have been waiting for a new release for a while: ical4j/ical4j-connector#56 I am not sure that Radicale has been supported for the past 5 years: ical4j/ical4j-connector#35 I see that the developer is still making commits towards a new release, but I have no timeframe and low expectations. At some point, without a new release of ical4j, all caldav code will just stop working as the caldav servers put out new releases. As for Baikal, it still works for me. I have Baikal 0.9.4 working with php8.1. Do you have the php xml extension installed? |
I think we could work it around.
the URL should be only :
here is how I fill the mask: it is just the url-string that is different, this is why borg can not find the principal As you can see in the error message
Lets try to fix it. |
Unfortunately, Borg does NOT create the URL. BORG passes the paths in the options screen to the ical4j software and ical4j builds that path. ical4j does not build it correctly. The bug is not in my code. To make things worse, ical4j even has a bug in the error that it prints. ical4j is not attaching the user to the principal path. ical4j is incorrectly printing the user path in the error instead of the path it actually builds. ical4j does not print the principal path for you to see.
Finally, ical4j has separate URLs for principal path and user path. I don't know if caldav servers still use 2 paths. Most use 1 now. You can change the value in "Principal Path" from "default" to other things. This will be added to the path that ical4j builds. You will not be able to see the actual path that ical4j builds because it prints the WRONG one. You may be able to get it to work by trial and error, but maybe not. I have been frustrated by this for years and no longer use caldav because of this. |
I tried to compile it with my gitlab I used this pipeline with a maven image image: maven:3.8.1-openjdk-17
stages:
- build
build_job:
stage: build
script:
- cd BORGCalendar
- mvn clean install
artifacts:
paths:
- BORGCalendar/install/target/*.jar And it compiles without errors, BUT the install-1.10.jar seems to not be functional here is the log of the last pipeline you can download the artifact here : I moved the artifact to install\target C:\Users\Christian\workspace\borg_calendar\BORGCalendar\install\target>java -jar install-1.10.jar
kein Hauptmanifestattribut, in install-1.10.jar so I took a look into it and there is a manifest
is this what it should be ? |
install-1.10.jar is not used and serves no purpose. It is just an artifact created by maven, which insists on building a JAR file. There are build instructions in the readme on the project page - but perhaps they are too vague. After running maven, the contents of BORGCalendar\install\target\installer is the program. To get a linux .deb package to install, you would build on linux and then manually run BORGCalendar\install\linpackage.sh The installers just copy the contents of BORGCalendar\install\target\installer somewhere standard and also include a JRE, an executable to start the program, and menu and desktop entries. the user does not have to install Java - the installer will include it. I assume that someone editing the code and doing their own builds would do this on their own machine. If gitlab builds on some other machine, then I guess you can download the contents of BORGCalendar\install\target\installer and run BORG from the command line using java -jar borg.jar. I don't know anything about gitlab. |
Did you start this Program in 2000.07.17 ????? omg :)) I want to try to build this in a docker runner on my gitlab. In winpackage.bat you request a file called borg.jar in :
in your source code borg.jar it is not present and accordingly jpackage is failing |
Maven builds the contents of the installer folder which contains the program, including borg.jar: If you are changing the code, you would normally build and run Borg from inside an IDE, like eclipse or intelliJ. I wrote a C++ version of Borg in 1992. It was pretty ugly. It used native X-windows graphics and ran on a PC running linux 0.96c, which was an adventure. |
So the pipeline must be
Artifact is indeed 35 MB:job/6269 In the next step I must bring the "installer" folder from the docker container back to the repository and then start to build a windows container in witch I copy the part starting from "install/.." and run jpackage over the install folder. |
jpackage will not be able to build the msi installer without WiX - https://wixtoolset.org/ I do not know how you will get WiX on your windows container. Also, you do not need the mvn clean package line. mvn clean install does the entire build. Your script is building twice. |
I Think I could use the image dactiv/wix
something like this ... I am not sure yet .. |
another issue was logged against the ical4j library not too long ago: If there ever is a fix, I'll incorporate it. |
After I used Borg happily wit Baikal Server for 3 years, since the last Baikal update I was forced to switch to Radicale. Now I face the Problem that the
Radicale is a CARDDAV/CALDAV server who has a special URL format.
Please note that the server gives out two uuid' one for address book , and one calendar.
So one needs to log in the following
(basically https://<server-name>/<url-encoded-username>/<uuid-of-calendar-or-addressbook>)
The text was updated successfully, but these errors were encountered: