twogee

Results 61 comments of twogee
trafficstars

I see ``` [ERROR] Cannot save config file 'FileBasedConfig[/home//.gitconfig]' [04:05:42][Step 1/1] java.io.IOException: Cannot commit write to /home//.gitconfig ``` so I'd like to mitigate that.

TeamCity agents running Maven builder with jgitver extension on RHEL with SELinux that prevents writing to home directory -- is that sufficiently detailed? The pause at startup is bearable, but...

Yes, that is from a dev machine and related to IntelliJ afaics.

Here's the relevant part of the stack trace from jgit showing the classes that are involved ``` [16:08:20][Step 1/1] at org.eclipse.jgit.storage.file.FileBasedConfig.save (FileBasedConfig.java:241) [16:08:20][Step 1/1] at org.eclipse.jgit.util.FS$FileStoreAttributes.saveToConfig (FS.java:577) [16:08:20][Step 1/1] at...

And [here](https://git.eclipse.org/c/jgit/jgit.git/commit/?id=838b5a84b5093c335b95a644b8888006d9e95493)'s the documentation of the feature. Looks like `XDG_CONFIG_HOME` can be used to control it?

That's an environment variable. I believe the links above mention another variable (GIT_CONFIG_NOSYSTEM available in jgit 3.7.1+) that prevents attempts to access global configuration. Judging by the date of the...

You're welcome. Here's the jgit issue describing my problem: https://bugs.eclipse.org/bugs/show_bug.cgi?id=551850 It appears to be resolved in 5.6+

I set the phase for flatten to package since validate seemed early, but it is not essential; flatten 1.2.2 works fine (except for dependencies with classifiers).

I believe the [discussion](https://lists.apache.org/thread.html/r59f5bba1a5ebee1bb99e51b716be5576b0a821b3a4111fa5ea5d32a6%40%3Cdev.maven.apache.org%3E) is interesting and deserves to be referred here. Is there a solution for the classloading problem?

`WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:xstream-1.4.11.1.jar) to field java.util.TreeMap.comparator` Using Java 11