Skip to content

Commit

Permalink
Test over Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Sep 29, 2018
1 parent 8290b78 commit b9f9f5f
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ class ResourceUtils {
def static IFile getIFile(EObject obj) { obj.eResource.IFile }

def static IFile getIFile(Resource resource) {
val resourceURI = resource.URI.toString
val platformString = if (resourceURI.startsWith(CLASSPATH)) resourceURI else resource.URI.toPlatformString(true)
// *******************************************************
// val resourceURI = resource.URI.toString
// val platformString = if (resourceURI.startsWith(CLASSPATH)) resourceURI else resource.URI.toPlatformString(true)
// prueba travis
val platformString = resource.URI.toPlatformString(true)
// *******************************************************
if(platformString === null) {
// could be a synthetic file
return null
Expand Down

0 comments on commit b9f9f5f

Please sign in to comment.