incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Fesseler <ffesse...@kapit.fr>
Subject Re: Mustella code checked in to SVN
Date Mon, 07 May 2012 16:16:49 GMT
I'm not an expert about ant tasks but form what I understand :

- Mustella code is compiled from 'java/src' to 'classes'
- Some ant targets need taskdefs resulting from this compilation

In build.xml, line 1024 :
<taskdef name="getconfigidtask" classname="mustella.GetConfigIdTask"
classpathref="flex.test.classpath"/>
-> I can't find any mustella/GetConfigIdTask.class in 'classes' folder,
neither GetConfigIdTask.java in 'java/src'

In build.xml, line 1293 :
<taskdef name="namesToFile" classname="mustella.WriteFileNames"
classpathref="flex.test.classpath"/>
-> WriteFileNames.class exists (compiled from WriteFileNames.java)

I could be wrong but I feel some source code is missing.


2012/5/7 Florian Fesseler <ffesseler@kapit.fr>

> Hi Carol,
>
> includeantruntime was just a warning but thanks anyway for the link, the
> warning doesn't appear anymore.
>
> I had antcontrib already installed in the lib folder of the mustella
> directory. For me this error seems to indicate
> another jar is missing.
>
> 2012/5/7 Carol Frampton <cframpto@adobe.com>
>
>> A "google" turned up this:
>>
>>
>> http://stackoverflow.com/questions/5103384/ant-warning-includeantruntime-wa
>> s-not-set<http://stackoverflow.com/questions/5103384/ant-warning-includeantruntime-wa%0As-not-set>
>>
>>
>> I see another problem as well.  From the errors I see that mustalla
>> requires antcontrib which you don't have installed.  Alex will need to
>> update his wiki to include this requirement.  See
>> http://ant-contrib.sourceforge.net/
>>
>> Carol
>>
>>
>> On 5/7/12 8 :55AM, "Florian Fesseler" <ffesseler@kapit.fr> wrote:
>>
>> >Thanks Alex!
>> >
>> >Got this error when trying to launch the ant task though :
>> >
>> >
>> >/cygdrive/c/Users/user/FlexSDK/source/mustella
>> >> $ ant
>> >> Buildfile: C:\Users\user\FlexSDK\source\mustella\build.xml
>> >>      [echo] exclude file will be:
>> >> C:\Users\user\FlexSDK\source\mustella/tests/ExcludeListWin.txt
>> >>
>> >> clean:
>> >>      [echo] Deleting old results and files from previous testsuite
>> build
>> >>
>> >> handle_adt_jar:
>> >>
>> >> prepare:
>> >>      [echo] Preparing testsuite.
>> >>   [taskdef] Could not load definitions from resource
>> >> net/sf/antcontrib/antcontrib.properties. It could not be found.
>> >>
>> >> prepare:
>> >>      [echo] Creating build directory...
>> >>
>> >> compile-mustella:
>> >>      [echo] Compiling mustella source code...
>> >>     [javac]
>> C:\Users\user\FlexSDK\source\mustella\java\src\build.xml:75:
>> >> warning: 'includeantruntime' was not set, defaulting to
>> >> build.sysclasspath=last; set to false for repeatable builds
>> >>
>> >> get_date:
>> >>
>> >> get_os:
>> >>
>> >> setup_mac:
>> >>
>> >> setup_windows:
>> >>      [echo] doing windows setup
>> >>      [echo] homepath: C:\Users\user
>> >>      [echo] trace output file: 1 # Enables trace logging. 0/1
>> >>      [echo] apollo_exe: adl.exe
>> >>      [echo]  player is FlashPlayer.exe
>> >>
>> >> setup_linux:
>> >>
>> >> db_time:
>> >>      [echo] db_time=2012/05/07 14:51:11
>> >>
>> >> get_mobile_data:
>> >>
>> >> device_fail:
>> >>
>> >> handle_mobile_config:
>> >>
>> >> setup:
>> >>      [echo] fileset:
>> >>
>> >> cleanswfs:
>> >>
>> >> setbuildID:
>> >>      [echo] Target file was:
>> >> C:\Users\user\FlexSDK\source\mustella/successfulBuild.properties
>> >>      [echo] ${server}
>> >>
>> >> setHostName:
>> >>
>> >> getConfigId:
>> >>
>> >> BUILD FAILED
>> >> C:\Users\user\FlexSDK\source\mustella\build.xml:1024: taskdef class
>> >> mustella.GetConfigIdTask cannot be found
>> >>
>> >>
>> > Any idea what I'm doing wrong?
>>
>>
>
>
> --
>
> *Florian Fesseler*
> Architecte Flexhttp://lab.kapit.fr | http://www.kapit.fr(+33)1 70 56 91 51 | (+33)6 76
05 96 76
>
>
>


-- 

*Florian Fesseler*
Architecte Flexhttp://lab.kapit.fr | http://www.kapit.fr
(+33)1 70 56 91 51 | (+33)6 76 05 96 76

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message