IJPL-210700: do not try to start a trial automatically and/or load paid functionality after migration from CE

After migration from Community Edition:
- if the IDE is managed, do not try to activate a license using provided license server URL
- if the IDE is not managed:
  - do the trial availability check
  - do not start a trial automatically if it's available
  - do not activate any licenses automatically, even if there is one in JBA


(cherry picked from commit 119022d8e066a9c8345b1a090205ee7d627f384d)

IJ-CR-180923

GitOrigin-RevId: 5dcb5cb1fd2d25762d61d1563d9fce5ded486ea3
This commit is contained in:
Timur Aliberdov
2025-11-06 22:33:00 +00:00
committed by intellij-monorepo-bot
parent 1c7f62eaef
commit 47fc499a0d
@@ -43,7 +43,8 @@ import kotlin.io.path.extension
import kotlin.io.path.name
import kotlin.system.exitProcess
private const val MIGRATION_FILE_MARKER = ".ce_migration_attempted"
@ApiStatus.Internal
const val MIGRATION_FILE_MARKER: String = ".ce_migration_attempted"
@ApiStatus.Internal
fun migrateCommunityToSingleProductIfNeeded(args: List<String>) {