Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Loss of Gradle import functionality when eclipse is copied to a new machine

  1. #1
    Join Date
    May 2012
    Location
    Regina, Saskatchewan
    Posts
    8

    Default Loss of Gradle import functionality when eclipse is copied to a new machine

    I have pulled the STS gradle plugin at home using the following steps:

    Install Groovy plugin first via:
    http://dist.codehaus.org/groovy/dist...snapshot/e3.7/

    Downloading the following bookmark to a local file first and import it into eclipse:
    http://dist.springsource.com/snapsho.../bookmarks.xml

    Then installing the Gradle Plugin from:
    http://dist.springsource.com/snapsho...nightly/gradle

    This resulted in functioning Gradle tools within my eclipse, most importantly, the ability to import a Gradle project.

    I copied the entire eclipse folder onto my flash drive and brought it to work where I copied it onto my work machine. The springsource tool suite dashboard comes up once I start eclipse, however, when I go to import a gradle project I am presented no option to do so.

    Is there some sort of functionality that ties the User License agreement, post install, to the system mac address that is blocking me from being able to copy my eclipse install to a new machine? I'm unable to do the install at work from scratch due to firewall and bandwidth restrictions.

  2. #2
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Hey!

    There is no license agreement or something similar that is blocking you from copying an STS installation to another machine and just zipping up everything and extracting it on another machine should usually work. Do you see the gradle plugins in the plugins directory of your extracted STS installation?

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  3. #3
    Join Date
    May 2012
    Location
    Regina, Saskatchewan
    Posts
    8

    Default

    Yes, as seen in attached screenprint.
    com.springsource.sts.gradle.ui.taskview_3.0.0.2012 04302259-SNAPSHOT.jar and com.springsource.sts.gradle.ui_3.0.0.201204302259-SNAPSHOT.jar can also be found in the plugins folder.
    sts_gradle.jpg

  4. #4
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Hey!

    Did you try to start your copied version with the "-clean" option? Maybe that helps... Otherwise we would need to dive deeper into some runtime analysis...

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  5. #5
    Join Date
    May 2010
    Posts
    398

    Default

    I'm not sure this will help but it is worth a try. Can you try running STS from the commandline with -clean option.

    Also have a look in the error log file. See if there are any indications of problems during the startup / initialization of the plugins that might have gotten logged there. You can open the STS/Eclipse error log via "Windows >> Show View >> Error log".

    Kris
    Kris De Volder -- SpringSource

  6. #6
    Join Date
    May 2012
    Location
    Regina, Saskatchewan
    Posts
    8

    Default

    I attempted the -clean option just now, but to no effect. I cleared my log and upon a fresh eclipse.exe -clean, the following is what is in my log (doing a search on the "com.springsource.sts.ide.ui with connectorKind jira" error indicates the error can be "safely ignored", but you would be the experts :

    !SESSION 2012-05-18 09:57:07.879 -----------------------------------------------
    eclipse.buildId=M20120208-0800
    java.version=1.5.0_21
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86 -clean

    !ENTRY org.eclipse.mylyn.tasks.ui 4 0 2012-05-18 09:57:16.968
    !MESSAGE Could not load repository template extension contributed by com.springsource.sts.ide.ui with connectorKind jira

    !ENTRY org.eclipse.mylyn.tasks.ui 4 0 2012-05-18 09:57:16.968
    !MESSAGE Could not load repository template extension contributed by com.springsource.sts.ide.ui with connectorKind jira

    !ENTRY org.eclipse.mylyn.tasks.ui 4 0 2012-05-18 09:57:16.968
    !MESSAGE Could not load repository template extension contributed by org.eclipse.mylyn.bugzilla.ide with connectorKind bugzilla

  7. #7
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Anything showing up in the Error Log view inside Eclipse/STS?
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  8. #8
    Join Date
    May 2012
    Location
    Regina, Saskatchewan
    Posts
    8

    Default

    My previous response is the Error Log output from within Eclipse.

  9. #9
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Hey!

    Does the "Error Log" view in Eclipse show any other entries? (your posting looks like a log file rather than an entry from the Error Log view). Anything with a stack trace maybe?

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  10. #10
    Join Date
    May 2012
    Location
    Regina, Saskatchewan
    Posts
    8

    Default

    The "Error Log" I provided is the verbose file version of what you see in the Eclipse view, which you can see by clicking the "Open Log" button to the right of the Error Log tab when it has focus.
    By running java in Console mode, the only additional output I get in the console is: "[Fatal Error] :-1:-1: Premature end of file." .

    There is no stacktrace to be found at "configuration/<timestamp>.log" either. Please advise if there are additional locations that log files can be found.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •