Spot-on: the manifest file is where Java puts metadata regarding the .jar file. The equivalent would be an assembly-level custom attribute.
Ted Neward Author, Presenter, Consultant Java, .NET, XML services http://blogs.tedneward.com > -----Original Message----- > From: Discussion of advanced .NET topics. [mailto:ADVANCED- > [EMAIL PROTECTED] On Behalf Of J. Merrill > Sent: Tuesday, November 29, 2005 6:27 PM > To: [email protected] > Subject: Re: [ADVANCED-DOTNET] What is the .NET equivalent of Java's > MANIFEST.MF? > > Not knowing anything about META.INF or MANIFEST.MF, or much about Java, > it's my impression that .Net "attributes" are the place where some such > things would be stored. Not necessarily the ones that you show in your > example, however. > > Info about the OS and the processor are not needed (as .Net code is always > in MSIL format); in theory (not sure about practice) a .Net app built on > 32-bit Windows (XP for example) should run unchanged under Mono on 64-bit > Linux. > > The "full name" of an assembly includes info about language; there's a set > of conventions for delivering support for other languages in "satellite > assemblies". > > Attributes provide a class-based mechanism that allows you to tag various > code elements (assemblies, methods, parameters, ...) with arbitrary info > that's available at runtime. > > At 08:53 PM 11/29/2005, Kunle Odutola wrote > >I'm trying to understand where the information that is stored in the > >META.INF directory of .jar files including MANIFEST.MF etc is stored for > >.NET assemblies. > > > >The OSGi spec defines additional/custom info that is stored in the > >MANIFEST.MF file. For example: > > > > Bundle-NativeCode:nativecodewin32.dll; > > delta.dll; > > osname=win32; > > processor=x86; > > language=en, > > nativecodegtk.so; > > osname=linux; > > processor=x86; > > language=en; > > selection-filter= "(org.osgi.framework.windowing.system = > >gtk)", nativecodeqt.so; > > osname=linux; > > processor=x86; > > language=en; > > selection-filter = "(org.osgi.framework.windowing.system > = > >qt)" > > > >Does the .NET environment have a place for such custom information? > > > >Kunle > > > J. Merrill / Analytical Software Corp > > =================================== > This list is hosted by DevelopMentor. http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
