You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Tom Chiverton <tc...@extravision.com> on 2014/07/31 13:58:30 UTC

error running mini_test - junit not found

I've not done this for a while, but mustella can't seem to find JUnit.
There's no 'import' for the JUnit classes either.
If it's expecting to automatically find ones already installed on my
system, should I install junit 3 or 4 packages ?

tchiverton@ev34:~/workspace/apache-flex-git/mustella$ ./mini_run.sh
tests/Validators
awk: program limit exceeded: sprintf buffer size=1020
        FILENAME="-" FNR=1 NR=1
Skipping testcase check
Doing a regular mini run
Buildfile: /home/tchiverton/workspace/apache-flex-git/mustella/build.xml
 [loadfile]
/home/tchiverton/workspace/apache-flex-git/mustella/local.properties
doesn't exist

cleanswfs:
...
compile-mustella:
     [echo] Compiling mustella source code...
    [javac]
/home/tchiverton/workspace/apache-flex-git/mustella/java/src/build.xml:79:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 9 source files to
/home/tchiverton/workspace/apache-flex-git/mustella/classes
    [javac]
/home/tchiverton/workspace/apache-flex-git/mustella/java/src/utils/CompcUtils.java:304:
error: package junit.framework does not exist
    [javac]                 junit.framework.Assert.fail("compc failed to
compile swc using these args: \n" + swc);
    [javac]                                ^
    [javac] 1 error


-- 
extravision Signature
*Tom Chiverton* | Lead Developer | Extravision
*T:* 0161 817 2922 | *W:* www.extravision.com
<http://www.extravision.com> | *T:* twitter.com/extravision
<http://twitter.com/extravision> | *E:* tchiverton@extravision.com
<ma...@extravision.com>
.
.
 A fresh approach to email marketing 

.
Registered in the UK at : 107 Timber Wharf, 33 Worsley Street,
Manchester, M15 4LD. Registration number: 05017214 VAT: GB 824 5386 19

Disclaimer: This e-mail is intended solely for the person to whom it is
addressed and may contain confidential or privileged information. If you
have received it in error please notify us immediately and destroy this
e-mail and any attachments. In addition, you must not disclose, copy,
distribute or take any action in reliance on this e-mail or any
attachments. Any views or opinions presented in this e-mail are solely
of the author and do not necessarily represent those of Extravision Ltd.
E-mail may be susceptible to data corruption, interception, unauthorised
amendment, viruses and delays or the consequences thereof. Accordingly,
this e-mail and any attachments are opened at your own risk.


Re: error running mini_test - junit not found

Posted by Tom Chiverton <tc...@extravision.com>.
Ahh, JUnit 3 is required. I'll stick it on the Wiki. Should have played
around for a little longer !

Tom

On 31/07/14 12:58, Tom Chiverton wrote:
> I've not done this for a while, but mustella can't seem to find JUnit.
> There's no 'import' for the JUnit classes either.
> If it's expecting to automatically find ones already installed on my
> system, should I install junit 3 or 4 packages ?
>
> tchiverton@ev34:~/workspace/apache-flex-git/mustella$ ./mini_run.sh
> tests/Validators
> awk: program limit exceeded: sprintf buffer size=1020
>         FILENAME="-" FNR=1 NR=1
> Skipping testcase check
> Doing a regular mini run
> Buildfile: /home/tchiverton/workspace/apache-flex-git/mustella/build.xml
>  [loadfile]
> /home/tchiverton/workspace/apache-flex-git/mustella/local.properties
> doesn't exist
>
> cleanswfs:
> ...
> compile-mustella:
>      [echo] Compiling mustella source code...
>     [javac]
> /home/tchiverton/workspace/apache-flex-git/mustella/java/src/build.xml:79:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 9 source files to
> /home/tchiverton/workspace/apache-flex-git/mustella/classes
>     [javac]
> /home/tchiverton/workspace/apache-flex-git/mustella/java/src/utils/CompcUtils.java:304:
> error: package junit.framework does not exist
>     [javac]                 junit.framework.Assert.fail("compc failed to
> compile swc using these args: \n" + swc);
>     [javac]                                ^
>     [javac] 1 error
>
>