Can you suggest IBM info center link to compile RTCz COBOL - DB2 program?
2 answers
If you're looking for information on how to define and set up your builds, I recommend reading through http://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.1/com.ibm.team.build.doc/topics/c_ee_z_aboutdepbuild.html?lang=en
But it sounds like you may have already set up your build definition. That antlib.xml error you mentioned sounds like you possibly have a mis-configured z/OS build system toolkit (e.g. in your script that starts up bfagent, does it set the environment variable BLD_TOOLKIT to the toolkit directory?). Try reading through http://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.1/com.ibm.jazz.install.doc/topics/t_install_build_toolkit.html?lang=en to see if you're missing anything.
Hi,
Thanks for your response.
When I set the ANT_HOME location, it took. Now it can load antlib.xml.
Now I am getting different error
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.
EXEC end "/rtc4/usr/lpp/jazz/v4.0.1"@"S0W1"
RESULT 1
Can you help me here.
Thanks, VIJI
Thanks for your response.
When I set the ANT_HOME location, it took. Now it can load antlib.xml.
Now I am getting different error
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.
EXEC end "/rtc4/usr/lpp/jazz/v4.0.1"@"S0W1"
RESULT 1
Can you help me here.
Thanks, VIJI
Comments
Can you paste the script you use to start bfagent? The only way I was able to get your error message was to set ANT_HOME to the wrong location. On my machine which uses 5.0.2 it's set to: /u/spadea/toolkit/usr/lpp/jazz/v5.0.2/buildsystem/buildengine/eclipse/plugins/org.apache.ant_1.7.1.v20100518-1145