-
Task
-
Resolution: Done
-
Major
-
1.3.0.Beta7
-
None
Some job xml files do not contain the complete schema declaration, which has caused warnings in IDE. Some IDE (e.g., IntelliJ) underlines these as error and cannot perform xml element/attribute completion.
Note that these job xml files in their current form are completely valid, and are quite concise. The purpose of this task is to make them more tool-friendly and more descriptive.
An example of such a complete job xml file:
<?xml version="1.0" encoding="UTF-8"?> <job id="cassandraInject" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/jobXML_1_0.xsd" version="1.0"> <step id="cassandraInject.step1"> <chunk> <reader ref="cassandraItemReader"> <properties> <property name="cql" value="#{jobParameters['cql']}"/> <property name="beanType" value="#{jobParameters['beanType']}"/> </properties> </reader> <writer ref="mockItemWriter"/> </chunk> </step> </job>