You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by GitBox <gi...@apache.org> on 2019/08/27 18:57:18 UTC

[GitHub] [incubator-daffodil] mbeckerle commented on a change in pull request #265: Add blob support

mbeckerle commented on a change in pull request #265: Add blob support
URL: https://github.com/apache/incubator-daffodil/pull/265#discussion_r318244060
 
 

 ##########
 File path: daffodil-lib/src/main/scala/org/apache/daffodil/util/Misc.scala
 ##########
 @@ -121,6 +125,34 @@ object Misc {
     }
   }
 
+  /**
+   * Try a few possibilities to find the model/schema/tdml resources
+   *
+   * IBM's suites have funny model paths in them. We don't have that file structure,
+   * so we look for the schema/model/tdml resources in the working directory, and in the same
+   * directory as the tdml file, and some other variations.
+   */
+  def findTDMLResource(resName: String, relativeTo: Option[URI]): Option[URI] = {
 
 Review comment:
   This looks like it needs renaming, and the comment should be edited. This is in Misc, but looks like it got put here out of the TDML runner. That's fine, just should rename accordingly. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services