egl.cmd

This task executes the EGL commands.

Parameters

Attribute Description Required
cmdfile The command file. Yes
generationListenerClass String, the Java class name created by the EGL user which responds to events at the generation time.

To create a customized generation listener class, follow these steps:

  1. Create a Fragment project with Eclipse or RBD and set the host plug-in to com.ibm.etools.edt.ant.
  2. Create your generation listener class implements GenerationResultsListener.
  3. Export the plug-in fragment. Right click the project, click Export > Deployable plug-ins and fragments.
  4. Copy the .jar file to the dropins folder of the RBD installation directory.
  5. Restart RBD with the -clean option. Ensure that the listener fragment jar is picked up by RBD.

See Writing Java code to capture details of code generation for all the generation events and how to implement GenerationResultsListener.

No
failOnError Whether or not the build should fail if there is an error. No, the default is true.
verbose If true, show all the logs. If false, only show important logs. No, the default is true.

Feedback