You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/07/01 20:29:34 UTC
DO NOT REPLY [Bug 10381] New: -
Calls to subprojects lose all common properties
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10381>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10381
Calls to subprojects lose all common properties
Summary: Calls to subprojects lose all common properties
Product: Ant
Version: 1.5Beta3
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Blocker
Priority: Other
Component: Core tasks
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: damon.hill@valtech.com
I have a setup.xml file that is called to setup the common environment
variables for my project. I call this setup.xml from the main project and then
each subsequent subproject calls this setup as well. However, the problem
arises when I run the default target from my top level directory. The setup.xml
works fine in the top level however, the call to the first subproject fails due
to an appearant CLASSPATH issue that should be resolved in the setup.xml call.
example run:
ant (from top level)
error:
zeus:
[zeus] Processing 1 DTD
to /view/dhill_i4_dev/vobs/TURBO_source/turbo1/util/src
[zeus] Exception in thread "main" java.lang.NoClassDefFoundError:
org/enhydra/zeus/util/DTDSourceGenerator
If each subproject is ran from its own main directory, each default target call
operates correctly. The problem only arises when we call the subprojects.
The Zeus target in the setup.xml is this:
<!-- optional task to build zeus DTD object model -->
<taskdef name="zeus"
classname="com.swa.ant.taskdefs.ZEUS">
<classpath refid="project.tools.path"/>
</taskdef>
Echoing the classpath actually shows the zeus.jar file is being picked up
correctly.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>