Build Error " Dependency build will not work for the language definition "LINKEDIT" because it does not have DD allocations that are identified as outputs."
Hi,
I am using RTC on System z v4.0.1 and RTC client v 4.0.1. The build Engine of type Rational Build Agent
and Build Definition Typw - Ant Enterprise Extension Build Definition.
When I make Build Request, it was failed and the following exceptions I could see from build log
1.
Dependency build will not work for the language definition "LINKEDIT" because it does not have DD allocations that are identified as outputs.
Dependency build will not work for the language definition "COBOL" because it does not have DD allocations that are identified as outputs.
2.
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.tools.ant.launch.Launcher
* Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
* at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
* at java.lang.ClassLoader.loadClass(ClassLoader.java:677)
* at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
* at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
* Could not find the main class: org.apache.tools.ant.launch.Launcher. Program will exit
Can any one help me in completing this build request.
Thanks in Advance,
Viji
I am using RTC on System z v4.0.1 and RTC client v 4.0.1. The build Engine of type Rational Build Agent
and Build Definition Typw - Ant Enterprise Extension Build Definition.
When I make Build Request, it was failed and the following exceptions I could see from build log
1.
Dependency build will not work for the language definition "LINKEDIT" because it does not have DD allocations that are identified as outputs.
Dependency build will not work for the language definition "COBOL" because it does not have DD allocations that are identified as outputs.
2.
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.tools.ant.launch.Launcher
* Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
* at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
* at java.lang.ClassLoader.loadClass(ClassLoader.java:677)
* at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
* at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
* Could not find the main class: org.apache.tools.ant.launch.Launcher. Program will exit
Can any one help me in completing this build request.
Thanks in Advance,
Viji
Accepted answer
According to the 4.0.1 knowledge center, a dependency build requires a build definition type of either IBM i Dependency Build - Rational Build Agent or z/OS Dependency Build - Rational Build Agent, but you are using the Ant Enterprise Extension Build Definition. See http://www-01.ibm.com/support/knowledgecenter/SSYMRC_4.0.1/com.ibm.team.build.doc/topics/t_ee_z_depbuild.html