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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
