You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David Pratt <fa...@eastlink.ca> on 2008/01/24 16:37:16 UTC
Traceback when building ant from source
Hi. I am attempting to build ant from source. In my first go, I was not
aware the build would fail without junit. For second attempt I copied
the junit-4.4.jar and placed it into the /lib folder of the uncompressed
source. I believe this is where it is to go based on the instructions in
the ant manual. I am getting the following traceback when building. Can
someone provide any pointers to help resolve this issue. Many thanks.
Regards,
David
Warning: skipping jar archive
/private/tmp/tmpy_uzgF-buildout-ant/apache-ant-1.7.0/build/lib/ant-jdepend.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmpy_uzgF-buildout-ant/apache-ant-1.7.0/build/lib/ant-weblogic.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmpy_uzgF-buildout-ant/apache-ant-1.7.0/build/lib/ant-weblogic.jar
because no files were included.
compile-tests:
test-jar:
BUILD FAILED
/private/tmp/tmpy_uzgF-buildout-ant/apache-ant-1.7.0/build.xml:1105: The
following error occurred while executing this line:
/private/tmp/tmpy_uzgF-buildout-ant/apache-ant-1.7.0/build.xml:911: We
cannot build the test jar unless JUnit is present,
as JUnit is needed to compile the test classes.
Total time: 47 seconds
... Failed Building Ant Distribution !
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Traceback when building ant from source
Posted by David Pratt <fa...@eastlink.ca>.
Hi Peter and Steve. I downloaded junit-3.8.2 from sourceforge and copied
junit.jar to /lib in the uncompressed ant-1.7.0 source and ran build.sh
again. I believe I am doing what the manual what the manual is
instructing so would appreciate any guidance of what I may be missing.
The full traceback below. Many thanks.
Regards,
David
... Bootstrapping Ant Distribution
... Compiling Ant Classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
... Copying Required Files
... Building Ant Distribution
Buildfile: build.xml
bootstrap:
prepare:
check_for_optional_packages:
build:
Created dir: /private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib
Compiling 238 source files to
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Copying 4 files to
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/classes
Copying 2 files to
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/classes
Copying 2 files to
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/classes/org/apache/tools/ant/taskdefs/optional/junit/xsl
jars:
Copying 5 files to
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build
Copying 1 file to /private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build
Building jar:
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-launcher.jar
Building jar:
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant.jar
Building jar:
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-bootstrap.jar
Building jar:
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-nodeps.jar
Building jar:
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-trax.jar
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-apache-resolver.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-apache-resolver.jar
because no files were included.
Building jar:
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-junit.jar
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-apache-regexp.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-apache-regexp.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-apache-oro.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-apache-oro.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-apache-bcel.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-apache-bcel.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-apache-log4j.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-apache-log4j.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-commons-logging.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-commons-logging.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-apache-bsf.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-apache-bsf.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-stylebook.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-stylebook.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-javamail.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-javamail.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-netrexx.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-netrexx.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-commons-net.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-commons-net.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-starteam.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-starteam.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-antlr.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-antlr.jar
because no files were included.
Building jar:
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-jmf.jar
Building jar:
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-jai.jar
Building jar:
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-swing.jar
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-jsch.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-jsch.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-jdepend.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-jdepend.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-weblogic.jar
because no files were included.
Warning: skipping jar archive
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build/lib/ant-weblogic.jar
because no files were included.
compile-tests:
test-jar:
BUILD FAILED
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build.xml:1105: The
following error occurred while executing this line:
/private/tmp/tmp8qGrFN-buildout-ant/apache-ant-1.7.0/build.xml:911: We
cannot build the test jar unless JUnit is present,
as JUnit is needed to compile the test classes.
Total time: 54 seconds
... Failed Building Ant Distribution !
Bootstrap FAILED
While:
Installing ant.
Peter Reilly wrote:
> On Jan 24, 2008 3:46 PM, Steve Loughran <st...@apache.org> wrote:
>> David Pratt wrote:
>>> Hi. I am attempting to build ant from source. In my first go, I was not
>>> aware the build would fail without junit. For second attempt I copied
>>> the junit-4.4.jar and placed it into the /lib folder of the uncompressed
>>> source. I believe this is where it is to go based on the instructions in
>>> the ant manual. I am getting the following traceback when building. Can
>>> someone provide any pointers to help resolve this issue. Many thanks.
>>>
>>
>> 1. use junit 3.8.x, not the 4.x branch
>> 2. use build.bat or build.sh to build
>
> manual entry:
> http://ant.apache.org/manual/install.html#buildingant
>
> Peter
>> --
>> Steve Loughran http://www.1060.org/blogxter/publish/5
>> Author: Ant in Action http://antbook.org/
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Traceback when building ant from source
Posted by Peter Reilly <pe...@gmail.com>.
On Jan 24, 2008 3:46 PM, Steve Loughran <st...@apache.org> wrote:
> David Pratt wrote:
> > Hi. I am attempting to build ant from source. In my first go, I was not
> > aware the build would fail without junit. For second attempt I copied
> > the junit-4.4.jar and placed it into the /lib folder of the uncompressed
> > source. I believe this is where it is to go based on the instructions in
> > the ant manual. I am getting the following traceback when building. Can
> > someone provide any pointers to help resolve this issue. Many thanks.
> >
>
>
> 1. use junit 3.8.x, not the 4.x branch
> 2. use build.bat or build.sh to build
manual entry:
http://ant.apache.org/manual/install.html#buildingant
Peter
> --
> Steve Loughran http://www.1060.org/blogxter/publish/5
> Author: Ant in Action http://antbook.org/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Traceback when building ant from source
Posted by Steve Loughran <st...@apache.org>.
David Pratt wrote:
> Hi. I am attempting to build ant from source. In my first go, I was not
> aware the build would fail without junit. For second attempt I copied
> the junit-4.4.jar and placed it into the /lib folder of the uncompressed
> source. I believe this is where it is to go based on the instructions in
> the ant manual. I am getting the following traceback when building. Can
> someone provide any pointers to help resolve this issue. Many thanks.
>
1. use junit 3.8.x, not the 4.x branch
2. use build.bat or build.sh to build
--
Steve Loughran http://www.1060.org/blogxter/publish/5
Author: Ant in Action http://antbook.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org