Results 1 to 10 of 17

Thread: sts-3.1.0.RELEASE: simple spring integration template URL? can't create a simple si.

Hybrid View

  1. #1
    Join Date
    Aug 2011
    Posts
    11

    Default sts-3.1.0.RELEASE: simple spring integration template URL? can't create a simple si.

    Hi & Thanks,

    1. is the url correct for creating a simple spring integration template

    URL:https://raw.github.com/SpringSource/...e-1.0.0.M4.zip

    2. When using/creating a simple spring integration template, nothing is generated except the project name.

  2. #2
    Join Date
    Aug 2011
    Posts
    11

    Default

    Any help?

    Below is what I see:

    0.
    Spring>Template Projects

    spring-integration:
    url: https://raw.github.com/SpringSource/...descriptor.xml

    1.
    When I try to create a simple Spring Integration project, I see

    Creates a Spring Integration project that runs as a standalone Java application using core components only.
    URL:https://raw.github.com/SpringSource/...e-1.0.0.M4.zip


    2. Then nothing happen, only the project name is generated.

    Am I missing anything in terms of configuration and/or missing something....

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

    Default

    Hey!

    Sorry for the long delay (due to sickness)...

    The general template mechanism is working for STS 3.1.0.RELEASE (I just tried it out myself to create a Spring Integration project from one "Simple" template that you mentioned and it worked). So there must be some configuration issue.

    Do you use the STS distribution or did you install STS into an existing Eclipse installation? If you use it with an existing Eclipse installation, you need to take care to also install the latest Maven Integration for Eclipse (since most of the template projects are Maven projects). Another source of trouble might be the underlying Eclipse version. Do you use STS for Eclipse 4.2? If so, I strongly recommend to use STS for Eclipse 3.8 (also available from our download pages).

    And do you see anything related in the Error Log view? Maybe there is a stack trace that indicates what exactly is going wrong...

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

  4. #4
    Join Date
    Aug 2011
    Posts
    11

    Default

    0. Thanks Martin.
    1. I used STS distribution sts-3.1.0.RELEASE. No eclipse involved.
    2. If it helps:
    Error log tab:
    java.lang.ArrayIndexOutOfBoundsException: 0
    at org.springframework.ide.eclipse.wizard.template.in frastructure.processor.TemplateProjectCreator$1.ex ecute(TemplateProjectCreator.java:97)
    at org.eclipse.ui.actions.WorkspaceModifyOperation$1. run(WorkspaceModifyOperation.java:106)
    at org.eclipse.core.internal.resources.Workspace.run( Workspace.java:2344)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.ru n(WorkspaceModifyOperation.java:118)
    at org.springframework.ide.eclipse.wizard.template.in frastructure.processor.TemplateProjectCreator.crea teProject(TemplateProjectCreator.java:130)
    at org.springframework.ide.eclipse.wizard.template.in frastructure.processor.DirectoryProcessor.process( DirectoryProcessor.java:56)
    at org.springframework.ide.eclipse.wizard.template.in frastructure.processor.Processor.process(Processor .java:44)
    at org.springframework.ide.eclipse.wizard.template.Te mplateWizard$1.run(TemplateWizard.java:114)
    at org.eclipse.jface.operation.ModalContext$ModalCont extThread.run(ModalContext.java:121)


    eclipse.buildId=3.1.0.201210061308-RELEASE-e38
    java.version=1.7.0
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments: -product org.springsource.sts.ide
    Command-line arguments: -os win32 -ws win32 -arch x86 -product org.springsource.sts.ide

  5. #5

    Default

    Are you maybe behind a proxy that could be preventing the content from downloading? If so you might need to configure your proxy settings under Preferences -> General -> Network Settings.
    Leo Dos Santos
    Committer, SpringSource Tool Suite

  6. #6
    Join Date
    Aug 2011
    Posts
    11

    Default

    1. I can create a simple Spring MVC template or a simple Batch
    2. Is there any thing that has to do with GIT?

  7. #7
    Join Date
    Apr 2012
    Posts
    22

    Default

    in case any one is tracking this - i had the same problem on my windows build

    one of the lads in the development team spotted it - theres a probably a space in your path string to the workspace/project

    make a new workspace with a path with no spaces in the path names and it'll probably work

    theres a jira out on it and we can expect a fix on 3.3 i hope

    Will

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

    Default

    Hey Will!

    As mentioned in my previous post to this thread, this problem is already fixed and will be available in 3.3.0.M1.
    You could also upgrade to a nightly build (using the nightly snapshot update sites) in case you wanna get that fix early.

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

Posting Permissions

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