Skip to content

Commit d33aee1

Browse files
committed
Removed header license for batch xml files.
The licensing is now referenced in the LICENSE file in the root of the project.
1 parent a3201a7 commit d33aee1

File tree

28 files changed

+54
-1134
lines changed

28 files changed

+54
-1134
lines changed

LICENSE

+27
Original file line numberDiff line numberDiff line change
@@ -373,3 +373,30 @@ batch/multiple-steps/src/main/java/org/javaee7/batch/multiple/steps/MyOutputReco
373373
batch/split/src/main/java/org/javaee7/batch/split/MyBatchlet1.java
374374
batch/split/src/main/java/org/javaee7/batch/split/MyBatchlet2.java
375375
batch/split/src/main/java/org/javaee7/batch/split/MyBatchlet3.java
376+
batch/batch-listeners/src/main/resources/META-INF/batch-jobs/myJob.xml
377+
batch/batch-listeners/src/main/webapp/WEB-INF/beans.xml
378+
batch/batchlet-simple/src/main/resources/META-INF/batch-jobs/myJob.xml
379+
batch/batchlet-simple/src/main/webapp/WEB-INF/beans.xml
380+
batch/chunk-checkpoint/src/main/resources/META-INF/batch-jobs/myJob.xml
381+
batch/chunk-checkpoint/src/main/webapp/WEB-INF/beans.xml
382+
batch/chunk-csv-database/src/main/resources/META-INF/batch-jobs/myJob.xml
383+
batch/chunk-csv-database/src/main/webapp/WEB-INF/beans.xml
384+
batch/chunk-exception/src/main/resources/META-INF/batch-jobs/myJob.xml
385+
batch/chunk-exception/src/main/webapp/WEB-INF/beans.xml
386+
batch/chunk-mapper/src/main/resources/META-INF/batch-jobs/myJob.xml
387+
batch/chunk-mapper/src/main/webapp/WEB-INF/beans.xml
388+
batch/chunk-optional-processor/src/main/resources/META-INF/batch-jobs/myJob.xml
389+
batch/chunk-optional-processor/src/main/webapp/WEB-INF/beans.xml
390+
batch/chunk-partition/src/main/resources/META-INF/batch-jobs/myJob.xml
391+
batch/chunk-partition/src/main/webapp/WEB-INF/beans.xml
392+
batch/chunk-simple-nobeans/src/main/resources/META-INF/batch-jobs/myJob.xml
393+
batch/chunk-simple/src/main/resources/META-INF/batch-jobs/myJob.xml
394+
batch/chunk-simple/src/main/webapp/WEB-INF/beans.xml
395+
batch/decision/src/main/resources/META-INF/batch-jobs/myJob.xml
396+
batch/decision/src/main/webapp/WEB-INF/beans.xml
397+
batch/flow/src/main/resources/META-INF/batch-jobs/myJob.xml
398+
batch/flow/src/main/webapp/WEB-INF/beans.xml
399+
batch/multiple-steps/src/main/resources/META-INF/batch-jobs/myJob.xml
400+
batch/multiple-steps/src/main/webapp/WEB-INF/beans.xml
401+
batch/split/src/main/resources/META-INF/batch-jobs/myJob.xml
402+
batch/split/src/main/webapp/WEB-INF/beans.xml

batch/batch-listeners/src/main/resources/META-INF/batch-jobs/myJob.xml

