bardsoftware / ganttproject

Official GanttProject repository.
http://ganttproject.biz
GNU General Public License v3.0
856 stars 301 forks source link

Build setup for development #1699

Open dbarashev opened 4 years ago

dbarashev commented 4 years ago

Currently the only easy way to build and run GanttProject from sources is usinggradle :ganttproject-builder:distbin or gradle :ganttproject-builder:runapp. These tasks build the whole distro by copying separate plugin files at the appropriate places. It turns out that this approach is slow when developing.

It would be nice to be able to run GP as a simple application with a single classpath without moving stuff around.

WorkingDevel commented 3 years ago

It would be also good to remove outdated stuff and consolidate into a more standard gradle build process. I see a lot of ant build tasks that are maybe not used anymore or should be converted to gradle to get a more unified (easier) build process. I will try to do some cleanup in the build process and create a PR as a proposal.

dbarashev commented 3 years ago

For the record, gradle run launched from the root directory works relatively good and allows for quick launching and debugging. There are some issues in the runtime when it comes to plugins (e.g. Settings dialog, import/export do not work) but the core functionality is ok.