[Mono-devel-list] implicit bootstrap from a zip/gz file?

A Rafael D Teixeira rafaelteixeirabr at hotmail.com
Mon May 10 13:44:15 EDT 2004

>From: Rafael Ferreira <Rafael.Ferreira at apollogrp.edu>
>Hey everyone,

Hi Rafael, and list

>Has anyone thought about adding an implicit tar "de-archive" to mono.exe to
>allow things like:
>mono -tar blah.tar.Myclass

I've thought a bit about it, but didn't found much need for such a thing 
generally speaking. But as I had the need to teach about Apache Tomcat 
WebApps (.war files), now I surely apreciate the fact of being able to 
deliver a 'canned' package and just drop it in the right directory for 

>So the main() method in myclass gets bootstrapped? YES, this is the same as
>java jar files...

Common .jar files that are just packaged classes and resources, doesn't add 
much to what we have in the CLI assemblies format. Also lots of meta-data 
can be added to them through .NET Attributes, that do part of what the 
war/ear strutured archives formats achieve.

>I understand that you can add resource files to a dll/exe but I'm not sure
>it that allows for a single dll to contain everything an application needs.
>This would be extra nice for web applications where you can bundle up all
>aspx/dll/png files.

Well, in the upcoming ASP.NET 2.0, they are inserting in the pipeline an 
resource extractor so that things like bitmaps can reside in the assembly 
and will be automatically extracted with the right url(for the benefit of 
img tags or image controls, for example). And yes pages can get precompiled 
and have the source omitted from distribution, also. But I don't see the 
problem in having a two-stage install-step (copy tar.gz to parent directory 
and unpack), anyway in addition one will need to configure the virtual 
directory/application information in the web server...

This whole "drop packed-file and run" experience in truth seems more 
appropriate to reside in the web server/web engine/application server as it 
happens with Tomcat/JBoss...

>  - Rafael

Best regards,

Rafael "Monoman" Teixeira
Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/
MonoBrasil Founding Member - Membro Fundador do MonoBrasil 
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/

MSN Messenger: instale grátis e converse com seus amigos. 

More information about the Mono-devel-list mailing list