+1-42
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,4 @@
1-
<!--
2-
/*
3-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4-
*
5-
* Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
6-
*
7-
* The contents of this file are subject to the terms of either the GNU
8-
* General Public License Version 2 only ("GPL") or the Common Development
9-
* and Distribution License("CDDL") (collectively, the "License"). You
10-
* may not use this file except in compliance with the License. You can
11-
* obtain a copy of the License at
12-
* https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
13-
* or packager/legal/LICENSE.txt. See the License for the specific
14-
* language governing permissions and limitations under the License.
15-
*
16-
* When distributing the software, include this License Header Notice in each
17-
* file and include the License file at packager/legal/LICENSE.txt.
18-
*
19-
* GPL Classpath Exception:
20-
* Oracle designates this particular file as subject to the "Classpath"
21-
* exception as provided by Oracle in the GPL Version 2 section of the License
22-
* file that accompanied this code.
23-
*
24-
* Modifications:
25-
* If applicable, add the following below the License Header, with the fields
26-
* enclosed by brackets [] replaced by your own identifying information:
27-
* "Portions Copyright [year] [name of copyright owner]"
28-
*
29-
* Contributor(s):
30-
* If you wish your version of this file to be governed by only the CDDL or
31-
* only the GPL Version 2, indicate your decision by adding "[Contributor]
32-
* elects to include this software in this distribution under the [CDDL or GPL
33-
* Version 2] license." If you don't indicate a single choice of license, a
34-
* recipient has the option to distribute your version of this file under
35-
* either the CDDL, the GPL Version 2 or to extend the choice of license to
36-
* its licensees as provided above. However, if you add GPL Version 2 code
37-
* and therefore, elected the GPL Version 2 license, then the option applies
38-
* only if the new code is made subject to such option by the copyright
39-
* holder.
40-
*/
41-
-->
42-
1+
<?xml version="1.0" encoding="UTF-8"?>
432
<job id="myJob" xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
443
<listeners>
454
<listener ref="myJobListener"/>
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--
3-
/*
4-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5-
*
6-
* Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved.
7-
*
8-
* The contents of this file are subject to the terms of either the GNU
9-
* General Public License Version 2 only ("GPL") or the Common Development
10-
* and Distribution License("CDDL") (collectively, the "License"). You
11-
* may not use this file except in compliance with the License. You can
12-
* obtain a copy of the License at
13-
* https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
14-
* or packager/legal/LICENSE.txt. See the License for the specific
15-
* language governing permissions and limitations under the License.
16-
*
17-
* When distributing the software, include this License Header Notice in each
18-
* file and include the License file at packager/legal/LICENSE.txt.
19-
*
20-
* GPL Classpath Exception:
21-
* Oracle designates this particular file as subject to the "Classpath"
22-
* exception as provided by Oracle in the GPL Version 2 section of the License
23-
* file that accompanied this code.
24-
*
25-
* Modifications:
26-
* If applicable, add the following below the License Header, with the fields
27-
* enclosed by brackets [] replaced by your own identifying information:
28-
* "Portions Copyright [year] [name of copyright owner]"
29-
*
30-
* Contributor(s):
31-
* If you wish your version of this file to be governed by only the CDDL or
32-
* only the GPL Version 2, indicate your decision by adding "[Contributor]
33-
* elects to include this software in this distribution under the [CDDL or GPL
34-
* Version 2] license." If you don't indicate a single choice of license, a
35-
* recipient has the option to distribute your version of this file under
36-
* either the CDDL, the GPL Version 2 or to extend the choice of license to
37-
* its licensees as provided above. However, if you add GPL Version 2 code
38-
* and therefore, elected the GPL Version 2 license, then the option applies
39-
* only if the new code is made subject to such option by the copyright
40-
* holder.
41-
*/
42-
-->
432
<beans
443
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
454
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
465
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
476
http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd"
487
bean-discovery-mode="all">
49-
</beans>
8+
</beans>

batch/batchlet-simple/src/main/resources/META-INF/batch-jobs/myJob.xml

