Announcement Announcement Module
Collapse
No announcement yet.
Flash Builder 4 and STS 2.6 ROO Problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Flash Builder 4 and STS 2.6 ROO Problem

    I am trying to install STS 2.6 with ROO into Flash Builder 4.

    I used the Update Site and was able to install STS 2.6. It took some effort as some of the depedencies wouldn't resolve, but I installed some of the NON STS platforms and options first, then STS and that worked (at least somewhat)

    Since I had STS 2.6 plus ROO already installed, I configured Flash Builder ROO with the ROO 1.1.3 RELEASE that came with it.

    I was able to create a ROO project in FB4, but org.springframework and many other packages cannot be resolved in the generated java and .aj files.

    I checked the classpath variables and they are about the same but the FB4 doesn't have the M2_REPO variable defined, so that might be an indicator that the installation of STS wasn't complete.

    I can obviously fix the class path references to get things working but that's a pain project by project.

    Anyone have any suggestions on how to repair this?

  • #2
    Ok Tried the Reverse STS 2.6 with FB4 Plugin

    I started with STS 2.6 and installed Flash Builder 4 Plugin.

    Created a Roo project and created four entities with very primitive fields, all number/Long and String fields.

    Then "flex setup" followed by "flex remoting all --package ~.service

    Here is the shell log. Same field exists error as other attempts, the _scaffold.swf does not compile.

    Code:
    ~.RuleProperties roo> flex remoting all --package ~.service
    Created SRC_MAIN_JAVA\com\corenttech\care\service
    Created SRC_MAIN_JAVA\com\corenttech\care\service\ActionPropertiesService.java
    Created ROOT\src\main\flex\com\corenttech\care
    Created ROOT\src\main\flex\com\corenttech\care\ActionProperties.as
    Created SRC_MAIN_JAVA\com\corenttech\care\service\RulePropertiesService.java
    Created ROOT\src\main\flex\com\corenttech\care\RuleProperties.as
    Created SRC_MAIN_JAVA\com\corenttech\care\service\ActionsService.java
    Created ROOT\src\main\flex\com\corenttech\care\Actions.as
    Created SRC_MAIN_JAVA\com\corenttech\care\service\EventPropertiesService.java
    Created ROOT\src\main\flex\com\corenttech\care\EventProperties.as
    Updated ROOT\src\main\flex\CAREBase_scaffold.mxml
    Updated ROOT\src\main\flex\CAREBase_scaffold-config.xml
    Created ROOT\src\main\flex\com\corenttech\care\presentation\ruleproperties
    Created ROOT\src\main\flex\com\corenttech\care\presentation\ruleproperties\RulePropertiesEvent.as
    Created ROOT\src\main\flex\com\corenttech\care\presentation\ruleproperties\RulePropertiesView.mxml
    Created ROOT\src\main\flex\com\corenttech\care\presentation\ruleproperties\RulePropertiesForm.mxml
    Updated ROOT\src\main\flex\CAREBase_scaffold.mxml
    Updated ROOT\src\main\flex\CAREBase_scaffold-config.xml
    Created ROOT\src\main\flex\com\corenttech\care\presentation\eventproperties
    Created ROOT\src\main\flex\com\corenttech\care\presentation\eventproperties\EventPropertiesEvent.as
    Created ROOT\src\main\flex\com\corenttech\care\presentation\eventproperties\EventPropertiesView.mxml
    Created ROOT\src\main\flex\com\corenttech\care\presentation\eventproperties\EventPropertiesForm.mxml
    Updated ROOT\src\main\flex\CAREBase_scaffold.mxml
    Updated ROOT\src\main\flex\CAREBase_scaffold-config.xml
    Created ROOT\src\main\flex\com\corenttech\care\presentation\actionproperties
    Created ROOT\src\main\flex\com\corenttech\care\presentation\actionproperties\ActionPropertiesEvent.as
    Created ROOT\src\main\flex\com\corenttech\care\presentation\actionproperties\ActionPropertiesView.mxml
    Created ROOT\src\main\flex\com\corenttech\care\presentation\actionproperties\ActionPropertiesForm.mxml
    Updated ROOT\src\main\flex\CAREBase_scaffold.mxml
    Updated ROOT\src\main\flex\CAREBase_scaffold-config.xml
    Created ROOT\src\main\flex\com\corenttech\care\presentation\actions
    Created ROOT\src\main\flex\com\corenttech\care\presentation\actions\ActionsEvent.as
    Created ROOT\src\main\flex\com\corenttech\care\presentation\actions\ActionsView.mxml
    Created ROOT\src\main\flex\com\corenttech\care\presentation\actions\ActionsForm.mxml
    Undo manage ROOT\src\main\flex\CAREBase_scaffold-config.xml
    Undo manage ROOT\src\main\flex\CAREBase_scaffold.mxml
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\actions\ActionsForm.mxml
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\actions\ActionsView.mxml
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\actions\ActionsEvent.as
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\actions
    Undo manage ROOT\src\main\flex\CAREBase_scaffold-config.xml
    Undo manage ROOT\src\main\flex\CAREBase_scaffold.mxml
    Undo manage ROOT\src\main\flex\CAREBase_scaffold-config.xml
    Undo manage ROOT\src\main\flex\CAREBase_scaffold.mxml
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\actionproperties\ActionPropertiesForm.mxml
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\actionproperties\ActionPropertiesView.mxml
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\actionproperties\ActionPropertiesEvent.as
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\actionproperties
    Undo manage ROOT\src\main\flex\CAREBase_scaffold-config.xml
    Undo manage ROOT\src\main\flex\CAREBase_scaffold.mxml
    Undo manage ROOT\src\main\flex\CAREBase_scaffold-config.xml
    Undo manage ROOT\src\main\flex\CAREBase_scaffold.mxml
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\eventproperties\EventPropertiesForm.mxml
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\eventproperties\EventPropertiesView.mxml
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\eventproperties\EventPropertiesEvent.as
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\eventproperties
    Undo manage ROOT\src\main\flex\CAREBase_scaffold-config.xml
    Undo manage ROOT\src\main\flex\CAREBase_scaffold.mxml
    Undo manage ROOT\src\main\flex\CAREBase_scaffold-config.xml
    Undo manage ROOT\src\main\flex\CAREBase_scaffold.mxml
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\ruleproperties\RulePropertiesForm.mxml
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\ruleproperties\RulePropertiesView.mxml
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\ruleproperties\RulePropertiesEvent.as
    Undo create ROOT\src\main\flex\com\corenttech\care\presentation\ruleproperties
    Undo manage ROOT\src\main\flex\CAREBase_scaffold-config.xml
    Undo manage ROOT\src\main\flex\CAREBase_scaffold.mxml
    Undo create ROOT\src\main\flex\com\corenttech\care\EventProperties.as
    Undo create SRC_MAIN_JAVA\com\corenttech\care\service\EventPropertiesService.java
    Undo create ROOT\src\main\flex\com\corenttech\care\Actions.as
    Undo create SRC_MAIN_JAVA\com\corenttech\care\service\ActionsService.java
    Undo create ROOT\src\main\flex\com\corenttech\care\RuleProperties.as
    Undo create SRC_MAIN_JAVA\com\corenttech\care\service\RulePropertiesService.java
    Undo create ROOT\src\main\flex\com\corenttech\care\ActionProperties.as
    Undo create ROOT\src\main\flex\com\corenttech\care
    Undo create SRC_MAIN_JAVA\com\corenttech\care\service\ActionPropertiesService.java
    Undo create SRC_MAIN_JAVA\com\corenttech\care\service
    A field with name 'EPropertyDefault' already exists
    ~.RuleProperties roo>
    Can't use Flex Roo until this bug is corrected and it doesn't matter if you have FB4 installed, first, or as a plugin or at all. More errors installing STS2.6 into FB4 but none of them work.

    Comment

    Working...
    X