Comments (13)
Thank for the work!
from xr3player.
The image shows the directory and package structure when the project is imported to IntelliJ.
The directory structure looks good.
src is marked as Sources root. It shouldn't.
src/main/java should be the sources root. Then com will be the root package. This change will change the package line of all java files, from package main.java.com.goxr3plus
into package com.goxr3plus
.
I also recommend having a src/test/java directory marked as Test Sources Root.
And src/main/resources marked as Resources root. The folders inside the resources hierarchy aren't packages, but they look like packages now.
from xr3player.
I'm not advanced with JavaFX, but I have made a couple of programs. The largest does some 3D visualization, nothing fancy. That one runs JDK 1.8.
I have heard about Spring, but I don't know what it can do. There is a dependency injection part of it, which I'm interested in learning about. But dependency injection doesn't need a framework.
from xr3player.
How should i change it , like Maven standard directory layout is suggesting that pattern so Maven works correctly by default, correctly me when i am wrong :)
from xr3player.
Your directory structure is correct. But main.java should not be a part of the package name path. The root package should be com, placed in the directory src/main/java.
from xr3player.
Thank you for the recommendation, isn't there a setting in the IntelliJ capable of doing it. Let me check again how it looks like in IntelliJ in my machine.
If i am wrong i would like your solution.
from xr3player.
And yes we need some tests too :). How advanced you are with JavaFX :)?
Collaborating in XR3PLAYER you will become pro in JavaFX :)
I am thinking of adding Spring, have you heard about Spring :)?
from xr3player.
Here are a couple of links for the standard Maven directory structure.
https://www.baeldung.com/maven-directory-structure
https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
Please remove /test
from .gitignore. src/test
is the standard place for unit tests, according to the above descriptions.
If you have src/tests/java marked as test sources root in IntelliJ, and you are reading a normal production code class, you can do Code --> Generate --> Test..., and a test class will be created for you, in a file below the test root, with the same package as the one you started from. Rather useful.
from xr3player.
Thank you very much for the linka, i am reading them
from xr3player.
Please i want you to learn hoe to do pull requests, it's very simple, you fork the repository, do your commits, then come into my repository and there is an option which is called Pull Requests... check on the web hoe to do pull requests in Github... in that way you can contribute as much as you want and maybe i give you full access to XR3Player repo so you can directly commit on it, intead of pull requests but firstly i need to see your code experience through Pull Requests :)
from xr3player.
How should i change pom.xml to make it correct ? Until now i have changed this :
<build>
<finalName>XR3Player</finalName>
<sourceDirectory>src/main/java</sourceDirectory>
.....
from xr3player.
@HelgeStenstrom Thank you very much i fixed it in this commit d867eaf
Changed 210 files lol . Of course using replace all tool from intelliJ and modifying pom.xml .
I am impressed by your knowledge :)
from xr3player.
YES boy :)
from xr3player.
Related Issues (20)
- SonarLint plugin HOT 3
- Visualizers Drawers make application UI Freeze HOT 3
- module java.base does not open java.lang.reflect to module XR3Player HOT 7
- Isn't there a better way to exit the application, than to call System.exit()? HOT 1
- Unwanted dependency on a stream player.
- Broken browser resolution HOT 3
- Move on Java 13 HOT 5
- Add alternative waveform HOT 9
- Tell me about how you use your own separate libraries in this project HOT 3
- How to use advanced UI? HOT 3
- How to set up this software? HOT 17
- Make default player in Windows HOT 2
- Potential security problem(s)
- Packaging Linux HOT 20
- There are many dependencies in the idea software that need to be re-joined HOT 8
- Cannot run HOT 1
- Cannot run HOT 4
- Feature Request HOT 1
- error using "All in XR3Player" run configuration HOT 10
- Would GitHub Actions be of any interest?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xr3player.