+1-42
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,4 @@
1-
<!--
2-
/*
3-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4-
*
5-
* Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
6-
*
7-
* The contents of this file are subject to the terms of either the GNU
8-
* General Public License Version 2 only ("GPL") or the Common Development
9-
* and Distribution License("CDDL") (collectively, the "License"). You
10-
* may not use this file except in compliance with the License. You can
11-
* obtain a copy of the License at
12-
* https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
13-
* or packager/legal/LICENSE.txt. See the License for the specific
14-
* language governing permissions and limitations under the License.
15-
*
16-
* When distributing the software, include this License Header Notice in each
17-
* file and include the License file at packager/legal/LICENSE.txt.
18-
*
19-
* GPL Classpath Exception:
20-
* Oracle designates this particular file as subject to the "Classpath"
21-
* exception as provided by Oracle in the GPL Version 2 section of the License
22-
* file that accompanied this code.
23-
*
24-
* Modifications:
25-
* If applicable, add the following below the License Header, with the fields
26-
* enclosed by brackets [] replaced by your own identifying information:
27-
* "Portions Copyright [year] [name of copyright owner]"
28-
*
29-
* Contributor(s):
30-
* If you wish your version of this file to be governed by only the CDDL or
31-
* only the GPL Version 2, indicate your decision by adding "[Contributor]
32-
* elects to include this software in this distribution under the [CDDL or GPL
33-
* Version 2] license." If you don't indicate a single choice of license, a
34-
* recipient has the option to distribute your version of this file under
35-
* either the CDDL, the GPL Version 2 or to extend the choice of license to
36-
* its licensees as provided above. However, if you add GPL Version 2 code
37-
* and therefore, elected the GPL Version 2 license, then the option applies
38-
* only if the new code is made subject to such option by the copyright
39-
* holder.
40-
*/
41-
-->
42-
1+
<?xml version="1.0" encoding="UTF-8"?>
432
<job id="myJob" xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
443
<step id="myStep" >
454
<batchlet ref="myBatchlet"/>
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--
3-
/*
4-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5-
*
6-
* Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved.
7-
*
8-
* The contents of this file are subject to the terms of either the GNU
9-
* General Public License Version 2 only ("GPL") or the Common Development
10-
* and Distribution License("CDDL") (collectively, the "License"). You
11-
* may not use this file except in compliance with the License. You can
12-
* obtain a copy of the License at
13-
* https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
14-
* or packager/legal/LICENSE.txt. See the License for the specific
15-
* language governing permissions and limitations under the License.
16-
*
17-
* When distributing the software, include this License Header Notice in each
18-
* file and include the License file at packager/legal/LICENSE.txt.
19-
*
20-
* GPL Classpath Exception:
21-
* Oracle designates this particular file as subject to the "Classpath"
22-
* exception as provided by Oracle in the GPL Version 2 section of the License
23-
* file that accompanied this code.
24-
*
25-
* Modifications:
26-
* If applicable, add the following below the License Header, with the fields
27-
* enclosed by brackets [] replaced by your own identifying information:
28-
* "Portions Copyright [year] [name of copyright owner]"
29-
*
30-
* Contributor(s):
31-
* If you wish your version of this file to be governed by only the CDDL or
32-
* only the GPL Version 2, indicate your decision by adding "[Contributor]
33-
* elects to include this software in this distribution under the [CDDL or GPL
34-
* Version 2] license." If you don't indicate a single choice of license, a
35-
* recipient has the option to distribute your version of this file under
36-
* either the CDDL, the GPL Version 2 or to extend the choice of license to
37-
* its licensees as provided above. However, if you add GPL Version 2 code
38-
* and therefore, elected the GPL Version 2 license, then the option applies
39-
* only if the new code is made subject to such option by the copyright
40-
* holder.
41-
*/
42-
-->
432
<beans
443
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
454
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
465
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
476
http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd"
487
bean-discovery-mode="all">
49-
</beans>
8+
</beans>

batch/chunk-checkpoint/src/main/resources/META-INF/batch-jobs/myJob.xml

