简体   繁体   中英

How can I send a java project including all referenced libraries to a friend so that they can run it and edit the source in their Eclipse?

I am trying to send a project that uses Selenium libraries to a friend so they can run it and edit the source code in their Eclipse IDE. From what I understand, they won't be able to edit the source if I send them a JAR file, and if I send them an archive file they'd need to import the referenced libraries themselves. Is there a workaround?

You should define all your dependencies (libraries, etc.) with tools such as maven or gradle.

While project sharing should be performed via a VCS tool like git to keep track and merge the changes both of you will make and a remote repository on GitHub or similar platforms to share and store the project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM