Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
0 answers
47 views

How to discard changes in a specific file before pushing

Is there a way to reset all changes or a mechanism like .gitignore where changes to a certain file will be not pushed. Let's say I have a prod-settings.property link=acbdc.com/acnbdsds password=...
Thunfische's user avatar
  • 1,147
0 votes
1 answer
743 views

My project's Gradle version is incompatible with the Java version Flutter uses for Gradle

First I want to say that I wanted to run a flutter program on my cell phone that was connected by USB to my PC, but the following appeared in the console: Your project's Gradle version is incompatible ...
grb's user avatar
  • 1
0 votes
0 answers
280 views

OpenApi versioning by header in Spring

I am using Spring Boot to run my service. Now I want to be able to define different versions of my api and separate them by some header. My current approach is to design specification first and then ...
JoeBloggs's user avatar
  • 129
-1 votes
1 answer
429 views

Not able to connect Gitlab Repositry with Intellij IDEA

I am not able to fetch my Gitlab repository with my Intellij Idea. Due to this, I'm not able to push my code into my repository. Git is installed on my laptop. Can anyone please help me to fix my ...
Shraboni Sinha's user avatar
0 votes
1 answer
31 views

git History view in Eclipse changed unintentionally, how do I get back to "default"? [closed]

I have recently started to work with Java and git and followed a tutorial (I am new to eclipse and java so please don't be too harsh if the question is trivial.). After I attempted to merge branches ...
123einhundert's user avatar
1 vote
1 answer
30 views

Best practice to store Subversion revision info app-wise

Subversion has the $Rev$ keyword, that's replaced by in example $Rev: 1843 $ when a file with that keyword is committed. Subversion places on it the revision this commit created. I'd like to use this ...
Hikari's user avatar
  • 3,887
0 votes
1 answer
95 views

Is there a solution to automate the versioning of an API inside a spring project?

I would like to automate the process of changing the version of the API I use in my java project (from the pom.xml) and build the project automatically in a branch on Azure DevOps. I'm working on a ...
Achraf's user avatar
  • 1
1 vote
0 answers
95 views

Best way to share a single class dependency in Java

I often make many Java projects to deal with parsing and string manipulation. Since the native String class from Java is a bit limited for these cases, I always end up creating an utility class to ...
Leandro 86's user avatar
0 votes
0 answers
93 views

how to automatically update a .jar, I am finishing up a very small application that I want to be able to have version control on after I deploy it

I have stumbled across many things, OSGi, Install4j, JWS(Java Web Start deprecated), Jgit, etc. I want to know what the best solution is for a very small java application that will be installed on the ...
Collin Short's user avatar
1 vote
1 answer
48 views

Issues with version management in maven

The problem I encountered is this, here is the definition in my POM file.\ <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-...
LonelyTangzz's user avatar
0 votes
1 answer
34 views

TortoiseSVN: How to get a list of all revisions that update files in specific directories

Say I have a project with the following structure: Some-Project > src > inputs > outputs > docs > libs How can I get a list of all SVN revisions where updates are made to any code ...
Barry's user avatar
  • 256
0 votes
1 answer
532 views

Version control tool for spring-boot based java application, Flyway like

Problem description I have a spring-boot based application that creates entities on a 3rd party environment. The application is deployed on prod. I've discovered a bug whose fix required changes on ...
Pablo Cavalieri's user avatar
-1 votes
1 answer
47 views

Best git workflow for creating multiple features on same files on a shared project?

I am refactoring a 2000-line method from class A into several smaller methods in class B. As such, class A is having chunks of code replaced with single-line calls to methods defined in class B. Class ...
Alan S.'s user avatar
  • 313
0 votes
0 answers
133 views

Why "java -version" is not changing? on Mac?

I am running below command to see available versions. /usr/libexec/java_home -V and the result is: (I have deleted java8 folder from VirtualMachines directory) Matching Java Virtual Machines (2): ...
abidinberkay's user avatar
  • 1,967
1 vote
1 answer
476 views

Git: How to clone project without losing the current branches?

I have a project in my local Git repository and there is a problem in the project that is not fixed after lots of pull from origin etc. So, I need to clone the project from origin without losing the ...
user avatar

15 30 50 per page
1
2 3 4 5
20