+1-42
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,4 @@
1-
<!--
2-
/*
3-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4-
*
5-
* Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
6-
*
7-
* The contents of this file are subject to the terms of either the GNU
8-
* General Public License Version 2 only ("GPL") or the Common Development
9-
* and Distribution License("CDDL") (collectively, the "License"). You
10-
* may not use this file except in compliance with the License. You can
11-
* obtain a copy of the License at
12-
* https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
13-
* or packager/legal/LICENSE.txt. See the License for the specific
14-
* language governing permissions and limitations under the License.
15-
*
16-
* When distributing the software, include this License Header Notice in each
17-
* file and include the License file at packager/legal/LICENSE.txt.
18-
*
19-
* GPL Classpath Exception:
20-
* Oracle designates this particular file as subject to the "Classpath"
21-
* exception as provided by Oracle in the GPL Version 2 section of the License
22-
* file that accompanied this code.
23-
*
24-
* Modifications:
25-
* If applicable, add the following below the License Header, with the fields
26-
* enclosed by brackets [] replaced by your own identifying information:
27-
* "Portions Copyright [year] [name of copyright owner]"
28-
*
29-
* Contributor(s):
30-
* If you wish your version of this file to be governed by only the CDDL or
31-
* only the GPL Version 2, indicate your decision by adding "[Contributor]
32-
* elects to include this software in this distribution under the [CDDL or GPL
33-
* Version 2] license." If you don't indicate a single choice of license, a
34-
* recipient has the option to distribute your version of this file under
35-
* either the CDDL, the GPL Version 2 or to extend the choice of license to
36-
* its licensees as provided above. However, if you add GPL Version 2 code
37-
* and therefore, elected the GPL Version 2 license, then the option applies
38-
* only if the new code is made subject to such option by the copyright
39-
* holder.
40-
*/
41-
-->
42-
1+
<?xml version="1.0" encoding="UTF-8"?>
432
<job id="myJob" xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
443
<step id="myStep" >
454
<chunk checkpoint-policy="custom">
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--
3-
/*
4-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5-
*
6-
* Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved.
7-
*
8-
* The contents of this file are subject to the terms of either the GNU
9-
* General Public License Version 2 only ("GPL") or the Common Development
10-
* and Distribution License("CDDL") (collectively, the "License"). You
11-
* may not use this file except in compliance with the License. You can
12-
* obtain a copy of the License at
13-
* https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
14-
* or packager/legal/LICENSE.txt. See the License for the specific
15-
* language governing permissions and limitations under the License.
16-
*
17-
* When distributing the software, include this License Header Notice in each
18-
* file and include the License file at packager/legal/LICENSE.txt.
19-
*
20-
* GPL Classpath Exception:
21-
* Oracle designates this particular file as subject to the "Classpath"
22-
* exception as provided by Oracle in the GPL Version 2 section of the License
23-
* file that accompanied this code.
24-
*
25-
* Modifications:
26-
* If applicable, add the following below the License Header, with the fields
27-
* enclosed by brackets [] replaced by your own identifying information:
28-
* "Portions Copyright [year] [name of copyright owner]"
29-
*
30-
* Contributor(s):
31-
* If you wish your version of this file to be governed by only the CDDL or
32-
* only the GPL Version 2, indicate your decision by adding "[Contributor]
33-
* elects to include this software in this distribution under the [CDDL or GPL
34-
* Version 2] license." If you don't indicate a single choice of license, a
35-
* recipient has the option to distribute your version of this file under
36-
* either the CDDL, the GPL Version 2 or to extend the choice of license to
37-
* its licensees as provided above. However, if you add GPL Version 2 code
38-
* and therefore, elected the GPL Version 2 license, then the option applies
39-
* only if the new code is made subject to such option by the copyright
40-
* holder.
41-
*/
42-
-->
432
<beans
443
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
454
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
465
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
476
http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd"
487
bean-discovery-mode="all">
49-
</beans>
8+
</beans>

batch/chunk-csv-database/src/main/resources/META-INF/batch-jobs/myJob.xml

+1-42
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,4 @@
1-
<!--
2-
/*
3-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4-
*
5-
* Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
6-
*
7-
* The contents of this file are subject to the terms of either the GNU
8-
* General Public License Version 2 only ("GPL") or the Common Development
9-
* and Distribution License("CDDL") (collectively, the "License"). You
10-
* may not use this file except in compliance with the License. You can
11-
* obtain a copy of the License at
12-
* https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
13-
* or packager/legal/LICENSE.txt. See the License for the specific
14-
* language governing permissions and limitations under the License.
15-
*
16-
* When distributing the software, include this License Header Notice in each
17-
* file and include the License file at packager/legal/LICENSE.txt.
18-
*
19-
* GPL Classpath Exception:
20-
* Oracle designates this particular file as subject to the "Classpath"
21-
* exception as provided by Oracle in the GPL Version 2 section of the License
22-
* file that accompanied this code.
23-
*
24-
* Modifications:
25-
* If applicable, add the following below the License Header, with the fields
26-
* enclosed by brackets [] replaced by your own identifying information:
27-
* "Portions Copyright [year] [name of copyright owner]"
28-
*
29-
* Contributor(s):
30-
* If you wish your version of this file to be governed by only the CDDL or
31-
* only the GPL Version 2, indicate your decision by adding "[Contributor]
32-
* elects to include this software in this distribution under the [CDDL or GPL
33-
* Version 2] license." If you don't indicate a single choice of license, a
34-
* recipient has the option to distribute your version of this file under
35-
* either the CDDL, the GPL Version 2 or to extend the choice of license to
36-
* its licensees as provided above. However, if you add GPL Version 2 code
37-
* and therefore, elected the GPL Version 2 license, then the option applies
38-
* only if the new code is made subject to such option by the copyright
39-
* holder.
40-
*/
41-
-->
42-
1+
<?xml version="1.0" encoding="UTF-8"?>
432
<job id="myJob" xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
443
<step id="myStep" >
454
<chunk item-count="3">

0 commit comments

Comments
 (0)