Anyone know if this plugin is going to be updated for Flash Builder 4? And when it might be available? Thanks.
Hi,
I have submitted the patch to JIRA, here is the link
https://bugs.adobe.com/jira/browse/CGM-16
<https://bugs.adobe.com/jira/browse/CGM-16>No answer yet
If you could give me feedback on bugs I could try to fix them, I know there
are still bugs and strange behaviour like before but it should be usable.
Best regards,
Eric
I haved added the patch to an existing Jira bug : https://bugs.adobe.com/jira/browse/CGM-16
You can test it.
Happy coding
I'm starting to feel a bit slow
sorry.
I completely removed the old plugin, and put your .jar ('com.adobe.cairngorm.ui_0.0.7.201004091056.jar') in 'dropins'.
Shouldn't the file be removed upon the next start of the IDE? Because it is not.
Maybe the problem is that I'm using the 'Flash Builder 4' stand-alone version, and not the Eclipse-plugin?
I have attached the new version to the JIRA Bug https://bugs.adobe.com/jira/browse/CGM-16
the name of the file is
com.adobe.cairngorm.ui_0.0.7.201004131706.jar
Thanks for your feedbacks
The service locator was not yet implemented in this version, I have forgotten to remove the menu. I don't know this plugin enough to implement this function, all I did was to adapt it and fix a few bugs. The service locator was a new function to be implemented in the future I got when I took the sources from the subversion trunk.
If I find the time to implement it I will notify you.
Eric
I managed to get it working I think.
In the cairngorm 2.2.2 beta location
Edit resources/flexbuilder/cairngorm.xml and add an entry for ServiceLocator:
<?xml version="1.0" encoding="UTF-8"?>
<cairngorm>
<controller>com.adobe.cairngorm.control.FrontController</controller>
<templates>
<template name="controller">Controller.asjet</template>
<template name="event">Event.asjet</template>
<template name="command">Command.asjet</template>
<template name="serviceLocator">ServiceLocator.asjet</template>
</templates>
</cairngorm>
Create resources/flexbuilder/template/ServiceLocator.asjet with the following content (for Flex 4):
<%@ jet package="translated" class="ServiceLocator" %>
<?xml version="1.0" encoding="utf-8"?>
<services:ServiceLocator xmlns:services="com.adobe.cairngorm.business.*"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" >
<fx:Declarations>
<!-- Place non-visual elements (i.e., services) here -->
</fx:Declarations>
</services:ServiceLocator>
I was able to install the patched plugin (com.adobe.cairngorm.ui_0.0.7.201004160858.jar), configure for Cairngorm location and then I tried to add the nature to my project. It updated the controller, but with bugs:
public function BalanceFrontController()
{
null();
}
public function initialize() : void
{
null( AddressInfoPopupEvent.EVENT_NAME, AddressInfoPopupCommand );
null( BalanceDaoEvent.TEST_EVENT, BalanceDaoCommand );
}
I corrected this code and tried to create a new command/event. I tried to specify com.adobe.cairngorm.commands.ICommand as command superclass, but plugin rejected it as an unknown class. So, I left the command's cuperclass blank. It created the Event correctly, but the created Command is empty. No errors.
Which one is the latest? The *858.jar has the latest date of all attachments to https://bugs.adobe.com/jira/browse/CGM-16.
Thanks. I have updated my plugin (removed the old jar from dropins folder and then placed the new jar there and then started the eclipse). Adding the nature worked fine, now. No "null" methods. Still, the create event/command has the same problems as above described. is there something I can be doing wrong? What is the meaning of "library path" when adding the nature? How is "library path" related to pointing to the selected location of the cairngorm framework thru the drop-down just above it?
North America
Europe, Middle East and Africa
Asia Pacific