I have the same issue —
http://blog.flex-mojos.info/2008/04/12/caching-framework/ (your
comment velo // Jan 6, 2009 at 1:54 am)
My code is valid
<dependencies>
...
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>framework</artifactId>
<type>swc</type>
<scope>caching</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex4</artifactId>
<type>swc</type>
<scope>caching</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>rpc</artifactId>
<type>swc</type>
<scope>caching</scope>
</dependency>
</dependencies>
But install-sdk produce flex-framework-4.0.0-SNAPSHOT.pom
<dependencies>
...
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex</artifactId>
<version>4.0.0-SNAPSHOT</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex4</artifactId>
<version>4.0.0-SNAPSHOT</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>framework</artifactId>
<version>4.0.0-SNAPSHOT</version>
<type>swc</type>
</dependency>
...
</dependencies>
as you can see — flex and flex4 is first. framework must be first.
current error: VerifyError: Error #1014: Class IVisualElement could not be
found.
Please, review and apply my patch. My patch add required dependencies in POMs
flex4, rpc,
textLayout_edit. Also, please, close issue 90 — your code is valid —
install sdk must produce
POM in any case, because "The fact that Maven downloads POM files in addition
to artifacts is
central to Maven's support for transitive dependencies."
(http://books.sonatype.com/maven-
book/reference/simple-project-sect-dep-management.html).
Useful info for enduser:
rpc require framework
flex4 require textLayout_edit (if scope for flex4 is caching, you must set
scope for
textLayout_edit also to caching)
textLayout_edit require textLayout_core
Original issue reported on code.google.com by deve...@gmail.com on 17 Jan 2009 at 3:33
Original issue reported on code.google.com by
deve...@gmail.com
on 17 Jan 2009 at 3:33Attachments: