[Swift-user] single structs for ext mapper.
Allan Espinosa
aespinosa at cs.uchicago.edu
Fri Jul 10 14:29:11 CDT 2009
Hi
How do you use ext mapper for single structs? I used a $.xxx but swift
does not recognize that.
I have the workflow below based on 0755-ext-mapper.swift:
type messagefile;
type cols {
messagefile l;
messagefile r;
}
(messagefile t) write(string s) {
app {
echo s stdout=@filename(t);
}
}
cols outfile <ext; exec="./0755-ext-mapper.sh">;
outfile.l = write("slot 0");
outfile.r = write("slot 1");
mapper file 0755-ext-mapper.sh:
echo "$.l 0755-ext-mapper.AAA.out"
echo "$.r 0755-ext-mapper.0.3.2.1.out"
session:
[aespinosa at communicado struct_ext]$ swift 0755-ext-mapper.swift
Swift svn swift-r2998 cog-r2410
RunID: 20090710-1424-49r93eqg
Progress:
Execution failed:
java.lang.IllegalStateException: mapper.existing() returned a
path .$.l that it cannot subsequently map
thanks,
-Allan
--
Allan M. Espinosa <http://allan.88-mph.net/blog>
PhD student, Computer Science
University of Chicago <http://people.cs.uchicago.edu/~aespinosa>
More information about the Swift-user
mailing list