entityfs-users Mailing List for EntityFS
Brought to you by:
kargu
You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Karl G. <kar...@en...> - 2011-03-27 10:50:41
|
Hi Jan, Sorry for the late answer. You are probably working on something completely different by now. Anyway. The reason for the FCTFileBacked requirement is that the file system implementation uses Java's JarFile object, which wants a File in its constructor. It would be possible to base the file system implementation on At4J's Zip implementation instead. That only requires that the Zip or Jar file supports the FCRandomAccess capability, i.e. that a RandomAccess object can be opened on it. I think, without having looked into it, that would be possible for most nested Jar or Zip files, since files that are already compressed will probably be stored as STORED (i.e. not compressed once more) in a Jar or Zip file. However, that would require the rewriting of the current Zip and Jar file system to use At4J instead. Regards /Karl |
From: Finis, J. <jan...@ca...> - 2010-09-27 09:02:53
|
Hello, I am using EntityFS to build a jar/war analyzer which analyzes the files in jar/war files. With entityFS I can just use the JAR File like a normal file system. Great stuff, thanks for that! However, I get this exception when trying to create a file system from a jar file in another jar file (since jars often contain other jars, this recursive jar analysis is necessary): java.lang.IllegalArgumentException: The file implementation must support the FCTFileBacked capability at org.entityfs.jar.JarFileSystemBuilder.setJarFile(JarFileSystemBuilder.java:106) It seems that it is just not allowed to create a file system from a jar in a jar (since it is not file backed). That is a pity :(. Am I doing something wrong, or is there a workaround? Or do I really have to unpack the outer jar to analyze the inner one (this would take away the elegance that entityFS offered). Thanks for your help. Best Regards Jan Finis </PRE><p style="font-family:arial;color:grey" style="font-size:13px">This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.</p><PRE> |