Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-404

Expose underlying Asset source in the individual API's

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.1.0-alpha-2
    • None
    • None
    • None

      In some cases it is interesting to get the 'real source' of an Asset beyond the InputStream. Where on disk is the FileAsset read from?

      Both for Tooling integration and e.g. the JRebel Arquillian extension it is needed to know where a source came from to do the linking.

      File FileAsset.getFile
      String ClassLoaderAsset.getResource
      Class<?> ClassAsset.getClass

      etc

              rbattenfeld Ralf Battenfeld (Inactive)
              aslak@redhat.com Aslak Knutsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: