You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2015/10/24 03:06:11 UTC
[Bug 58531] New: Dependent Class load broken for Java
https://bz.apache.org/bugzilla/show_bug.cgi?id=58531
Bug ID: 58531
Summary: Dependent Class load broken for Java
Product: Ant
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
Assignee: notifications@ant.apache.org
Reporter: tom-apache@tomsaul.com
The issue occurs in a 'master' build script, that in turn invokes a number of
sub-builds using the ant task. Assuming we have the following
1) Lib X - a common Java class library (JAR) used by the others
2) App A - a Java class library that uses Lib X, built using its own build
script. Dependency on Lib X is explicitly included.
3) App B - a Java class library that uses Lib X, built using its own build
script. Dependency on Lib X was missed.
4) Master Build script
If the Master build script calls the Ant task for App A then App B all works as
expected. If the order is reversed (or if App B build is done directly) the
build fails because the Lib X class is not found in the load path.
The implication is that the class path for the build of App A is influencing
the build for App B, even though they don't really have anything in common
other than being called from the master script.
--
You are receiving this mail because:
You are the assignee for the bug.