Hi Christophe,

Thank you very much ... that helped - and I am one step closer to a documentation. But now I'm stuck at another point.

Error: [...] "/asdoc/templates/asDocHelper: cannot execute"

asDocHelper is a compiled binary (java ?) ... and I couln't find any useful information.

Thank's again for the help so far ... _rico

I'm running OS X 10.5 Flex 3.

On 10.12.2007, at 14:01, Christophe Herreman wrote:

Hi,

check the -external-library-path option.

Here's a snippet from an ant build file we have:

<exec dir="." executable="${FLEX_HOME}/bin

/asdoc.exe" failonerror="true">
            <arg line="-doc-sources .
                -source-path+=.
                -window-title 'Salto backend'
                -output ${asdoc.dir}
                -main-title 'Salto Backend'
                -footer 'Salto Backend'
                -external-library-path+=lib
                -show-binding-warnings=false
                -show-actionscript-warnings=false" />
        </exec>

regards,
Christophe

---
Christophe Herreman
http://www.herrodius.com
http://www.pranaframework.org


2007/12/10, Christophe Herreman < [EMAIL PROTECTED]>:
Hi,

check the -external-library-path option.

Here's a snippet from an ant build file we have:

<exec dir="." executable="${FLEX_HOME}/bin/asdoc.exe" failonerror="true">
            <arg line="-doc-sources .
                -source-path+=.
                -window-title 'Salto backend'
                -output ${asdoc.dir}
                -main-title 'Salto Backend'
                -footer 'Salto Backend'
                -external-library-path+=lib
                -show-binding-warnings=false
                -show-actionscript-warnings=false" />
        </exec>

regards,
Christophe

---
Christophe Herreman
http://www.herrodius.com
http://www.pranaframework.org

2007/12/10, Rico Leuthold <[EMAIL PROTECTED]>:
Hi,


I already have the "-doc-sources" argument:

I'm changing to the project root directory and invoke asdoc like this: "asdoc -source-path . -doc-sources ."

... and the flexlib is in "./libs/flexlib". So, based on the documention providing "." as a "-doc-sources" or "-source-path" should recursive include all the files in and under the projects root directory.

I think the problem comes from the different namespaces, which should be defined somehow for flexlib but are already set up for the mx components.

_rico


On 07.12.2007, at 10:07, Christophe Herreman wrote:

have you tried using -doc-sources "path/to/project" instead of - source-path?

AFAIK you don't need to specify the libs you're using then.

regards,
Christophe

---
Christophe Herreman
http://www.herrodius.com
http://www.pranaframework.org


2007/12/7, Rico Leuthold < [EMAIL PROTECTED]>:

I already have the swc in the source-path. I'm running asdoc from the
root of the project folder like this: asdoc -source-path . -doc- sources.

thanks_rico


On 06.12.2007, at 16:14, Muzak wrote:

> Add the location of the flexlib swc to the -source-path parameter list
>
> asdoc -source-path "path/to/project" "path/to/flexlib" ...
>
>
> ----- Original Message -----
> From: "rleuthold" <[EMAIL PROTECTED]>
> To: < flexcoders @yahoogroups.com>
> Sent: Thursday, December 06, 2007 12:02 PM
> Subject: [flexcoders] AsDoc and libraries problem
>
>
> Hi,
>
> I want to run asdoc (from command line) for my project, but always
> getting an error cause of
> the flexlib components I'm using (Error: Could not resolve
> <flexlib:SuperTabNavigator> to a
> component implementation). Does somebody have an idea how to
> exclude the flexlib
> components when running asdoc ?
>
> thanx_rico
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/fle xcoders/files/ flexcodersFAQ.txt
> Search Archives:  http://www.mail-archive.com/flexcoders%
> 40yahoogroups.com
> Yahoo! Groups Links
>
>
>

...................................
Rico Leuthold
[EMAIL PROTECTED]
+41(0)76 512 05 50
...................................





-- Christophe Herreman
http://www.herrodius.com
http://www.pranaframework.org



...................................
Rico Leuthold
[EMAIL PROTECTED]
+41(0)76 512 05 50
...................................





--

Christophe Herreman
http://www.herrodius.com
http://www.pranaframework.org



--
Christophe Herreman
http://www.herrodius.com
http://www.pranaframework.org



...................................
Rico Leuthold
[EMAIL PROTECTED]
+41(0)76 512 05 50
...................................


Reply via email to