If you're setting configuration file like "-load-config papervision.xml" it
replaces default flex-config.xml, thus you should specify path to the
framework libraries. Something like
<compiler>
<external-library-path>
<path-element>C:/Program Files/Adobe/Flex Builder 2 Plug-in/Flex SDK
2/frameworks/libs</path-element>
</external-library-path>
</compiler>

But it seems to me that in general the best way is to use your configuration
file appended to default configuration, e.g. compc -load-config+=
papervision.xml. It should solve you problems without additional explicit
properties specification.

R.

On 5/5/07, Alisdair Mills <[EMAIL PROTECTED]> wrote:

  Hi,

I'm having difficulty getting compc to compile a swc. from the command
line I'm doing "compc -load-config papervision.xml" which uses the
following xml...

<?xml version="1.0"?>
<flex-config xmlns="http://www.adobe.com/2006/flex-config";>
<output>Papervision.swc</output>
<compiler>
<source-path>
<path-element>.</path-element>
</source-path>
</compiler>
<include-classes>
<class>org.papervision3d.Papervision3D</class>
</include-classes>
</flex-config>

but when I run it i get the following error...

Papervision/org/papervision3d/Papervision3D.as(1): col: 1 Error: The
definition of base class Object was not found.

Any ideas as to where I'm going wrong? Thanks in advance for any help.

cheers, Al

Reply via email to