I would like to automate few applications. This application consist of web, mobile (Android + IOS) and API. How to organize this project for this situation.
Im automation in selenium using Java. In C#, once can create a project consists of multiple sub projects. How to do it in Java?
Please advise.
A billion thanks for your help.
It depends on which build automation tool you choose to work with.
When you work with C# you probably use MSBuild
In Java Stack the most popular build automation tools are maven and gradle and both support multi-module projects, It is up to you to choose which one suits your project requirements.
See
Gradle vs. Maven
Multi-Module Project with Maven
Introduction to Gradle
Maven Scopes and Gradle Configurations Explained
I am not 100% sure what your goal is, but when it's about setting up Selenium (JAVA) projects and run them automatically, I can recommend you to use Maven & Jenkins to achieve this goal. Find further information in the following link:
https://www.guru99.com/maven-jenkins-with-selenium-complete-tutorial.html
I hope I could help.
Related
It's great to be able to use Quarkus on maven and gradle -based Java/JVM projects but what about projects that are built using other build systems like sbt or bazel or buck or anything else that's not a maven or gradle -based Java/JVM project.
I did hear about the command-line tool to do this, how far is the progress with this? Is there a way to get a sneak-peak!
For now, we don’t have plans to support other build tools. Supporting Gradle and Maven already has its fair share of challenges.
But contributions are always welcome.
We have a complex Java Project with many processes/applications. Planning to move from Ant build to Maven or Gradle. Trying to compare the migration process to maven and gradle. Any thoughts and advice? Thanks,
Gradle is your choice. In the future if you want to migrate your app to android, it would be much easier since android studio uses gradle. Also gradle uses groovy, a powerful script language and you can add any java code in your build.gradle.
Disclaimer: This is my personal view, and I am not associated with gradle or maven.
I am an experienced Java developer with years of familarity with Eclipse and Maven.
My goal is to create an android application and I am getting familiar with the latest Development environment Android Studio 2.3.2 which obviously uses Java 8 and Gradle. The app shall share code with an Eclipse based project that uses maven and Swing and is also Java 8 based. I am intending to publish the result as an open source project on github.
I found e.g.
https://github.com/uhafner/android-config as an example but that seems to be outdated.
https://github.com/cgeo/cgeo - which explictly states that eclipse is only used for codewriting/testing
Gradle project for plain Java and Android with single source tree suggests an answer for a gradle only approach that has a tutorial link as an answer (which is not accepted) and no example
https://github.com/javadev/calc which is purely maven driven and has two pom.xml files
https://github.com/adrian/upm-swing and https://github.com/adrian/upm-android simply have copied subdirectories instead of any kind of shared config management
How feasible is a combined maven/gradle project structure?
What would be a proper way to structure the project files to accomplish the above goals?
What are good examples projects that follow a similar approach?
My reason to be reluctant with Gradle and IntelliJ is obvious. It is an unfamiliar environment for me and android is not the main target of my development.
Part of the answer seems be covered at:
Can Android Studio be used to run standard Java projects?
I got somewhat of a success with the project https://github.com/BITPlan/can4eve
but would appreciate some help on the android studio / gradle side of things.
The project also has travis support built in and I am also running nightly Jenkins checks based on maven.
I am trying my hands on the maven java Akka tutorials on the calculation of pi.
Please I am new to both: maven and Akka but want know if it is possible
to create a maven akka project and then import the project into
Eclipse IDE and be able to run the project in the eclipse IDE.
If it is possible I will be happy for some directions or tutorials
your suggestions are welcomed.
Here You have some information how start Akka, but first You have to know something about maven.
Since the exact link in tostao's post does not work anymore here is the link for the latest version of akka:
Akka Getting Started. Consider replacing current in the url with the actual version, 2.9.10 as of writing.
If you use eclipse you might want to have a look into scala-ide.
Typesafe, the company behind Akka and an important part of the scala world, also offer their own build tool i.e. sbt. Especially their typesafe activator templates are build on top of sbt which might suggest a preference of sbt over maven from their part.
I'm little confused because of too many options when we take anything in java. I want to create a web application in java. whether i have create web application from 'java web' or 'maven' by creating new project in netbeans. I may use some archetypes in my future, but whether maven project has full IDE support from netbeans
I've been using Maven projects in NB 7 without a problem.