SCRIPT Run java package replacements

This commit is contained in:
PJ Reiniger
2025-11-07 19:55:43 -05:00
committed by Peter Johnson
parent 12823a003d
commit f0a3c64121
1590 changed files with 8469 additions and 8469 deletions

View File

@@ -20,7 +20,7 @@ if(WITH_JAVA)
field_images_jar
SOURCES ${JAVA_SOURCES}
RESOURCES
NAMESPACE "edu/wpi/first/fields" ${JAVA_RESOURCES}
NAMESPACE "org/wpilib/fields" ${JAVA_RESOURCES}
INCLUDE_JARS ${JACKSON_JARS}
OUTPUT_DIR ${WPILIB_BINARY_DIR}/${java_lib_dest}
OUTPUT_NAME fields
@@ -35,7 +35,7 @@ if(WITH_JAVA)
endif()
generate_resources(
src/main/native/resources/edu/wpi/first/fields
src/main/native/resources/org/wpilib/fields
${CMAKE_CURRENT_BINARY_DIR}/generated/main/cpp
FIELDS
fields

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package edu.wpi.first.fields;
package org.wpilib.fields;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.ObjectMapper;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package edu.wpi.first.fields;
package org.wpilib.fields;
public enum Fields {
k2018PowerUp("2018-powerup.json"),
@@ -19,7 +19,7 @@ public enum Fields {
k2024Crescendo("2024-crescendo.json"),
k2025Reefscape("2025-reefscape.json");
public static final String kBaseResourceDir = "/edu/wpi/first/fields/";
public static final String kBaseResourceDir = "/org/wpilib/fields/";
/** Alias to the current game. */
public static final Fields kDefaultField = k2025Reefscape;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package edu.wpi.first.fields;
package org.wpilib.fields;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.params.ParameterizedTest;