This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git

commit fcf9b5b8316146c50de2bd261b9cf0656a9c88d8
Author: Andy Seaborne <[email protected]>
AuthorDate: Tue Dec 31 13:46:06 2024 +0000

    GH-2902: Legacy entry points corresponding to jena-fuseki-fulljar
---
 .../java/org/apache/jena/fuseki/cmd/FusekiCmd.java | 32 ++++++++++++++++++++++
 .../apache/jena/fuseki/cmd/FusekiWebappCmd.java    | 32 ++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git 
a/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/cmd/FusekiCmd.java
 
b/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/cmd/FusekiCmd.java
new file mode 100644
index 0000000000..b3a434138a
--- /dev/null
+++ 
b/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/cmd/FusekiCmd.java
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jena.fuseki.cmd;
+
+import org.apache.jena.fuseki.main.cmds.FusekiServerCmd;
+
+/** This duplicates an entry point of Fuseki/webapp (jena-fuseki-fulljar) */
+@Deprecated(forRemoval = true)
+public class FusekiCmd {
+    /** This duplicates an entry point of Fuseki/webapp (jena-fuseki-fulljar) 
*/
+    public static void main(String... args) {
+        System.err.println("WARNING: Legacy entry point - use 
org.apache.jena.fuseki.main.cmds.FusekiServerCmd");
+        FusekiServerCmd.main(args);
+    }
+
+}
diff --git 
a/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/cmd/FusekiWebappCmd.java
 
b/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/cmd/FusekiWebappCmd.java
new file mode 100644
index 0000000000..a3b3b1df91
--- /dev/null
+++ 
b/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/cmd/FusekiWebappCmd.java
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jena.fuseki.cmd;
+
+import org.apache.jena.fuseki.main.cmds.FusekiServerCmd;
+
+/** This duplicates an entry point of Fuseki/webapp (jena-fuseki-fulljar) */
+@Deprecated(forRemoval = true)
+public class FusekiWebappCmd {
+    /** This duplicates an entry point of Fuseki/webapp (jena-fuseki-fulljar) 
*/
+    public static void main(String... args) {
+        System.err.println("WARNING: Legacy entry point - use 
org.apache.jena.fuseki.main.cmds.FusekiServerCmd");
+        FusekiServerCmd.main(args);
+    }
+
+}

Reply via email to