Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Could someone cover how they handle libraries and multiple mod development [preferably in eclipse but IntelliJ as well would be a good pointer in the right direction]
As a example... Say you have two mods and a common library.. how you would manage this.

Or point to a good up to date tutorial relevant to current IDE's.
Found a few online but they depend on older eclipse for functions of the application that seem to no longer exist in newer versions.

CURRENT SETUP
Currently I have a GRADLE Multi-Project Build running.
I'm able to use the run_client for each mod as a stand alone for testing and coding.
I have all my library code duplicated in each mod as part of the mod and any small change has to be made in each of the mods.
I can also use the gradle wrapper app to run all the mods as if I they were just mods in the mod folder of the gradle wrapper app,
great for seeing how everything interacts, but again not so much for debugging.

WONDERING ABOUT SEPARATING THE CODE OUT
But seems like the library code needs to be in its own mod. NOTE: the mods are related but can be run without the others so the end user can pick and choose.
As part of the run_client I could have  the library compiled and inserted into the mods in the run folder for running the single mod.
Would not help much when debugging the library mods though.

Guessing there is no real easy answer for handling and debugging the library code short of having the code in the mod during development as I do now.
Maybe moving it out when compiling and making a separate library mod at that point or working blind as I have been doing and relying on the debug log for debugging.

Have I overthought this or swerved off into irrelevant second guessing and should just stick with CURRENT SETUP

Edited by frakier

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.