You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Albretch Mueller <lb...@gmail.com> on 2012/04/30 21:47:01 UTC

tomcat deps on ant which deps on junit ... BUILD FAILED

~
 While trying to install tomcat-7.0.27 it tells me install ant, which
tells me to install junit and then you get:
~
 Has anyone dealt with those issues?
~
 lbrtchx
~
$ git clone https://github.com/KentBeck/junit.git >
"/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/junit/REF/junit.git_"$_DT".inst_build.log"
2>&1
$ cd junit
$ ant -verbose dist

BUILD FAILED
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/junit/junit/build.xml:191:
The following error occurred while executing this line:
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/junit/junit/build.xml:179:
Java returned: 1
	at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.Main.runBuild(Main.java:809)
	at org.apache.tools.ant.Main.startAnt(Main.java:217)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 25 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat deps on ant which deps on junit ... BUILD FAILED

Posted by Albretch Mueller <lb...@gmail.com>.
 For the record, I should have specified I am using:
~
$ uname -a
Linux Microknoppix 3.0.4 #12 SMP PREEMPT Thu Sep 8 05:27:05 CEST 2011
i686 GNU/Linux
~
 lbrtchx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat deps on ant which deps on junit ... BUILD FAILED

Posted by Mark Eggers <it...@yahoo.com>.
----- Original Message -----

> From: Albretch Mueller <lb...@gmail.com>
> To: Tomcat Users List <us...@tomcat.apache.org>
> Cc: 
> Sent: Monday, April 30, 2012 4:07 PM
> Subject: Re: tomcat deps on ant which deps on junit ... BUILD FAILED
> 
>>  Exactly what Tomcat distribution (and from where) are you trying to 
> install?
> ~
> Well, I got the source code from:
> ~
> http://apache.claz.org/tomcat/tomcat-7/v7.0.27/src/apache-tomcat-7.0.27-src.tar.gz
> ~
> and followed the build instructions
> ~
> lbrtchx


Well, that was fun . . . I've never built this on a Windows platform before.

1. Downloaded a copy of the source in zip format
2. Unpacked it
3. Copied build.properties.default to build.properties
4. Edited build.properties
   a. aimed the download repo area to something sensible
      C:\Users\mdeggers\src\tc7-repo
   b. Added the following lines so I wouldn't build the Windows installer
      # right after base.path
      # skipping windows installer
        skip.installer=true
5. Opened up a command window and changed to the proper directory
6. ant release

This took a little over 4 minutes running on a 3.2 GHz core duo with 6 GB memory and Windows 7 Home Premium. I'm using JDK 1.6.0_32 and Ant 1.8.3. I've not customized my Ant yet (with JUnit and XMLTask).

Worked fine for me.

. . . . just my two cents.
/mde/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat deps on ant which deps on junit ... BUILD FAILED

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Albrecht,

On 5/2/12 5:32 AM, Albretch Mueller wrote:
>> Any particular reason you are building from source?
> 
> I may need to work on the source, for example, TC's log valve. So I
>  want to make sure that my baseline compiled

Fair enough.

My release-testing script downloads, builds, and tests Tomcat 7 like
this (simplified, since my script is fairly complex):

$ wget ${BASE_URL}/${TOMCAT_SOURCE}
$ tar xzf ${TOMCAT_SOURCE}
$ cd ${TOMCAT_SOURCE_DIR}
$ echo "base.path=/place/to/store/downloads" \
  > "tarball/build.properties"
$ ant download-compile download-test-compile [might not be necessary]
$ ant test

At that point (well, several minutes later), you should have a
completely-tested source tree. Some of the tests may fail if you don't
have tcnative built. I'll leave it as an exercise for the reader to
figure out how to disable those tests (or build tcnative, which isn't
so hard).

If you want to build a deployable Tomcat so you can actually run it
(that is, build something that looks like CATALINA_HOME), you need to do:

$ ant deploy

Actually, "deploy" is the default target, so

$ ant

...should work.

