See the top post for the release info for Spring BlazeDS Integration 1.5.0.M2.
See the top post for the release info for Spring BlazeDS Integration 1.5.0.M2.
Jeremy Grelle
Staff Engineer, Web Products Team
SpringSource
Ok I downloaded 1.5.0.M2, but the readme didn't explain how to install it in STS 2.5.2
is it just put the 1.5.0.M2 jar in one of the STS RELEASE folders like dropins, features, or plugins?
I followed Jeremy's directions and ran
mvn clean install in the M2 dist samples testdrive folder. It ran for a long time with no errors, cool!
I then went to STS 2.5.2 and imported the existing project testdrive from the above folder. The build of the project in STS 2.5.2 failed and a quick check of the build path shows a lot of red x's in the build path under the M2_REPO variable. See below.
I tried cleaning the project and build all but no change.
The doucmenation on building and trying the BlazeDS testdrive projects, has an ambiguous paragraph that led me down the primrose path.
It says...
To import the samples, select File->Import...->General->Existing Projects into Workspace and navigate to the {project distribution root}/spring-flex-samples/spring-flex-testdrive directory and import all of the projects found.
what it really should say is...
To import the samples, select File->Import...->Maven->Existing Maven Projects into Workspace and navigate to the {project distribution root}/spring-flex-samples/spring-flex-testdrive directory and import all of the projects found.
If you do that then all the dependencies and your local repository at the M2_REPO variable will be resolved and it will all work fine...do it they General existing projects and you have to do it all manually. (at least I did)
I imported the testdrive projects and maven did a good job of populating the M2_REPO.
but still have a bunch of errors in servlet.xml and most are similar to
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'flex:integration-message-destination'.
which tells me the integration isn't complete.![]()
The flex-servlet.xml included in the above distribution /testdrive/WEB-INF/ references http://www.springframework.org/schema/flex/spring-flex-1.5.xsd which does not exist while http://www.springframework.org/schema/flex/spring-flex-1.0.xsd does exist.![]()
See the top post for the release info for Spring BlazeDS Integration 1.5.0.RC1.
Jeremy Grelle
Staff Engineer, Web Products Team
SpringSource
Are there installation instructions? I imported the spring-flex-core and testdrive projects into STS 2.6.1 and tried a maven install and got
Unable to find resource 'org.springframework.flex:spring-flex-parentom:1.5.0.RC1' in repository central (http://repo1.maven.org/maven2)
spring-flex-core build gives
Code:[INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/springframework/flex/spring-flex-parent/1.5.0.RC1/spring-flex-parent-1.5.0.RC1.pom [INFO] Unable to find resource 'org.springframework.flex:spring-flex-parent:pom:1.5.0.RC1' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM).