JFX-Browser icon indicating copy to clipboard operation
JFX-Browser copied to clipboard

project structure change for yml but still no improvements

Open badarshahzad opened this issue 6 years ago • 11 comments

Guys, I have tried but still no improvements in maven build error what to do now? :walking_man: screenshot from 2017-11-29 02 40 25

badarshahzad avatar Nov 28 '17 21:11 badarshahzad

:wave: well they email us we are failed again to build in maven :smile: screenshot from 2017-11-29 02 42 14

badarshahzad avatar Nov 28 '17 21:11 badarshahzad

The project structure now is lit fire 🔥 good work.

goxr3plus avatar Nov 28 '17 21:11 goxr3plus

@badarshahzad Because I am away from any computer, can you try and run locally on your computer in the same folder as the pom. xml file on the terminal or command prompt the command mvn clean package.

It should run all the way correctly and produce the target folder along with browser jar file and libraries.

goxr3plus avatar Nov 28 '17 21:11 goxr3plus

yeaaah! Build Success! :100: screenshot from 2017-11-29 03 12 31

badarshahzad avatar Nov 28 '17 22:11 badarshahzad

@goxr3plus don't you notice the total time :+1:

badarshahzad avatar Nov 28 '17 22:11 badarshahzad

@badarshahzad Something seems wrong here. I don't see anywhere in the picture the procedure of copying the required dependencies to the external folder.

goxr3plus avatar Nov 28 '17 22:11 goxr3plus

@badarshahzad Do you see JFX-Browser_lib folder inside the target folder side by side the jar file.

If yes does it contains the libraries?

goxr3plus avatar Nov 28 '17 22:11 goxr3plus

@goxr3plus Nope, I didn't find any lib directory.

badarshahzad avatar Nov 29 '17 02:11 badarshahzad

@badarshahzad Yep because you did run mvn clean now I have seen it :).

Instead try and run mvn clean package

I am preparing Maven tutorials on YouTube.

goxr3plus avatar Nov 29 '17 05:11 goxr3plus

This is the result after after run mvn clean package error

What do you think about gradle? Don't we add gradle dependance?

badarshahzad avatar Nov 29 '17 05:11 badarshahzad

  • If you have Windows read how to add Maven on your system. It is very very easy. Just download the. zip of Maven place it somewhere and follow the tutorial. https://www.mkyong.com/maven/how-to-install-maven-in-windows/

It fails because you need Maven 3.0.0 and above. I have made it like this :)

Gradle is like Maven but different. We use either the one or the other.

Actually there are many systems. Google Maven VS Gradle VS Ivy VS Ant The most recent is Gradle which come to resolve Maven problems and more. Actually it is written in Groovy, which is a very beautiful language.

It is a little bit more complex, I am not very experienced with Gradle yet :).

goxr3plus avatar Nov 29 '17 08:11 goxr3plus