ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carpenter, James" <jacarpen...@ercot.com>
Subject test-jar target broken in source distrib
Date Tue, 23 Dec 2003 22:49:05 GMT
I am trying to write a custom ant task and was hoping to make use of Ant's junit test extensions.

According to Writing Tasks tutorial I need to run test-jar on the source distribution.  I
tried that and the build fails complaining about build\testcases not found.  I don't yet know
whats wrong, but thought I should give the development community a heads up as someone more
familar with the ant distribution than I may know the answer already.

On a side note, it sure would be nice if the binary distribution contained the test jar or
if it could at least be downloaded in precompiled form.

----------------------------------
The details (without debug) are below:

C:\workarea\javaapps\tools_unzipped\apache-ant-1.6.0-src>ant test-jar
Buildfile: build.xml

prepare:

check_for_optional_packages:

build:
    [mkdir] Created dir: C:\workarea\javaapps\tools_unzipped\apache-ant-1.6.0-src\build
    [mkdir] Created dir: C:\workarea\javaapps\tools_unzipped\apache-ant-1.6.0-src\build\classes
    [mkdir] Created dir: C:\workarea\javaapps\tools_unzipped\apache-ant-1.6.0-src\build\lib
    [javac] Compiling 525 source files to C:\workarea\javaapps\tools_unzipped\apache-ant-1.6.0-src\b
uild\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
     [copy] Copying 3 files to C:\workarea\javaapps\tools_unzipped\apache-ant-1.6.0-src\build\classe
s
     [copy] Copying 2 files to C:\workarea\javaapps\tools_unzipped\apache-ant-1.6.0-src\build\classe
s
     [copy] Copying 2 files to C:\workarea\javaapps\tools_unzipped\apache-ant-1.6.0-src\build\classe
s\org\apache\tools\ant\taskdefs\optional\junit\xsl

compile-tests:

test-jar:

BUILD FAILED
C:\workarea\javaapps\tools_unzipped\apache-ant-1.6.0-src\build.xml:874: C:\workarea\javaapps\tools_u
nzipped\apache-ant-1.6.0-src\build\testcases not found.

Total time: 34 seconds
C:\workarea\javaapps\tools_unzipped\apache-ant-1.6.0-src>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message