Document process of setting up the project for development
Closed this issue · 7 comments
updating the Readme file with Supplemental information for JOSM .
i have created a pr it shows that I need reviewer to be reviewed here
@sonukushwaha403 You don't necessarily need to have JOSM installed for development. We use Gradle as build tool and it will provide you with the correct JOSM version.
With the Gradle task
./gradlew runJosm
you can start JOSM with the current state of the plugin already loaded. Some other useful tasks are assemble
to compile, test
for unit tests, dist
for creating the *.jar distribution, …
If you need help setting up the IDE or what is where in the code, feel free to ask here. Maybe we can write down the steps for setting things up for the future, as something like https://github.com/JOSM/Mapillary/blob/master/INSTALL.md (that one is already a bit outdated by the way).
@sonukushwaha403 were you able to set up the project for development?
If not, do you need assistance? If yes, would you like to write down the steps of the process?
Yes, I need assistance to set up, please guide me..
What IDE are you using? In IntelliJ idea it should work to just open the project directory.
Are the Gradle tasks working that I wrote above? There shouldn't really be setup otherwise, except having a JDK >=8 installed.
Maybe try ./gradlew runJosm
from the command line (or run the runJosm
task from the IDE) which should get the dependencies, build the plugin and runs a JOSM instance with the built plugin loaded. Does that work?
@PolyglotOpenstreetmap did you have to take other steps when you set up the project recently?