logo       

SVN Commit: OMake Build System (Rev. 10727): msg#00056

Subject: SVN Commit: OMake Build System (Rev. 10727)
Added the "OMake filesystem".

It is pretty simple.  When you ask for a file, omake tries
to build it, and if successful, returns a symlink to the file.

Phony targets work too, but the symlink is junk (I should probably
change it so you can at least cat the file).

<jyh@jaoquin 1226>ls -l /tmp/fuse/dir1
total 0
lrwxrwxrwx   1 root  wheel  0 Dec 31  1969 OMakefile@ -> 
/Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile
lrwxrwxrwx   1 root  wheel  0 Dec 31  1969 OMakefile.omc@ -> 
/Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile.omc
<jyh@jaoquin 1227>cat /tmp/fuse/dir1/hello.txt
cat: /tmp/fuse/dir1/hello.txt: No such file or directory
Exit 1
<jyh@jaoquin 1228>ls -l /tmp/fuse/dir1
total 0
lrwxrwxrwx   1 root  wheel  0 Dec 31  1969 OMakefile@ -> 
/Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile
lrwxrwxrwx   1 root  wheel  0 Dec 31  1969 OMakefile.omc@ -> 
/Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile.omc
<jyh@jaoquin 1229>cat /tmp/fuse/dir1/hello.txt
hello
<jyh@jaoquin 1230>ls -l /tmp/fuse/dir1
total 0
lrwxrwxrwx   1 root  wheel  0 Dec 31  1969 OMakefile@ -> 
/Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile
lrwxrwxrwx   1 root  wheel  0 Dec 31  1969 OMakefile.omc@ -> 
/Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile.omc
lrwxrwxrwx   1 root  wheel  0 Dec 31  1969 hello.txt@ -> 
/Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/hello.txt
<jyh@jaoquin 1231>ls /tmp/fuse/clean
/tmp/fuse/clean: No such file or directory.
<jyh@jaoquin 1232>ls -l /tmp/fuse/dir1
total 0
lrwxrwxrwx   1 root  wheel  0 Dec 31  1969 OMakefile@ -> 
/Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile
lrwxrwxrwx   1 root  wheel  0 Dec 31  1969 OMakefile.omc@ -> 
/Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile.omc

----
Changes:
    +100 -20    omake-jumbo-branches/all-features/src/build/omake_build.ml
    +5 -3       omake-jumbo-branches/all-features/src/build/omake_build.mli
    +28 -0      
omake-jumbo-branches/all-features/src/builtin/omake_builtin_target.ml
    +6 -0       omake-jumbo-branches/all-features/src/env/omake_env.ml
    +1 -0       omake-jumbo-branches/all-features/src/env/omake_env.mli
    +6 -0       omake-jumbo-branches/all-features/src/ir/omake_options.ml
    +2 -0       omake-jumbo-branches/all-features/src/ir/omake_options.mli
    +1 -0       omake-jumbo-branches/all-features/src/main/omake_shell.ml
    +100 -20    omake-jumbo-branches/auto/src/build/omake_build.ml
    +5 -3       omake-jumbo-branches/auto/src/build/omake_build.mli
    +28 -0      omake-jumbo-branches/auto/src/builtin/omake_builtin_target.ml
    +6 -0       omake-jumbo-branches/auto/src/env/omake_env.ml
    +1 -0       omake-jumbo-branches/auto/src/env/omake_env.mli
    +6 -0       omake-jumbo-branches/auto/src/ir/omake_options.ml
    +2 -0       omake-jumbo-branches/auto/src/ir/omake_options.mli
    +1 -0       omake-jumbo-branches/auto/src/main/omake_shell.ml
    +100 -20    omake-jumbo-branches/const/src/build/omake_build.ml
    +5 -3       omake-jumbo-branches/const/src/build/omake_build.mli
    +28 -0      omake-jumbo-branches/const/src/builtin/omake_builtin_target.ml
    +6 -0       omake-jumbo-branches/const/src/env/omake_env.ml
    +1 -0       omake-jumbo-branches/const/src/env/omake_env.mli
    +6 -0       omake-jumbo-branches/const/src/ir/omake_options.ml
    +2 -0       omake-jumbo-branches/const/src/ir/omake_options.mli
    +1 -0       omake-jumbo-branches/const/src/main/omake_shell.ml
    +100 -20    omake-jumbo-branches/dll/src/build/omake_build.ml
    +5 -3       omake-jumbo-branches/dll/src/build/omake_build.mli
    +28 -0      omake-jumbo-branches/dll/src/builtin/omake_builtin_target.ml
    +6 -0       omake-jumbo-branches/dll/src/env/omake_env.ml
    +1 -0       omake-jumbo-branches/dll/src/env/omake_env.mli
    +6 -0       omake-jumbo-branches/dll/src/ir/omake_options.ml
    +2 -0       omake-jumbo-branches/dll/src/ir/omake_options.mli
    +1 -0       omake-jumbo-branches/dll/src/main/omake_shell.ml
    +12 -0      omake-jumbo-branches/dll-fuse/lib/Pervasives.om
    +1 -1       omake-jumbo-branches/dll-fuse/lib/parse/C/Dll.om
    +100 -20    omake-jumbo-branches/dll-fuse/src/build/omake_build.ml
    +5 -3       omake-jumbo-branches/dll-fuse/src/build/omake_build.mli
    +52 -0      omake-jumbo-branches/dll-fuse/src/builtin/omake_builtin_file.ml
    +47 -0      