> Also, why should you have a "particular reason" to build from
> source? ;-)

Some people think they must build Tomcat for some reason, even though
we package "binaries" that you can just use.

Happy hacking!

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+hSGcACgkQ9CaO5/Lv0PD90ACeLYgsNcYKqxRQnhkis3cIHOMJ
DekAoI1NqhY7slMaFLy0TbPXey8t7awk
=XHuG
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat deps on ant which deps on junit ... BUILD FAILED

Posted by Albretch Mueller <lb...@gmail.com>.
> Any particular reason you are building from source?
~
 I may need to work on the source, for example, TC's log valve. So I
want to make sure that my baseline compiled
~
 Also, why should you have a "particular reason" to build from source? ;-)
~
 lbrtchx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat deps on ant which deps on junit ... BUILD FAILED

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Albrecht,

On 4/30/12 7:07 PM, Albretch Mueller wrote:
>> Exactly what Tomcat distribution (and from where) are you trying 
>> to install?
> ~ Well, I got the source code from: ~ 
> http://apache.claz.org/tomcat/tomcat-7/v7.0.27/src/apache-tomcat-7.0.27-src.tar.gz
>
>
> 
~
> and followed the build instructions

Any particular reason you are building from source?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+f89UACgkQ9CaO5/Lv0PAhBwCaAumi06Y0oLSbybVVVEIHlYs6
wFcAoLa2x9SIWNHww8rh6JWFDNWdT8D9
=pfNu
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat deps on ant which deps on junit ... BUILD FAILED

Posted by Mark Eggers <it...@yahoo.com>.
Comment inline - search for ========= Comment ========


