Compile MXML text
Hi,
I am a new comer to flex. I am working on a application proof
of concept where I have to submit a URL to the webserver (end user
will click on a link) and generate the MXML dynamically and display
the output.
I was managed to build it up to the dynamic MXML generation
(using freemarker) and trying to figure it out how send the MXML
text to the compiler to generate the output.
I would greatly appreciate for your help.
Yea, and the best of it, FDS is free, for single CPU, a
single "application" and commercial use.
Mark
Similar Messages
-
Revision: 15779
Revision: 15779
Author: [email protected]
Date: 2010-04-27 20:19:48 -0700 (Tue, 27 Apr 2010)
Log Message:
Package and class level javadoc for the flex2.compiler.mxml package
and subpackages.
QE notes:
Doc notes:
Bugs:
Reviewer: Corey (post commit)
Tests run: checkintests
Is noteworthy for integration: NO
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/AbstractGenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceGenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InvalidStateAttributeUsage.j ava
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InvalidStateSpecificValue.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MXMLNamespaces.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/HTTPServiceAnalyzer .java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/RemoteObjectAnalyze r.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/SyntaxAnalyzer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/WebServiceAnalyzer. java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AnonymousObjectGraph Builder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ArrayBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/HTTPServiceBuilder.j ava
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/InlineComponentBuild er.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ModelBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/PrimitiveBuilder.jav a
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/RemoteObjectBuilder. java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ServiceRequestBuilde r.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/VectorBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/WebServiceBuilder.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLListBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/Analyzer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/AnalyzerAdapter.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ArgumentsNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ArrayNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/BindingNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/BooleanNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/CDATANode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ClassNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/DeclarationsNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/DefinitionNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/DesignLayerNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/DocumentNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/FunctionNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/HTTPServiceNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/InlineComponentNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/IntNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/LayeredNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/LibraryNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/MetaDataNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/MethodNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ModelNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/Node.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/NumberNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/OperationNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/PrimitiveNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/PrivateNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/RemoteObjectNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ReparentNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/RequestNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ScriptNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/StateNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/StringNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/StyleNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/SyntaxTreeBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/UIntNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/VectorNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/WebServiceNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/XMLListNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/XMLNode.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/XercesClassLoader.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/CodeFragmentList.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/DescriptorGenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/StatesGenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/TextGen.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/VelocityUtil.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/AttributeHandler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/BindingHandler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/ChildNodeHandler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/DeclarationHandler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/FrameworkDefs.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/NodeTypeResolver.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/TextParser.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/TypeCompatibility.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/ValueNodeHandler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Assignable.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Deprecated.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/DynamicProperty.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Effect.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/ElementTypeNotFound. java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Event.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Inspectable.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Property.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Style.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Array.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/BindingExpression.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/DocumentInfo.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/EventHandler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/LineNumberMapped.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Method.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Model.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MovieClip.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Operation.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/StatesModel.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/VariableDeclaration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Vector.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/decl/InitializedProperty Declaration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/decl/PropertyDeclaration .java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/decl/UninitializedProper tyDeclaration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ArrayElementInitial izer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/DynamicPropertyInit ializer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/EffectInitializer.j ava
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/EventInitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/Initializer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/NamedInitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/StaticPropertyIniti alizer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/StyleInitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/VisualChildInitiali zer.java
Added Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/package.html
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/package.html
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/package.html
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/package.html
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/package.html
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/package.html
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/decl/package.html
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/package.html
Removed Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Parameter.java -
Compiling mxml file works fine using the webtier compiler.
Actuallu is great!
There is only one problem I get a strange error reported by
the debugger player version. To get rid of that I need to create a
compilation error and run it again and then fix it back... Will
comeback with more details.
CThe bug is closed deferred which means it is not fixed and we have no plans to fix it.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
Hi all,
I'm trying to compile a mxml file and I'm getting the
following error:-
C:\flex_sdk_3\bin>mxmlc test.mxml
Loading configuration file
C:\flex_sdk_3\frameworks\flex-config.xml
C:\flex_sdk_3\bin\test.mxml(13): col: 718 Error: An invalid
XML character (Unicode: 0x7) was found in the element content of
the document.
Any idea how could I resolve this problem?
Thanks in advance.Sounds like you have either an ampersand (&),
greater-than (>), or less-than (<) character side of an XML
expression. For example:
<mx:Text text="{ alpha < beta ? 'Hello' : 'World'}"
/>
or
<mx:Text text="Bob & Ray" />
If you do have this, switch to encoded characters such as
& < > or use the XML encode values which I
don't know off the top of my header; you'll have to look them
up. -
Can we compile MXML into jpg format instead of swf?
I have a special demand to compile the MXML into jpg format
instead of swf via FLex. Anybody who can help me on this issue?
many thanks!here is a
JPEG
Encoder, which can be used to convert bitmapdata to jpg (also a
png encoder is mentioned).
here is another link of a
Flex Paint
application as an example. -
I'm looking for ways to load MXML code at runtime and compile it at runtime within Flex application (web or Air). The MXML code may exist on disk, in memory, or be created by the actively running Flex application. Upon a user event, like a button click, the MXML code (and possibly associated .as files) get compiled and are now usable by the application. Is this possible?
Not unless you want to write your own MXML and ActionScript compiler in ActionScript. You could, however, call out to a Java server and call mxmlc, since that's written in Java.
-
Compile multiple mxml file at same time
hi
i am working in flex with java.
i am using more one flex file in my flex project.
when i execute the project the ant compiled .mxml file only executed.
the other .mxml files are not executed.
i have use the destination id same of two mxml files.
the ant target is
<target name="appcompile" depends="install">
<mxmlc file="${flexsrc.home}/UserRegistration.mxml" context-root="/Reg" keep-generated-actionscript="true" services="${web.home}/WEB-INF/flex/services-config.xml" output="${catalina.home}/webapps/${app.name}/UserRegistration.swf">
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="${web.home}/WEB-INF/lib/" />
<include name="${flexsrc.home}/example/" />
</compiler.library-path>
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
<source-path path-element="${FLEX_HOME}/frameworks" />
</mxmlc>
</target>
<target name="createHtmlWrapper" depends="appcompile">
<html-wrapper application="${APP_ROOT}/UserRegistration.mxml" height="1000" width="1000" output="${catalina.home}/webapps/${app.name}" swf="UserRegistration" />
</target>
the destination id is camp;
the error is
MessagingError message='Destination 'camp' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']
anyone can help me
regards
athiIt turned out that my Captivate file exceeded 50MB (the
working “.cp” file) and this causes problems when
outputting, they tell me at Captivate support, that weird
corruptions happen. I tried removing the audio from the Flash after
synchronizing the audio to screen activity, then saving a non-audio
version, then importing it into Captivate, then importing the audio
into Captivate. Make sure to check Options/Synchronize to project
when you import the .swf. That solved the problem for me. Good
luck!
Lorin -
Mxml components not compiled into swc?
Hi, I am using Flash Builder(Flex 4) and i am having issues compiling mxml components into swc.
My scenario:
I created Flex Library project, added some mxml components and actionsript classes.
I created separate Flex project and added swc file to project's library path.
I can only import actionscript classes from my library.
ActionScript classes are compiled and bundled in the swc as expected, but all mxml components are not compiled into the swc.
Do you have the same issues compiling mxml components?
I am using Flash Builder Version 4.0 (build 253292).My team occasionally sees issues with missing classes in a similar setup, although I can't confirm that it has been limited to MXML (and no one has been able to reliably reproduce).
I suspect our problem is the "includeAllClasses" property in .flexLibProperties (Project->Properties->Flex Library Build Path->Classes->Include all classes from all source paths)--it seems to not reliably compile in newly added classes. Our workaround right now is to instead click "Select classes to include in the library" and toggle our source directory every time classes are added, at least until we script our own build tasks. Looking through Jira I see this is a common issue: https://bugs.adobe.com/jira/browse/FB-23514 (and a few others).
Hope this helps, -
Integrating Java Compiler into a Text Editor
Hello
I have developed a Text Editor with Java. I would like to make it as a IDE. Could anybody tell me how to integrate a JAVA or C++ compiler
into Text Editor.
Please let me know
Thanks
PrashanthUse this http://weblogs.java.net/blog/malenkov/archive/2008/12/how_to_compile.html to add your own compiler.
-
[svn] 1090: compiler: class renaming in the mxml package
Revision: 1090
Author: [email protected]
Date: 2008-04-03 11:59:00 -0700 (Thu, 03 Apr 2008)
Log Message:
compiler: class renaming in the mxml package
* flex2.compiler.mxml.builder:ApplicationBuilder to AbstractDocumentBuilder
* flex2.compiler.mxml.builder:Builder to AbstractBuilder
* flex2.compiler.mxml.dom:ApplicationNode to DocumentNode
Bugs: n/a
QA: No
Doc: No
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilationUnit.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AnonymousObjectGraph Builder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ArrayBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/InlineComponentBuild er.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/PrimitiveBuilder.jav a
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLListBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/Scanner.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/ValueNodeHandler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/DocumentInfo.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
Added Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractDocumentBuil der.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/DocumentNode.java
Removed Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ApplicationBuilder.j ava
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/Builder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ApplicationNode.javaPlz help me...
-
I was fighting with this problem for a few days. Finally I've got it resolved. I want to describe it and fill in BUG in the bug report, but I am not sure about Adobe support options. So, I am putting bug report here.
1. ASSUMPTION: All problems which compiler reports as unknown problem are the real compiler BUGs/Problems. Eventually MXML compiler/ActionScript compiler should be able to take C++ or FORTRAN code or an aribitrary text and nicely tell "Error: It is not ActionScript (Flex) code" or "the code is corrupted from Line so and so...". When compiler crashed, it is most probably due to one of the states not handled (or not handled correct). Keeping this in mind I assume, that my code has nothing to do with the compiler crash.
2. PROBLEM Description.
- I tried to port our internal project from Flex3.5/Flex Builder 3 to Flex4.1/Flash Builder 4.
- After checking out and trying to build code I start getting weird problems like Error 1037: Packages cannot be nested.
- After cleaning and compiling project by project, walking up dependency tree, I was able to get rid of this problem.
- On last Project I've got another problem (An internal build error has occurred... Unknown Flex Problem). Which I stuck with for a while.
- When I checked log file I found following messages:
============================================================
!ENTRY com.adobe.flexbuilder.project 4 43 2010-12-21 15:45:24.353
!MESSAGE Uncaught exception in compiler
!STACK 0
java.lang.ClassCastException: macromedia.asc.parser.InputBuffer cannot be cast to flex2.compiler.as3.CodeFragmentsInputBuffer
at flex2.compiler.as3.AbstractSyntaxTreeUtil.lineNumberToPosition(AbstractSyntaxTreeUtil.jav a:1266)
at flex2.compiler.mxml.ImplementationGenerator.generateBinding(ImplementationGenerator.java: 569)
at flex2.compiler.mxml.ImplementationGenerator.generateBindingsSetupFunction(ImplementationG enerator.java:863)
at flex2.compiler.mxml.ImplementationGenerator.generateBindingsSetup(ImplementationGenerator .java:812)
at flex2.compiler.mxml.ImplementationGenerator.generateInitializerSupportDefs(Implementation Generator.java:1878)
at flex2.compiler.mxml.ImplementationGenerator.generateClassDefinition(ImplementationGenerat or.java:1044)
at flex2.compiler.mxml.ImplementationGenerator.<init>(ImplementationGenerator.java:206)
at flex2.compiler.mxml.ImplementationCompiler.generateImplementationAST(ImplementationCompil er.java:499)
at flex2.compiler.mxml.ImplementationCompiler.parse1(ImplementationCompiler.java:197)
at flex2.compiler.mxml.MxmlCompiler.parse1(MxmlCompiler.java:168)
at flex2.compiler.CompilerAPI.parse1(CompilerAPI.java:2871)
at flex2.compiler.CompilerAPI.parse1(CompilerAPI.java:2824)
at flex2.compiler.CompilerAPI.batch2(CompilerAPI.java:446)
at flex2.compiler.CompilerAPI.batch(CompilerAPI.java:1274)
at flex2.compiler.CompilerAPI.compile(CompilerAPI.java:1496)
at flex2.tools.oem.Application.compile(Application.java:1188)
at flex2.tools.oem.Application.recompile(Application.java:1133)
at flex2.tools.oem.Application.compile(Application.java:819)
at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:344)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(A SApplicationBuilder.java:276)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplication Builder.java:127)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:190)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:7 4)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectB uilder.java:480)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuild er.java:306)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncremen talBuilder.java:157)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:218)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:360)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:516)
at org.eclipse.core.internal.resources.Project.build(Project.java:94)
at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:221)
at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:162)
at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:483)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38 )
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SESSION 2010-12-22 09:48:27.766 -----------------------------------------------
eclipse.buildId=M20100909-0800
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -data C:\Client_Flex4 -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
================================================
3. RESOLUTION/WORK AROUND
- I was able to get this problem cleared by putting compiler option for Flex Application projects: -keep-generated-actionscript
4. SIDE NOTE
I do not really see putting this compiler option as the solution and living with the mistery is making me fill a bit bad.Hi Faser,
I just tried it on Vista with our latest FB Plugin build but
I was unable to reproduce your issue with the following setup:
- FB Plugin build installed by Administrator account user
under her Documents folder
- Administrator account user can launch, create Flex projects
under her own workspace without any problems
- Standard account user can launch the FB Plugin build (need
Admin's password) and create Flex project (default location) under
his own workspace
If your setup is different, can you please log a bug at
http://bugs.adobe.com/flex.
Be sure to include what build you are using, whether it's
reproducible, the detail of the setup, etc...
thanks,
Sharon -
<div class=Section1><br /><br /><p class=MsoNormal>I received this error calling the flex2.tools.Compiler’s<br />main[] method. The MXML input compiles successfully in the Flex 2<br />builder. I wanted to check to see if anyone had experienced this before<br />digging deeper into source code.<o:p></o:p></p><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal>--Scott<o:p></o:p></p><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal>------------------------------------------------------------------------- ----------------------<o:p></o:p></p><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'>Error:<br />org.apache.batik.css.parser.Parser.getLineNumber()I</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New"'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'>java.lang.NoSuchMethodError:<br />org.apache.batik.css.parser.Parser.getLineNumber()I</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flash.css.StyleParser.getLineNumber(</span><u><span style='font-size:10.0pt;<br />font-family:"Courier New";color:navy'>StyleParser.java:208</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flash.css.StyleDocumentHandler.startFontFace(</span><u><span style='font-size:<br />10.0pt;font-family:"Courier New";color:navy'>StyleDocumentHandler.java:100</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />org.apache.batik.css.parser.Parser.parseFontFaceRule(</span><u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:navy'>Parser.java:484</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />org.apache.batik.css.parser.Parser.parseStyleSheet(</span><u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:navy'>Parser.java:224</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at flash.css.StyleParser.init(</span><u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:navy'>StyleParser.java:172</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flash.css.StyleParser.<init>(</span><u><span style='font-size:10.0pt;<br />font-family:"Courier New";color:navy'>StyleParser.java:106</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flash.css.StyleSheet.parse(</span><u><span style='font-size:10.0pt;font-family:<br />"Courier New";color:navy'>StyleSheet.java:54</span></u><span style='font-size:<br />10.0pt;font-family:"Courier New";color:red'>)</span><span style='font-size:<br />10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.mxml.analyzer.SyntaxAnalyzer.parseStyle(</span><u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:navy'>SyntaxAnalyzer.java:551</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.mxml.analyzer.SyntaxAnalyzer.analyze(</span><u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:navy'>SyntaxAnalyzer.java:122</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.mxml.dom.StyleNode.analyze(</span><u><span style='font-size:<br />10.0pt;font-family:"Courier New";color:navy'>StyleNode.java:50</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.mxml.dom.AnalyzerAdapter.traverse(</span><u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:navy'>AnalyzerAdapter.java:172</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.mxml.dom.AnalyzerAdapter.analyze(</span><u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:navy'>AnalyzerAdapter.java:164</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.mxml.analyzer.SyntaxAnalyzer.analyze(</span><u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:navy'>SyntaxAnalyzer.java:55</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.mxml.dom.Node.analyze(</span><u><span style='font-size:10.0pt;<br />font-family:"Courier New";color:navy'>Node.java:47</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.mxml.InterfaceCompiler.parse1(</span><u><span style='font-size:<br />10.0pt;font-family:"Courier New";color:navy'>InterfaceCompiler.java:222</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.mxml.Compiler.parse1(</span><u><span style='font-size:10.0pt;<br />font-family:"Courier New";color:navy'>Compiler.java:95</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.API.parse1(</span><u><span style='font-size:10.0pt;font-family:<br />"Courier New";color:navy'>API.java:2306</span></u><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'>)</span><span style='font-size:10.0pt;<br />font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.API.parse1(</span><u><span style='font-size:10.0pt;font-family:<br />"Courier New";color:navy'>API.java:2259</span></u><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'>)</span><span style='font-size:10.0pt;<br />font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.API.batch2(</span><u><span style='font-size:10.0pt;font-family:<br />"Courier New";color:navy'>API.java:367</span></u><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'>)</span><span style='font-size:10.0pt;<br />font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.API.batch(</span><u><span style='font-size:10.0pt;font-family:<br />"Courier New";color:navy'>API.java:1108</span></u><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'>)</span><span style='font-size:10.0pt;<br />font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.API.compile(</span><u><span style='font-size:10.0pt;font-family:<br />"Courier New";color:navy'>API.java:1281</span></u><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'>)</span><span style='font-size:10.0pt;<br />font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.compiler.API.compile(</span><u><span style='font-size:10.0pt;font-family:<br />"Courier New";color:navy'>API.java:1201</span></u><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'>)</span><span style='font-size:10.0pt;<br />font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.tools.Compiler.mxmlc(</span><u><span style='font-size:10.0pt;font-family:<br />"Courier New";color:navy'>Compiler.java:240</span></u><span style='font-size:<br />10.0pt;font-family:"Courier New";color:red'>)</span><span style='font-size:<br />10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />flex2.tools.Compiler.main(</span><u><span style='font-size:10.0pt;font-family:<br />"Courier New";color:navy'>Compiler.java:53</span></u><span style='font-size:<br />10.0pt;font-family:"Courier New";color:red'>)</span><span style='font-size:<br />10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;<br />font-family:"Courier New";color:red'> at<br />net.sf.jasperreports.export.flex.JRSwfExporter.exportReportToStream(</span><u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:navy'>JRSwfExporter.java:268</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><span<br />style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";<br />color:red'> at net.sf.jasperreports.export.flex.JRSwfExporter.exportReport(</span><u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:navy'>JRSwfExporter.java:177</span></u><span<br />style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span><o:p></o:p></p><br /><br /></div>
Would you provide some details on how you’re calling this, which branch (e.g. Compiler is now known as Mxmlc on the trunk)? You need to have all libs from trunk/lib on the classpath.
- Jono
From: chauncy <[email protected]>
Reply-To: <[email protected]>
Date: Thu, 17 Apr 2008 10:31:31 -0700
To: <[email protected]>
Subject: Batik-related compiler issue
A new discussion was started by chauncy in
Developers --
Batik-related compiler issue
I received this error calling the flex2.tools.Compiler’s main[] method. The MXML input compiles successfully in the Flex 2 builder. I wanted to check to see if anyone had experienced this before digging deeper into source code.
--Scott
Error: org.apache.batik.css.parser.Parser.getLineNumber()I
java.lang.NoSuchMethodError: org.apache.batik.css.parser.Parser.getLineNumber()I
at flash.css.StyleParser.getLineNumber(
StyleParser.java:208
at flash.css.StyleDocumentHandler.startFontFace(
StyleDocumentHandler.java:100
at org.apache.batik.css.parser.Parser.parseFontFaceRule(
Parser.java:484
at org.apache.batik.css.parser.Parser.parseStyleSheet(
Parser.java:224
at flash.css.StyleParser.init(
StyleParser.java:172
at flash.css.StyleParser.<init>(
StyleParser.java:106
at flash.css.StyleSheet.parse(
StyleSheet.java:54
at flex2.compiler.mxml.analyzer.SyntaxAnalyzer.parseStyle(
SyntaxAnalyzer.java:551
at flex2.compiler.mxml.analyzer.SyntaxAnalyzer.analyze(
SyntaxAnalyzer.java:122
at flex2.compiler.mxml.dom.StyleNode.analyze(
StyleNode.java:50
at flex2.compiler.mxml.dom.AnalyzerAdapter.traverse(
AnalyzerAdapter.java:172
at flex2.compiler.mxml.dom.AnalyzerAdapter.analyze(
AnalyzerAdapter.java:164
at flex2.compiler.mxml.analyzer.SyntaxAnalyzer.analyze(
SyntaxAnalyzer.java:55
at flex2.compiler.mxml.dom.Node.analyze(
Node.java:47
at flex2.compiler.mxml.InterfaceCompiler.parse1(
InterfaceCompiler.java:222
at flex2.compiler.mxml.Compiler.parse1(
Compiler.java:95
at flex2.compiler.API.parse1(
API.java:2306
at flex2.compiler.API.parse1(
API.java:2259
at flex2.compiler.API.batch2(
API.java:367
at flex2.compiler.API.batch(
API.java:1108
at flex2.compiler.API.compile(
API.java:1281
at flex2.compiler.API.compile(
API.java:1201
at flex2.tools.Compiler.mxmlc(
Compiler.java:240
at flex2.tools.Compiler.main(
Compiler.java:53
at net.sf.jasperreports.export.flex.JRSwfExporter.exportReportToStream(
JRSwfExporter.java:268
at net.sf.jasperreports.export.flex.JRSwfExporter.exportReport(
JRSwfExporter.java:177
View/reply at Batik-related compiler issue
<http://www.adobeforums.com/webx?13@@.59b50561>
Replies by email are OK.
Use the unsubscribe
<http://www.adobeforums.com/webx?280@@.59b50561!folder=.3c060fa3> form to cancel your email subscription. -
[svn] 1152: compiler: class renaming and opportunistic warning cleanup
Revision: 1152
Author: [email protected]
Date: 2008-04-08 15:22:04 -0700 (Tue, 08 Apr 2008)
Log Message:
compiler: class renaming and opportunistic warning cleanup
* flex2.compiler.as3:Configuration to As3Configuration
* flex2.compiler.mxml:Configuration to MxmlConfiguration
* flex2.linker:Configuration to LinkerConfiguration
Bugs: n/a
QA: Soon!
Doc: No
Modified Paths:
flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/NodeFactory.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Compiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/Compiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/Configuration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/i18n/Compiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/Compiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/HTTPServiceAnalyzer .java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/RemoteObjectAnalyze r.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/SyntaxAnalyzer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/WebServiceAnalyzer. java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractDocumentBuil der.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AnonymousObjectGraph Builder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ArrayBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/HTTPServiceBuilder.j ava
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/InlineComponentBuild er.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ModelBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/PrimitiveBuilder.jav a
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/RemoteObjectBuilder. java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ServiceRequestBuilde r.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/WebServiceBuilder.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLListBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/AnalyzerAdapter.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/decl/InitializedProperty Declaration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/NamedInitializer.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/API.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/Swc.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcMovie.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/ConsoleLogger.java
flex/sdk/trunk/modules/compiler/src/java/flex2/linker/API.java
flex/sdk/trunk/modules/compiler/src/java/flex2/linker/ConsoleApplication.java
flex/sdk/trunk/modules/compiler/src/java/flex2/linker/FlexMovie.java
flex/sdk/trunk/modules/compiler/src/java/flex2/linker/SimpleMovie.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PostLink.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Library.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/LinkerConfiguration.jav a
flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/DModule.java
flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/expression/ASTBuilder.java
flex/sdk/trunk/modules/debugger/src/java/flash/util/URLEncoder.java
flex/sdk/trunk/modules/debugger/src/java/flex/tools/debugger/cli/ExpressionContext.java
flex/sdk/trunk/modules/debugger/src/java/flex/tools/debugger/cli/LocationCollection.java
Added Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/As3Configuration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/linker/LinkerConfiguration.java
Removed Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/Configuration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/Configuration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/linker/Configuration.javaYou need to rewrite the script to do that eg maybe use Get-Mailbox to feed
get-mailboxfolderstatistics, you'll still need to process each and every mailbox individually.
>> Thank you for any help you can offer, I'm not very experienced with Powershell or scripting in general, so this feels like I'm diving in a little deep.
with a script like this that deletes data you do want to be very careful if your going to run it against 100's of mailboxes, my suggestion is you rewrite it first as a reporting script where you just output the result to a text file then when you have that
running well and your confident it's not going to delete anything that it shouldn't you can than change it to a script that deletes things.
Cheers
Glen -
Compilation error while generating the form in linux
Hello everyone,
I am using Oracle Designer ver10.1.2.4 in windows to generate the forms with standard object library ofgwebol.olb and template form ofgwebt.fmb. form (with both .fmb and .fmx files) are generated without errors. Also when I open the forms in separately they compiles without errors. But when I copy the same .fmb file into linux enviroment and compile it using frmcmp.sh userid=user/password@database module_type=form compile_all=yes module=form_name it gives following errors.
$> frmcmp.sh userid=odin/odin@ontw10g module_ty
pe=form compile_all=yes module=LOGIN_SCHERM
Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
Forms 10.1 (Form Compiler): Release - Production
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production
FRM-18108: Failed to load the following objects.
Source Module:ofgwebol.olb
Source Object: CGSO$CHAR_DO
Source Module:ofgwebol.olb
Source Object: CGSO$CHAR_DO
Source Module:ofgwebol.olb
Source Object: CGSO$BLOCK
Source Module:ofgwebol.olb
Source Object: CGSO$CANVAS
Source Module:ofgwebol.olb
Source Object: CGSO$WINDOW
Compiling function CGTE$CHECK_CONSTRAINT_VIO...
No compilation errors.
Compiling procedure CGTE$INLOGGEN_ERRORS...
No compilation errors.
L/SQL ERROR 0 at line 17, column 3
Statement ignored
PL/SQL ERROR 201 at line 36, column 3
identifier 'CGNV$.NAV_CLOSE_FORMS' must be declared
PL/SQL ERROR 0 at line 36, column 3
Statement ignored
PL/SQL ERROR 201 at line 37, column 3
identifier 'CGNV$.NAV_OPENING_WND' must be declared
PL/SQL ERROR 0 at line 37, column 3
Statement ignored
Compiling KEY-HELP trigger on form...
No compilation errors.
Compiling WHEN-WINDOW-ACTIVATED trigger on form...
Compilation error on WHEN-WINDOW-ACTIVATED trigger on form:
PL/SQL ERROR 201 at line 6, column 8
identifier 'CGNV$GET_ITEM_WINDOW' must be declared
PL/SQL ERROR 0 at line 4, column 3
Statement ignored
Compiling POST-TEXT-ITEM trigger on form...
Compilation error on POST-TEXT-ITEM trigger on form:
PL/SQL ERROR 201 at line 4, column 3
identifier 'CGNV$.STORE_WND_ITEM' must be declared
PL/SQL ERROR 0 at line 4, column 3
Statement ignored
Compiling WHEN-WINDOW-CLOSED trigger on form...
Compilation error on WHEN-WINDOW-CLOSED trigger on form:
PL/SQL ERROR 201 at line 5, column 3
identifier 'CGNV$.TERMINATE_WINDOW' must be declared
PL/SQL ERROR 0 at line 5, column 3
Statement ignored
Compiling WHEN-FORM-NAVIGATE trigger on form...
Compilation error on WHEN-FORM-NAVIGATE trigger on form:
PL/SQL ERROR 201 at line 3, column 3
identifier 'CGNV$.REMOVE_CHILD_FORM' must be declared
PL/SQL ERROR 0 at line 3, column 3
Statement ignored
Compiling KEY-EXIT trigger on form...
Compilation error on KEY-EXIT trigger on form:
PL/SQL ERROR 201 at line 5, column 3
identifier 'CGNV$.NAV_ENTER_QUERY' must be declared
PL/SQL ERROR 0 at line 5, column 3
Statement ignored
PL/SQL ERROR 201 at line 9, column 5
identifier 'CGNV$.CLOSE_ALL_WINDOWS' must be declared
PL/SQL ERROR 0 at line 9, column 5
Statement ignored
Compiling KEY-CLRFRM trigger on form...
No compilation errors.
Compiling ON-ERROR trigger on INLOGGEN data block...
No compilation errors.
Compiling KEY-PREV-ITEM trigger on AGB_ID item in INLOGGEN data block...
Compilation error on KEY-PREV-ITEM trigger on AGB_ID item in INLOGGEN data block
PL/SQL ERROR 201 at line 4, column 3
identifier 'CGNV$GO_PREV_ITEM' must be declared
PL/SQL ERROR 0 at line 4, column 3
Statement ignored
Compiling KEY-NEXT-ITEM trigger on AGB_NAAM item in INLOGGEN data block...
Compilation error on KEY-NEXT-ITEM trigger on AGB_NAAM item in INLOGGEN data blo
ck:
PL/SQL ERROR 201 at line 4, column 3
identifier 'CGNV$GO_NEXT_ITEM' must be declared
PL/SQL ERROR 0 at line 4, column 3
Statement ignored
Compilation errors have occurred.
Form not created
I think some standard library are missing in Linux environment. But I do not know the name of them and neither I can find. Please suggest the what need to be done to resolve the problem. The reason I am compiling the form in Linux is that I can run the form in windows because of corrupted installation of OC4j.
Thanking you all much in advance.
Edited by: Deepank on Dec 2, 2008 1:49 AMDeepank-
When generating forms from Designer, Designer attaches libraries - like ofgmes.pll, ofgnavl.pll, etc. You will need to copy these libraries to the same directory where your forms reside on your Linux box. To find out what libraries ate attached to your form, open it on your windows PC after generating it from Designer and you will see the attached libraries. Also, watch out for the case-sensitivity of Linux. If you have the Designer libraries on your linux box and you still get errors, try changing the case of the names of the libraries.
Hope this helps,
Dan -
Revision: 10459
Author: [email protected]
Date: 2009-09-21 08:42:44 -0700 (Mon, 21 Sep 2009)
Log Message:
Change to ensure ScriptNodes are no longer part of the node tree after interface compilation stage in order to avoid the extra code that was necessary to avoid tripping over them during type checking, etc.
Improving revision 10199 a bit, to allow for single line comments.
QE notes: None
Doc notes: None
Bugs: SDK-22027
Reviewer: Paul
Tests run: Checking, Compiler cyclones
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-22027
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.javaIn general theory, one now has the Edit button for their posts, until someone/anyone Replies to it. I've had Edit available for weeks, as opposed to the old forum's ~ 30 mins.
That, however, is in theory. I've posted, and immediately seen something that needed editing, only to find NO Replies, yet the Edit button is no longer available, only seconds later. Still, in that same thread, I'd have the Edit button from older posts, to which there had also been no Replies even after several days/weeks. Found one that had to be over a month old, and Edit was still there.
Do not know the why/how of this behavior. At first, I thought that maybe there WAS a Reply, that "ate" my Edit button, but had not Refreshed on my screen. Refresh still showed no Replies, just no Edit either. In those cases, I just Reply and mention the [Edit].
Also, it seems that the buttons get very scrambled at times, and Refresh does not always clear that up. I end up clicking where I "think" the right button should be and hope for the best. Seems that when the buttons do bunch up they can appear at random around the page, often three atop one another, and maybe one way the heck out in left-field.
While I'm on a role, it would be nice to be able to switch between Flattened and Threaded Views on the fly. Each has a use, and having to go to Options and then come back down to the thread is a very slow process. Jive is probably incapable of this, but I can dream.
Hunt
Maybe you are looking for
-
Connecting a wii remote using bluetooth on a mac?
Is it possible to connect a mac to a wii remote but the problem is that although I can see the remote I can't connect because of a passkey and the remote can't just pair it. Do I need a program or would the built in bluetooth in Ma OS X do?
-
Numeric value to letter grade equivalent?
What formula would I enter if I wanted to convert a numeric value (summation or average) into a letter grade? For example, I would like to create a formula that would look at a numeric value, determine its range, and then assign a simple letter grade
-
Drop down list in Adobe : PCR Scenario
Dear Experts, I am struggling to get the drop down list in Aobe forms. The values are getting populated in the internal table in BADI. But the values not coming in drop down list. Could you please help me on this issue? Should i have to write script
-
HT201783 Why is the option to gift a single song not available on iOS?
I Think this is a serious oversight.
-
ATV and streaming libraries?
I have a fairly complex setup and I'm wondering how the ATV would fit in. I have a MacPro in my studio with all my music on it. This is connected to an Airport Extreme upstairs. I also have an Airport Express connected to it via ethernet which handle