omake-jumbo-branches/dll-fuse/src/builtin/omake_builtin_target.ml
    +13 -0      omake-jumbo-branches/dll-fuse/src/env/omake_env.ml
    +3 -1       omake-jumbo-branches/dll-fuse/src/env/omake_env.mli
    +6 -0       omake-jumbo-branches/dll-fuse/src/ir/omake_options.ml
    +2 -0       omake-jumbo-branches/dll-fuse/src/ir/omake_options.mli
    +12 -12     omake-jumbo-branches/dll-fuse/src/ir/omake_symbol.ml
    +1 -0       omake-jumbo-branches/dll-fuse/src/main/omake_shell.ml
    +257 -113   omake-jumbo-branches/dll-fuse/tests/dll/fuse/fuse_post.om
    +18 -0      omake-jumbo-branches/dll-fuse/tests/dll/fuse/fuse_types.h
    Added       omake-jumbo-branches/dll-fuse/tests/dll/fuse/omakefs/
    Added       omake-jumbo-branches/dll-fuse/tests/dll/fuse/omakefs/OMakefile
    Added       omake-jumbo-branches/dll-fuse/tests/dll/fuse/omakefs/OMakeroot
    Added       omake-jumbo-branches/dll-fuse/tests/dll/fuse/omakefs/dir1/
    Added       
omake-jumbo-branches/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile
    Added       omake-jumbo-branches/dll-fuse/tests/dll/fuse/omakefs/omakefs
    +19 -2      omake-jumbo-branches/dll-fuse/tests/dll/fuse/values.export
    +100 -20    omake-jumbo-branches/dll-syntax/src/build/omake_build.ml
    +5 -3       omake-jumbo-branches/dll-syntax/src/build/omake_build.mli
    +28 -0      