----- Original Message -----
> From: Albretch Mueller <lb...@gmail.com>
> To: Tomcat Users List <us...@tomcat.apache.org>
> Cc: 
> Sent: Monday, April 30, 2012 8:13 PM
> Subject: Re: tomcat deps on ant which deps on junit ... BUILD FAILED
> 
> Now, I think this error relates to java
> ~
> $ export _DT=`date +%Y%m%d%H%M%S`knoppix@Microknoppix:/media/sdb1/prjx
> $ ant -verbose -debug -f build.xml > 
> "apache-tomcat-7.0.27"$_DT".inst.log" 2>&1
> $ cat "apache-tomcat-7.0.27"$_DT".inst.log"
> Apache Ant(TM) version 1.8.2 compiled on May 19 2011
> Buildfile: 
> /media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
> Adding reference: ant.PropertyHelper
> Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
> Detected OS: Linux
> Adding reference: ant.ComponentHelper
> Setting ro project property: ant.file ->
> /media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
> Setting ro project property: ant.file.type -> file
> Adding reference: ant.projectHelper
> Adding reference: ant.parsing.context
> Adding reference: ant.targets
> parsing buildfile
> /media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
> with URI = 
> file:/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
> Setting ro project property: ant.project.name -> Tomcat 7.0
> Adding reference: Tomcat 7.0
> Setting ro project property: ant.project.default-target -> deploy
> Setting ro project property: ant.file.Tomcat 7.0 ->
> /media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
> Setting ro project property: ant.file.type.Tomcat 7.0 -> file
> Project base dir set to:
> /media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src
> +Target:
> ...
> build-manifests:
> Skipped because property 'manifests.uptodate' set.
> 
> build-tomcat-dbcp:
> fileset: Setup scanner in dir
> /media/sdb1/inst/sw/jdk/commons-pool-1.5.7-src with patternSet{
> includes: [**/*.java] excludes: [**/test/**] }
> fileset: Setup scanner in dir
> /media/sdb1/inst/sw/jdk/commons-dbcp-1.4-src with patternSet{
> includes: [**/*.java] excludes: [**/test/**, **/managed/**] }
>      [copy] src/java/org/apache/commons/pool/BaseKeyedObjectPool.java
> added as src/java/org/apache/commons/pool/BaseKeyedObjectPool.java
> doesn't exist.
> ...
>     [javac] javac: invalid target release: 1.7
>     [javac] Usage: javac <options> <source files>
>     [javac] use -help for a list of possible options

========= Comment ======== 

Did you change the following from this:

compile.source=1.6
compile.target=1.6
compile.debug=true

to something like this?

compile.source=1.6
compile.target=1.7
compile.debug=true

Or do you have a systems property set somewhere?

========= Comment ========  


>   [antcall] Exiting
> /media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml.
> 
> BUILD FAILED
> /media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml:2321:
> The following error occurred while executing this line:
> /media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml:2409:
> Compile failed; see the compiler error output for details.
>     at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1150)
>     at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:912)
>     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:616)
>     at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>     at org.apache.tools.ant.Task.perform(Task.java:348)
>     at org.apache.tools.ant.Target.execute(Target.java:390)
>     at org.apache.tools.ant.Target.performTasks(Target.java:411)
>     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
>     at 
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
>     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
>     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
>     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
>     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:616)
>     at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>     at org.apache.tools.ant.Task.perform(Task.java:348)
>     at org.apache.tools.ant.Target.execute(Target.java:390)
>     at org.apache.tools.ant.Target.performTasks(Target.java:411)
>     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
>     at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
>     at 
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
>     at org.apache.tools.ant.Main.runBuild(Main.java:809)
>     at org.apache.tools.ant.Main.startAnt(Main.java:217)
>     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
>     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
> 
> Total time: 3 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat deps on ant which deps on junit ... BUILD FAILED

Posted by Albretch Mueller <lb...@gmail.com>.
 Now, I think this error relates to java
~
$ export _DT=`date +%Y%m%d%H%M%S`knoppix@Microknoppix:/media/sdb1/prjx
$ ant -verbose -debug -f build.xml > "apache-tomcat-7.0.27"$_DT".inst.log" 2>&1
$ cat "apache-tomcat-7.0.27"$_DT".inst.log"
Apache Ant(TM) version 1.8.2 compiled on May 19 2011
Buildfile: /media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
Detected OS: Linux
Adding reference: ant.ComponentHelper
Setting ro project property: ant.file ->
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
Setting ro project property: ant.file.type -> file
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
with URI = file:/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
Setting ro project property: ant.project.name -> Tomcat 7.0
Adding reference: Tomcat 7.0
Setting ro project property: ant.project.default-target -> deploy
Setting ro project property: ant.file.Tomcat 7.0 ->
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml
Setting ro project property: ant.file.type.Tomcat 7.0 -> file
Project base dir set to:
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src
 +Target:
...
build-manifests:
Skipped because property 'manifests.uptodate' set.

build-tomcat-dbcp:
fileset: Setup scanner in dir
/media/sdb1/inst/sw/jdk/commons-pool-1.5.7-src with patternSet{
includes: [**/*.java] excludes: [**/test/**] }
fileset: Setup scanner in dir
/media/sdb1/inst/sw/jdk/commons-dbcp-1.4-src with patternSet{
includes: [**/*.java] excludes: [**/test/**, **/managed/**] }
     [copy] src/java/org/apache/commons/pool/BaseKeyedObjectPool.java
added as src/java/org/apache/commons/pool/BaseKeyedObjectPool.java
doesn't exist.
...
    [javac] javac: invalid target release: 1.7
    [javac] Usage: javac <options> <source files>
    [javac] use -help for a list of possible options
  [antcall] Exiting
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml.

BUILD FAILED
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml:2321:
The following error occurred while executing this line:
/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/tomcat/srcs/apache-tomcat-7.0.27-src/build.xml:2409:
Compile failed; see the compiler error output for details.
	at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1150)
	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:912)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.Main.runBuild(Main.java:809)
	at org.apache.tools.ant.Main.startAnt(Main.java:217)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 3 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat deps on ant which deps on junit ... BUILD FAILED

Posted by Mark Eggers <it...@yahoo.com>.
----- Original Message -----

> From: Albretch Mueller <lb...@gmail.com>
> To: Tomcat Users List <us...@tomcat.apache.org>
> Cc: 
> Sent: Monday, April 30, 2012 6:53 PM
> Subject: Re: tomcat deps on ant which deps on junit ... BUILD FAILED
> 
> ~
> I really don't know how to make sence of this, but ant does not
> appear to like symbolic links ...
> ~
> lbrtchx
> ~
> $ ls -l /usr/bin/ant
> lrwxrwxrwx 1 root root 20 Sep 13  2011 /usr/bin/ant -> ../share/ant/bin/ant
> 
> $ ls -lH /usr/bin/ant
> -rwxr-xr-x 1 root root 9903 May 19  2011 /usr/bin/ant
> 
> $ ls -l /usr/share/ant/bin/ant
> -rwxr-xr-x 1 root root 9903 May 19  2011 /usr/share/ant/bin/ant
> 
> $ ANT_HOME=/usr/share/ant
> $ export PATH=$ANT_HOME/bin:$PATH
> 
> $ ant -verbose -debug -Dtests.haltonfailure=false dist
> Apache Ant(TM) version 1.8.3 compiled on April 30 2012
> Trying the default build file: build.xml
> Buildfile: /media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/junit/junit/build.xml
> ...
>      [java] JUnit version 4.11-SNAPSHOT
>      [java] 
> .................................................................................................................................................................................................................................................................................................................I.I...........................................................................................................................................................................................I.........................................................................................................
>      [java] Time: 5.796
>      [java]
>      [java] OK (598 tests)
>      [java]
> 
> BUILD SUCCESSFUL
> Total time: 24 seconds


I use a soft link for ant on my Fedora system and Tomcat builds fine.

/mde/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat deps on ant which deps on junit ... BUILD FAILED

Posted by Albretch Mueller <lb...@gmail.com>.
~
 I really don't know how to make sence of this, but ant does not
appear to like symbolic links ...
~
 lbrtchx
~
$ ls -l /usr/bin/ant
lrwxrwxrwx 1 root root 20 Sep 13  2011 /usr/bin/ant -> ../share/ant/bin/ant

$ ls -lH /usr/bin/ant
-rwxr-xr-x 1 root root 9903 May 19  2011 /usr/bin/ant

$ ls -l /usr/share/ant/bin/ant
-rwxr-xr-x 1 root root 9903 May 19  2011 /usr/share/ant/bin/ant

$ ANT_HOME=/usr/share/ant
$ export PATH=$ANT_HOME/bin:$PATH

$ ant -verbose -debug -Dtests.haltonfailure=false dist
Apache Ant(TM) version 1.8.3 compiled on April 30 2012
Trying the default build file: build.xml
Buildfile: /media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/junit/junit/build.xml
...
     [java] JUnit version 4.11-SNAPSHOT
     [java] .................................................................................................................................................................................................................................................................................................................I.I...........................................................................................................................................................................................I.........................................................................................................
     [java] Time: 5.796
     [java]
     [java] OK (598 tests)
     [java]

BUILD SUCCESSFUL
Total time: 24 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat deps on ant which deps on junit ... BUILD FAILED

Posted by Albretch Mueller <lb...@gmail.com>.
> Exactly what Tomcat distribution (and from where) are you trying to install?
~
 Well, I got the source code from:
~
 http://apache.claz.org/tomcat/tomcat-7/v7.0.27/src/apache-tomcat-7.0.27-src.tar.gz
~
 and followed the build instructions
~
 lbrtchx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: tomcat deps on ant which deps on junit ... BUILD FAILED

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Albretch Mueller [mailto:lbrtchx@gmail.com] 
> Subject: tomcat deps on ant which deps on junit ... BUILD FAILED

> While trying to install tomcat-7.0.27 it tells me install ant

Exactly what Tomcat distribution (and from where) are you trying to install?  Since Tomcat is pure Java, just download, unzip or untar, and run it - assuming you're using a real Tomcat from tomcat.apache.org.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org