robovm / robovm-gradle-plugin

RoboVM Gradle plugin
45 stars 24 forks source link

I cannot activate license from gradle. #58

Closed truonguit2010 closed 8 years ago

truonguit2010 commented 8 years ago

Hi,

I am trying to config Jenkins to auto build. But I cannot active license to build. I use: ./gradlew activateLicense -Probovm.licenseKey=my_key Please, give me a hand. Thank you!

Executing task ':robovm:activateLicense' (up-to-date check took 0.001 secs) due to:
  Task has not declared any outputs.
Invalid product key
RoboVM License Manager
Usage: robovm-lm <command> [options]
Commands:
  activate [...]
      <key>                 Activates a RoboVM license on this computer using
                            the specified product key.
      -request <key> <file> Creates an activation request using the specified
                            product key for offline activation and saves it to
                            the specified file.
      -response <file>      Activates a RoboVM license on this computer using
                            the specified activation response file.
  deactivate [-erasekey]    Deactivates the current RoboVM license on this
                            computer. Specify the -erasekey opton to also erase
                            the product key.
  isactivated               Checks whether this computer has been activated.
  isgenuine                 Checks whether the computer is genuinely activated
                            by verifying with the license servers.
  printkey                  Prints the currently used product key.
  printlicense              Prints info on the the currently used license.
  ui                        Launches the license manager GUI.
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=90c231b5-adb3-4fdc-8cb5-7874cea01d06.1, currentDir=/Users/Shared/Jenkins/Home/workspace/iWin-ios}
Attempting to read last messages from the daemon log...
Daemon pid: 2225
  log file: /Users/Shared/Jenkins/.gradle/daemon/2.4/daemon-2225.out.log
----- Last  20 lines from daemon log file - daemon-2225.out.log -----
Usage: robovm-lm <command> [options]
Commands:
  activate [...]
      <key>                 Activates a RoboVM license on this computer using
                            the specified product key.
      -request <key> <file> Creates an activation request using the specified
                            product key for offline activation and saves it to
                            the specified file.
      -response <file>      Activates a RoboVM license on this computer using
                            the specified activation response file.
  deactivate [-erasekey]    Deactivates the current RoboVM license on this
                            computer. Specify the -erasekey opton to also erase
                            the product key.
  isactivated               Checks whether this computer has been activated.
  isgenuine                 Checks whether the computer is genuinely activated
                            by verifying with the license servers.
  printkey                  Prints the currently used product key.
  printlicense              Prints info on the the currently used license.
  ui                        Launches the license manager GUI.
Daemon vm is shutting down... The daemon has exited normally or was terminated in response to a user interrupt.
----- End of the daemon log -----

FAILURE: Build failed with an exception.

* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
badlogic commented 8 years ago

Your product key is invalid. On Nov 19, 2015 8:30 AM, "truonguit2010" notifications@github.com wrote:

Hi,

I am trying to config Jenkins to auto build. But I cannot active license to build. Please, give me a hand. Thank you!

Executing task ':robovm:activateLicense' (up-to-date check took 0.001 secs) due to: Task has not declared any outputs. Invalid product key RoboVM License Manager Usage: robovm-lm [options] Commands: activate [...]

Activates a RoboVM license on this computer using the specified product key. -request Creates an activation request using the specified product key for offline activation and saves it to the specified file. -response Activates a RoboVM license on this computer using the specified activation response file. deactivate [-erasekey] Deactivates the current RoboVM license on this computer. Specify the -erasekey opton to also erase the product key. isactivated Checks whether this computer has been activated. isgenuine Checks whether the computer is genuinely activated by verifying with the license servers. printkey Prints the currently used product key. printlicense Prints info on the the currently used license. ui Launches the license manager GUI. The message received from the daemon indicates that the daemon has disappeared. Build request sent: Build{id=90c231b5-adb3-4fdc-8cb5-7874cea01d06.1, currentDir=/Users/Shared/Jenkins/Home/workspace/iWin-ios} Attempting to read last messages from the daemon log... Daemon pid: 2225 log file: /Users/Shared/Jenkins/.gradle/daemon/2.4/daemon-2225.out.log ----- Last 20 lines from daemon log file - daemon-2225.out.log ----- Usage: robovm-lm [options] Commands: activate [...] Activates a RoboVM license on this computer using the specified product key. -request Creates an activation request using the specified product key for offline activation and saves it to the specified file. -response Activates a RoboVM license on this computer using the specified activation response file. deactivate [-erasekey] Deactivates the current RoboVM license on this computer. Specify the -erasekey opton to also erase the product key. isactivated Checks whether this computer has been activated. isgenuine Checks whether the computer is genuinely activated by verifying with the license servers. printkey Prints the currently used product key. printlicense Prints info on the the currently used license. ui Launches the license manager GUI. Daemon vm is shutting down... The daemon has exited normally or was terminated in response to a user interrupt. ----- End of the daemon log ----- FAILURE: Build failed with an exception. - What went wrong: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed) — Reply to this email directly or view it on GitHub https://github.com/robovm/robovm-gradle-plugin/issues/58.
truonguit2010 commented 8 years ago

My product key is indie license. I deactivated this key on my Mac, and I active it on Jenkins. It has this problem. Please give me some points to check.

truonguit2010 commented 8 years ago

How to active robovm as jenkins user? I cannot do that.

badlogic commented 8 years ago

I deactivated your key so you can try reactivating it on Jenkins again. If this doesn't work for your, please send a mail to support@robovm.com.