omake-jumbo-branches/dll-syntax/src/builtin/omake_builtin_target.ml
    +6 -0       omake-jumbo-branches/dll-syntax/src/env/omake_env.ml
    +1 -0       omake-jumbo-branches/dll-syntax/src/env/omake_env.mli
    +6 -0       omake-jumbo-branches/dll-syntax/src/ir/omake_options.ml
    +2 -0       omake-jumbo-branches/dll-syntax/src/ir/omake_options.mli
    +1 -0       omake-jumbo-branches/dll-syntax/src/main/omake_shell.ml
    +100 -20    omake-jumbo-branches/dll2/src/build/omake_build.ml
    +5 -3       omake-jumbo-branches/dll2/src/build/omake_build.mli
    +28 -0      omake-jumbo-branches/dll2/src/builtin/omake_builtin_target.ml
    +6 -0       omake-jumbo-branches/dll2/src/env/omake_env.ml
    +1 -0       omake-jumbo-branches/dll2/src/env/omake_env.mli
    +6 -0       omake-jumbo-branches/dll2/src/ir/omake_options.ml
    +2 -0       omake-jumbo-branches/dll2/src/ir/omake_options.mli
    +1 -0       omake-jumbo-branches/dll2/src/main/omake_shell.ml
    +100 -20    omake-jumbo-branches/keyword/src/build/omake_build.ml
    +5 -3       omake-jumbo-branches/keyword/src/build/omake_build.mli
    +28 -0      omake-jumbo-branches/keyword/src/builtin/omake_builtin_target.ml
    +6 -0       omake-jumbo-branches/keyword/src/env/omake_env.ml
    +1 -0       omake-jumbo-branches/keyword/src/env/omake_env.mli
    +6 -0       omake-jumbo-branches/keyword/src/ir/omake_options.ml
    +2 -0       omake-jumbo-branches/keyword/src/ir/omake_options.mli
    +3 -3       omake-jumbo-branches/keyword/src/ir/omake_state.ml
    +3 -3       omake-jumbo-branches/keyword/src/ir/omake_state.mli
    +1 -0       omake-jumbo-branches/keyword/src/main/omake_shell.ml
    +100 -20    omake-jumbo-branches/parse/src/build/omake_build.ml
    +5 -3       omake-jumbo-branches/parse/src/build/omake_build.mli
    +28 -0      omake-jumbo-branches/parse/src/builtin/omake_builtin_target.ml
    +6 -0       omake-jumbo-branches/parse/src/env/omake_env.ml
    +1 -0       omake-jumbo-branches/parse/src/env/omake_env.mli
    +6 -0       omake-jumbo-branches/parse/src/ir/omake_options.ml
    +2 -0       omake-jumbo-branches/parse/src/ir/omake_options.mli
    +1 -0       omake-jumbo-branches/parse/src/main/omake_shell.ml
    +100 -20    omake-jumbo-branches/syntax/src/build/omake_build.ml
    +5 -3       omake-jumbo-branches/syntax/src/build/omake_build.mli
    +28 -0      omake-jumbo-branches/syntax/src/builtin/omake_builtin_target.ml
    +6 -0       omake-jumbo-branches/syntax/src/env/omake_env.ml
    +1 -0       omake-jumbo-branches/syntax/src/env/omake_env.mli
    +6 -0       omake-jumbo-branches/syntax/src/ir/omake_options.ml
    +2 -0       omake-jumbo-branches/syntax/src/ir/omake_options.mli
    +3 -3       omake-jumbo-branches/syntax/src/ir/omake_state.ml
    +3 -3       omake-jumbo-branches/syntax/src/ir/omake_state.mli
    +1 -0       omake-jumbo-branches/syntax/src/main/omake_shell.ml
    +100 -20    omake-jumbo-branches/var2/src/build/omake_build.ml
    +5 -3       omake-jumbo-branches/var2/src/build/omake_build.mli
    +28 -0      omake-jumbo-branches/var2/src/builtin/omake_builtin_target.ml
    +6 -0       omake-jumbo-branches/var2/src/env/omake_env.ml
    +1 -0       omake-jumbo-branches/var2/src/env/omake_env.mli
    +6 -0       omake-jumbo-branches/var2/src/ir/omake_options.ml
    +2 -0       omake-jumbo-branches/var2/src/ir/omake_options.mli
    +3 -3       omake-jumbo-branches/var2/src/ir/omake_state.ml
    +3 -3       omake-jumbo-branches/var2/src/ir/omake_state.mli
    +1 -0       omake-jumbo-branches/var2/src/main/omake_shell.ml
    +100 -20    omake-jumbo-branches/var3/src/build/omake_build.ml
    +5 -3       omake-jumbo-branches/var3/src/build/omake_build.mli
    +28 -0      omake-jumbo-branches/var3/src/builtin/omake_builtin_target.ml
    +6 -0       omake-jumbo-branches/var3/src/env/omake_env.ml
    +1 -0       omake-jumbo-branches/var3/src/env/omake_env.mli
    +6 -0       omake-jumbo-branches/var3/src/ir/omake_options.ml
    +2 -0       omake-jumbo-branches/var3/src/ir/omake_options.mli
    +1 -0       omake-jumbo-branches/var3/src/main/omake_shell.ml
 
A hyperlinked version of this commit is available at
http://svn.metaprl.org/commitlogs/omake/2007-05.html#07/05/13.09:36:03


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe