It’s defined in the top level here:

    <target name="load-task" depends="runtime-setup">
        <!-- load the <mxmlc> task; we can't do this at the <project> level -->
        <!-- because targets that run before flexTasks.jar gets built would 
fail -->
        <taskdef resource="flexTasks.tasks" 
classpath="${basedir}/js/lib/compiler-royaleTasks.jar"/>
    </target>


and in asdocs here:

        <path id="flexTasks.path">
            <fileset dir="${ROYALE_HOME}">
                <include name="lib/royaleTasks.jar" />
                <include name="ant/lib/royaleTasks.jar" />
            </fileset>
        </path>
        <taskdef resource="flexTasks.tasks" classpathref="flexTasks.path"/>

but for some reason flexTasks.path has no value.

well, maybe it’s because royaleTasks.jar does not exist…

I’ll have to see if I can figure out what creates that.

> On Nov 28, 2021, at 3:26 PM, Andrew Wetmore <[email protected]> wrote:
> 
> We have a resource file called flexTasks? Or did it get renamed to
> something like royaleTasks and the script was not updated?
> 
> On Sun, Nov 28, 2021 at 9:10 AM Harbs <[email protected]> wrote:
> 
>> Yeah…
>> 
>> Harbss-Mac-mini:royale-asjs harbs$ ant asdoc
>> Buildfile: /Apache/royale-asjs/build.xml
>> 
>> asdoc:
>>     [echo] ROYALE_HOME = /Apache/royale-asjs
>>     [echo] royalelib = /Apache/royale-asjs/frameworks
>>     [echo] doc_output = /Apache/royale-asjs/asdoc-output
>>     [echo] compiler.source-path =
>> /Apache/royale-asjs/frameworks/projects/*/src/main/royale
>> 
>> clean:
>> 
>> doc:
>>  [taskdef] Could not load definitions from resource flexTasks.tasks. It
>> could not be found.
>> 
>> BUILD FAILED
>> /Apache/royale-asjs/build.xml:815: The following error occurred while
>> executing this line:
>> /Apache/royale-asjs/asdoc/build.xml:73: Problem: failed to create task or
>> type asdoc
>> Cause: The name is undefined.
>> Action: Check the spelling.
>> Action: Check that any custom tasks/types have been declared.
>> Action: Check that any <presetdef>/<macrodef> declarations have taken
>> place.
>> 
>>> On Nov 28, 2021, at 2:29 PM, Andrew Wetmore <[email protected]> wrote:
>>> 
>>> I see the build script here [1]. I presume you update the ASDoc files and
>>> then run this script. HOW you run this script, I do not know.
>>> 
>>> a
>>> 
>>> [1] https://github.com/apache/royale-asjs/blob/develop/asdoc/build.xml
>>> 
>>> On Sun, Nov 28, 2021 at 5:47 AM Harbs <[email protected]> wrote:
>>> 
>>>> I don’t see any docs on the docs… ;-)
>>>> 
>>>> I’d really like to work on this, but I’m not sure where to start.
>>>> 
>>>>> On Nov 15, 2021, at 4:03 PM, Andrew Wetmore <[email protected]>
>> wrote:
>>>>> 
>>>>> I think there is some, um, documentation on building ASDoc on the
>> wiki. I
>>>>> will go look.
>>>>> 
>>>>> a
>>>>> 
>>>>> On Mon, Nov 15, 2021 at 8:59 AM Harbs <[email protected]> wrote:
>>>>> 
>>>>>> I’m interested in improving the ASDoc app and info.
>>>>>> 
>>>>>> Some things I’m interested in (besides improving the look) is:
>>>>>> 1. Adding utility functions. Those seem to be missing.
>>>>>> 2. Release versioning.
>>>>>> 3. Add some top level info like XML.
>>>>>> 
>>>>>> Who understands how ASDoc builds work?
>>>>>> 
>>>>>> Thanks,
>>>>>> Harbs
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Andrew Wetmore
>>>>> 
>>>>> http://cottage14.blogspot.com/
>>>> 
>>>> 
>>> 
>>> --
>>> Andrew Wetmore
>>> 
>>> Editor, Moose House Publications <https://moosehousepress.com/>
>>> Editor-Writer, The Apache Software Foundation <https://apache.org/>
>> 
>> 
> 
> -- 
> Andrew Wetmore
> 
> Editor, Moose House Publications <https://moosehousepress.com/>
> Editor-Writer, The Apache Software Foundation <https://apache.org/>

Reply via email to