History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-17786
Type: Bug Bug
Status: Open Open
Assignee: Maxim Mossienko
Reporter: Stephen Olano
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Flex / Ant Integration

Created: 17 Apr 08 01:27   Updated: 18 Apr 08 21:31
Component/s: Ant Integration

File Attachments: None
Image Attachments:

1. error.PNG
(54 kb)
Environment: Windows XP, Ant 1.7.0, Flex 3 SDK build 477

Build: 7,782
Severity: Low


 Description  « Hide
I use this ant task:

<taskdef resource="flexTasks.tasks" classpath="${flexTasks}/flexTasks.jar" />

<target name="compile">
<mxmlc file="${basedir}\ui\Main.mxml"
keep-generated-actionscript="true"
services="${APP_ROOT}\WEB-INF\flex\services-config.xml"
context-root="/Main"
output="${APP_ROOT}\Main.swf">
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
</mxmlc>
</target>

This task runs perfectly w/o problem using command-line. If I run the task thru the "Ant Build" Pane in IntelliJ, I get an exception:

java.lang.IllegalAccessError: class org.apache.xerces.util.XMLAttributesMMImpl$AttributeMMImpl cannot access its superclass org.apache.xerces.util.XMLAttributesImpl$Attribute

Pls note that the other Flex Ant task like <html-wrapper> works without prob, both using IDEA Ant Pane and Command-line.



 All   Comments   Work Log   Change History      Sort Order:
Maxim Mossienko - 18 Apr 08 21:31
this seems to be configuration issue which could be overcome by specifying java.endorsed.dirs VM property and/or different JDK for running ANT