No its not. A sar is a JBoss-specific archive. I would doubt you can add sars directly to Eclipse. But you could rename the sar to jar then add it. Of course you need to keep it as a sar for JBoss to use it properly - since there is a ordering priority to what is deployed (sars, before ears, before jars, before wars I think).
Hello, all. Paul is right ... a .sar _is_ a real archive type. I've seen it defined as a service archive. If you open one using Winzip, it basically is a jar file with a different extension.
I did successfully use the sar file by just changing the extension to .jar, but I can't help feeling that this is not an ideal solution. After all, I shouldn't need to undo the original bundling to develop, then deploy back on JBoss using the original sar file ... sounds really backwards.
I guess I can live with it, but I will continue to be uneasy.
hi, all friends, I meet the same questions too. but this time I have to use resin plugin with eclipse. in resin lib directory, there have a C:\resin-3.0.10\lib\LICENSE.isorelax file , you know , C:\resin-3.0.10\lib\LICENSE.isorelax is now a jar format file , so I meet the following error.
Illegal type of archive for required library: 'C:\resin-3.0.10\lib\LICENSE.isorelax' in project myResin
Transbuerg, Is this file used during compilation or just runtime? If it is only used at runtime, you can add the directory to the path (as an external directory) rather than trying to include the specific file.
Illegal type of archive for required library: 'C:\resin-3.0.10\lib\LICENSE.isorelax'
Illegal type of archive for required library: 'C:\resin-3.0.10\lib\LICENSE.retroweaver'
by just taking those two files out of the required jars ("Project->Properties->Java Build Path->Libraries". Remove RESIN_HOME/lib/LICENSE.*") Resin needs to be able to see these files (don't delete them), but eclipse doesn't require them for the resin plugin.
Good luck. [ December 27, 2004: Message edited by: Nick Caggiano ]