-
1. Re: where are swcs and bin directories?
Nicolas YuenDec 21, 2010 3:00 AM (in response to BugsBn)
Hi Gary,
I'm trying to reproduce your issue, have you imported the projects located in the libraries folder as well?
/Module/bin/Module.swc, '/Observer/bin/Observer.swc' relates to projects that should be located in your workspace.
-
2. Re: where are swcs and bin directories?
BugsBn Dec 21, 2010 3:26 AM (in response to Nicolas Yuen)hi,
appreciate your response - we are trying very hard to get this working.
after trying to fix all the actionscriptproperties files manually, i built everything from scratch.
after several attempts with maven, it built all the target libraries as snapshots, but it did not create the bin folder and move the swc's there.
- but these ../bin/...swc seems to be also hardcoded in the actionproperties - not sure if i should also edit them.
/libraries/Contract/target/contract-1.4-SNAPSHOT.swc
./libraries/Integration/target/integration-0.16-SNAPSHOT.swc
./libraries/IntegrationParsley/target/integrationParsley-0.16-SNAPSHOT.swc
./libraries/Module/target/module-0.15-SNAPSHOT.swc
./libraries/Navigation/target/navigation-1.4-SNAPSHOT.swc
./libraries/NavigationParsley/target/navigationParsley-1.4-SNAPSHOT.swc
./libraries/NavigationSpringAS/target/navigationSpringAS-1.4-SNAPSHOT.swc
./libraries/NavigationSwiz/target/navigationSwiz-1.4-SNAPSHOT.swc
./libraries/Observer/target/observer-1.14-SNAPSHOT.swc
./libraries/ObserverParsley/target/observerParsley-1.14-SNAPSHOT.swc
./libraries/Popup/target/popup-1.13-SNAPSHOT.swc
./libraries/PopupParsley/target/popupParsley-1.13-SNAPSHOT.swc
./libraries/PopupTest/libs/FlexUnit.swc
./libraries/PopupTest/libs/parsley-flex4-2.3.1.swc
./libraries/PopupTest/libs/spicelib-flex-2.3.1.swc
./libraries/Task/target/task-1.10-SNAPSHOT.swc
./libraries/Validation/target/validation-1.13-SNAPSHOT.swcwho should create these bin folders referenced in .actionscriptproperties and move these swc into them?
plz clarify this above issue - response to your question is in my next email.
thanks.
-
3. Re: where are swcs and bin directories?
BugsBn Dec 21, 2010 3:23 AM (in response to Nicolas Yuen)Hi,
Now i did what you said below - i.e. import the libraries root folder also:
Flex gives me these errors:
Description Resource Path Location Type
configuration variable 'compiler.library-path' value contains unknown token 'M2_REPO' ContractTest Unknown Flex Problem
configuration variable 'compiler.library-path' value contains unknown token 'M2_REPO' Integration Unknown Flex Problem
configuration variable 'compiler.library-path' value contains unknown token 'M2_REPO' IntegrationDMS Unknown Flex Problem
configuration variable 'compiler.library-path' value contains unknown token 'M2_REPO' IntegrationParsley Unknown Flex Problem
configuration variable 'compiler.library-path' value contains unknown token 'M2_REPO' IntegrationTest Unknown Flex Problem...
in addition to the previous errors.
Plz advise,
Gary.
-
4. Re: where are swcs and bin directories?
Nicolas YuenDec 21, 2010 4:32 AM (in response to BugsBn)
You should declare the M2_REPO in your workspace linked resources: Preference->General->Workspace->Linked Resources.
The M2_REPO variable should point to your local maven repository.
Regarding the bin folders, you can either import the other projects in your workspace or copy the generated libs that you built with Maven (and rename them if you want).
-
5. Re: where are swcs and bin directories?
BugsBn Dec 21, 2010 10:54 PM (in response to Nicolas Yuen)Hi Nicolas,
Thanks for the response. Now, I got past that problem but after lot more time spent on trying to get this to work, am getting these errors below:
Plz let me know ASAP,
Gary.
-------
Errors occurred during the build.
Errors running builder 'Integrated External Tool Builder' on project 'todo_flex_core'.
Launch configuration type id "org.eclipse.ant.AntBuilderLaunchConfigurationType" does not exist.
Possible causes:
Missing specification of a launch type (missing plug-in)
Incorrect launch configuration XML
Launch configuration type id "org.eclipse.ant.AntBuilderLaunchConfigurationType" does not exist.
Possible causes:
Missing specification of a launch type (missing plug-in)
Incorrect launch configuration XML
Errors running builder 'Integrated External Tool Builder' on project 'todo_flex_shell'.
Launch configuration type id "org.eclipse.ant.AntBuilderLaunchConfigurationType" does not exist.
Possible causes:
Missing specification of a launch type (missing plug-in)
Incorrect launch configuration XML
Launch configuration type id "org.eclipse.ant.AntBuilderLaunchConfigurationType" does not exist.
Possible causes:
Missing specification of a launch type (missing plug-in)
Incorrect launch configuration XML
Errors running builder 'Integrated External Tool Builder' on project 'todo_flex_todolist_lib'.
Launch configuration type id "org.eclipse.ant.AntBuilderLaunchConfigurationType" does not exist.
Possible causes:
Missing specification of a launch type (missing plug-in)
Incorrect launch configuration XML
Launch configuration type id "org.eclipse.ant.AntBuilderLaunchConfigurationType" does not exist.
Possible causes:
Missing specification of a launch type (missing plug-in)
Incorrect launch configuration XML
Errors running builder 'Integrated External Tool Builder' on project 'todo_flex_todolist'.
Launch configuration type id "org.eclipse.ant.AntBuilderLaunchConfigurationType" does not exist.
Possible causes:
-
6. Re: where are swcs and bin directories?
Nicolas YuenDec 22, 2010 1:59 AM (in response to BugsBn)
It seems that you do not have the ant plugin install on your Flash Builder. Which version of the builder are you using?
-
7. Re: where are swcs and bin directories?
BugsBn Dec 22, 2010 3:16 AM (in response to Nicolas Yuen)Hi,
Am using latest greatest 4.0.1 with 4.1sdk.
(Only temporarily used 3.4sdk to try and get older version of Insync (on Wiki) to run)
Under plugins, it shows org.apache.ant installed - 1.7.1...
So much time spent on this - plz let me know how to get beyond all these issues and run the app,
Thx
Gary
-
8. Re: where are swcs and bin directories?
scotchfasterr Jan 27, 2011 2:50 PM (in response to BugsBn)I'm in exactly the same situation. I'm using Flash Builder Standard 4.0.1 (build 277662) along with the 4.1 Flex SDK. I've checked out the project http://opensource.adobe.com/svn/opensource/cairngorm3/trunk/samples/insync/insync-basic and when I try to build it I get the error "unable to open '\Observer\bin\Observer.swc'".
I think I have the Ant plug-in installed. That is, if I try to install from Ganymede Update Site \ Java Development \ Eclipse Java Development, I get the message "Eclipse Java Development Tools will be ignored because it is already installed."
Other things I've tried:
1) Setting up Maven (it works).
2) Getting http://opensource.adobe.com/svn/opensource/cairngorm3 to my local folder C:\Program Files (x86)\Adobe\Adobe Flash Builder 4 Plug-in and setting the environment variable M2_REPO to C:\Program Files (x86)\Adobe\Adobe Flash Builder 4 Plug-in\cairngorm 3\maven-repository.
This really should not be so hard.
-
9. Re: where are swcs and bin directories?
scotchfasterr Jan 28, 2011 2:30 PM (in response to scotchfasterr)I eventually got this to work by creating a brand new project and copying in files. A description of what I went through and a ZIP file containing the fixed project can be found here: