Should I try uninstalled Flex Builder 2 and reinstalling it? Has no
one ran into anything like this?

On Wed, Dec 2, 2009 at 1:05 PM, Greg Morphis <[email protected]> wrote:
> I need help when trying to compile a Flex 2 app with SSL using Ant I
> keep getting an error. I've Googled "Error: Unable to locate specified
> base class 'mx.core.Application' for component class 'index'"
> with not much help. I'm using Eclipse with Flex builder 2 lugin. Please help.
>
> Buildfile:
> C:\eclipseworkspace\flexdev\rrtbuilds\RetailForms.xml
>
> compileSSL:
> [java] Loading configuration file C:\Program Files\Adobe\Flex Builder
> 2 Plug-in\Flex SDK 2\frameworks\flex-config.xml
> [java] C:\Temp\RetailForms\index.mxml: Error: Unable to locate
> specified base class 'mx.core.Application' for component class
> 'index'.
> BUILD FAILED
>
> C:\eclipseworkspace\flexdev\rrtbuilds\RetailForms.xml:85: Java returned: 1
>
> Total time: 3 seconds
>
> Here's from the build file
>
> <!-- compile the actual project for SSL -->
> <target name="compileSSL" depends="" >
> <java jar="${mxmlcjar}"
> fork="true"
> failonerror="true"
> maxmemory="128m"
> dir="${flexsdk}\frameworks">
> <arg value="-local-fonts-snapshot=${flexsdk}\frameworks\winFonts.ser"/>
> <arg value="-load-config=${flexsdk}\frameworks\flex-config.xml"/>
> <arg value="-services=${flexservices}\ssl-services-config.xml" />
> <arg value="-include-libraries=${lib}\cairngorm.swc" />
> <arg value="-include-libraries+=${lib}\RRTUtilities.swc" />
> <arg value="-context-root=/" />
> <arg value="-output=${bin}\${flex.ouput_file}" />
> <arg value="-file-specs=${src}\${flex.src_file}"/>
> </java>
> </target>
>

Reply via email to