Error: default arguments may not be interspersed with other options

compile:
[exec] Adobe ASDoc
[exec] Version 2.0.1 build 155542
[exec] Copyright (c) 2004-2006 Adobe Systems, Inc. All rights reserved.
[exec] command line: Error: default arguments may not be interspersed with other options
[exec] Use ‘asdoc -help’ for information about using the command line.

BUILD FAILED
C:Documents and SettingsJudahMy DocumentsFlex Builder 2DraggableLabelbuild.xml:57: exec returned: 1

Problem:
The path to some or all of the arguments contain spaces. The current version of asdocs.exe does not handle spaces.

Solution:
Right now the only solution is to move your project directory to path that does not contain spaces. You will also want to move the flex sdk folder to this folder as well.

[as]
// paths causing the error
C:Documents and SettingsJudahMy DocumentsFlex Builder 2my project
C:Program FilesAdobeFlex Builder 2Flex SDK 2

// path that works with asdocs
C:flexprojectsmyproject
C:flexprojectsflexcapacitorFlexSDK2
[/as]

Thanks to Jesse for his help in his post here.

[xml]

[/xml]

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s