Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/CX_R24.05_batch_multi_version_su…
Browse files Browse the repository at this point in the history
…pport' into CX_R24.05_part_as_planned_multi_version_support
  • Loading branch information
ChetanT-System committed Apr 30, 2024
2 parents 0d3dd63 + f2a4af9 commit e1f5aec
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void init() {

String resource = "batch-v3.0.0.json";
// this is the path within the jar file
InputStream input = this.getClass().getResourceAsStream("/resources/" + resource);
InputStream input = BatchV300.class.getResourceAsStream("/resources/" + resource);
if (input == null) {
// this is how we load file within editor (eg eclipse)
input = this.getClass().getClassLoader().getResourceAsStream(resource);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void init() {

String resource = "part-type-information-v1.0.0.json";
// this is the path within the jar file
InputStream input = this.getClass().getResourceAsStream("/resources/" + resource);
InputStream input = PartTypeInformationV100.class.getResourceAsStream("/resources/" + resource);
if (input == null) {
// this is how we load file within editor (eg eclipse)
input = this.getClass().getClassLoader().getResourceAsStream(resource);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void init() {

String resource = "serial-part-v3.0.0.json";
// this is the path within the jar file
InputStream input = this.getClass().getResourceAsStream("/resources/" + resource);
InputStream input = SerialPartV300.class.getResourceAsStream("/resources/" + resource);
if (input == null) {
// this is how we load file within editor (eg eclipse)
input = this.getClass().getClassLoader().getResourceAsStream(resource);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public void init() {

String resource = "single-level-bom-as-built-v1.0.0.json";
// this is the path within the jar file
InputStream input = this.getClass().getResourceAsStream("/resources/" + resource);
//InputStream input = this.getClass().getResourceAsStream("/resources/" + resource);
InputStream input = SingleLevelBomAsBuiltV100.class.getResourceAsStream("/resources/" + resource);
if (input == null) {
// this is how we load file within editor (eg eclipse)
input = this.getClass().getClassLoader().getResourceAsStream(resource);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void init() {

String resource = "single-level-bom-as-built-v3.0.0.json";
// this is the path within the jar file
InputStream input = this.getClass().getResourceAsStream("/resources/" + resource);
InputStream input = SingleLevelBomAsBuiltV300.class.getResourceAsStream("/resources/" + resource);
if (input == null) {
// this is how we load file within editor (eg eclipse)
input = this.getClass().getClassLoader().getResourceAsStream(resource);
Expand Down

0 comments on commit e1f5aec

Please sign in to comment.